On Thu, 16 May 2002, Jonathan Lim wrote:
> On Thu May 9 12:44:06 2002, Gerd.Sussner@xxxxxxxxxxxxxxxxxxxxxxxxxx wrote:
> >
> > additionally, i added support for installing inventor different to
> > $IVROOT/usr/[bin|lib|man|share|demos], i.e. you can install inventor
> > now in $IVROOT/$PREFIX/[bin|lib|man|share|demos]
> > just change the PREFIX variable in make/ivcommondefs.
> > note, that only those files are patched which are actually installed,
> > e.g. apps/demos, but the mentor-examples are not patched so far.
>
> I don't see why this change is necessary. Assume IVROOT is
> /usr/people/somebody/workarea. The source files will be in $IVROOT/inventor.
> The results of the build will be in $IVROOT/usr. Once everything is done, you
> can simply cd to $IVROOT/usr, tar up everything there, and extract the archive
> anywhere else you please.
>
well, if you set IVROOT to /usr/local, as it should be if the package is
installed locally, the path to the binaries|libraries|man|share|demos
would be /usr/local/usr/[bin|lib|man|share|demos]. this means every user
who wants to use it must adapt its PATH, LD_LIBRARY_PATH and MAN_PATH.
additionally, all the code which uses materials, textures or fonts
look up first in /usr/share/data/[materials|textures|help]. that's the
reason why i introduces the variable PREFIX (influenced by autoconf).
for me, IVROOT should be the root directory of the system, i.e. usually /
it would only be necessary to change it if you compile and install it
on a partition which is mounted via NFS by other clients, e.g.
/export/usr/local -> /usr/local.
the patch allows an administrator to install open inventor in a place
where all users instantly participate (/usr/local/bin and /usr/local/lib
are usually already in paths). additionally the patch do not change the
current behaviour if you set PREFIX to /usr.
gerd
|