Dear "Inventors",
I have a loads of problems compiling OpenInventor
(inventor-2.1.5-9.src.tar.gz) on my Redhat 7.2 system. It is
a non-standard system in that sense that my gcc is 2.95.3
and I have Mesa-4.0.3 in /usr/local/ compiled from source
tarball. Since I can not find similar errors in the mailing
list I am confident I am screwing up something.
i) to be root for compilation
Though there is nothing but lazyness to prevent me to make a
proper automake/autoconf setup, I found it strange.
ii) no yacc -> that's OK with bison and with
$ cd /home/mama/inst/inventor/lib/database/src/so/engines
$ cp SoCalcParse.tab.c y.tab.c
and make install can go further until
iii) no -ldl
~/inst/inventor/doc/man/ivman $ /usr/bin/g++ -L//usr/lib
-L/usr/X11R6/lib Main.o ClassDef.o Man.o Reader.o Writer.o
BuildIssues.o -lInventor -o ivman
//usr/lib/libInventor.so: undefined reference to `dlopen'
//usr/lib/libInventor.so: undefined reference to `dlsym'
collect2: ld returned 1 exit status
it can be fixed with adding -ldl but the result is:
iv)
$ ./ivman
./ivman: error while loading shared libraries: unexpected
PLT reloc type 0x00
that is beyond my capabilities.
Can you give a hint what is the correct way to compile OI?
Using the SGI-provided rpms I can get only segfault even for
the simplest source. Debugging shows that it assigns null
pointer to a created object ready at the first addChild()
Thanks:
Szilva
|