Bonjour,
I did compile LyX (1.0.2) on my PC Linux, and on SGI
5.3
without any problems but I cannot manage to get it
compiled on SGI 6.2. It seems to be a 32 bit library
problem but i am not an expert. Everything goes fine
until the last linking of all the objects (*.o) to
create
the "lyx" binary. Here I get warnings saying that my
Xpm
functions (like XpmWriteFileFromImage) "preempt" (?)
the
definitions in libforms. After 50 warnings it says to
give it up but create the lyx binary anyway. When i
run
lyx it cannot map the library libforms.so.0.88 (which
is in my LD_LIBRARY_PATH and was detected by the
configure program) and says that it is running OLD 32
bit binary but finding NEW 32 bit library, and it
stops.
Before compiling Lyx I had to get, of course, the Xpm
library : libXpm-3.4k (freeware.sgi.com) and the
Xforms
library version 0.88 (sgi 6.2 binaries). It seems
that
the libforms library is compiled in new 32 bit
format.
I had the idea to compile one more time LyX setting
the
CXXFLAGS to -O0 and -n32 (before configure) so
everything is
compiled in new 32 bit, but the result at the end is
the
same (..."preempt" definition in libforms).
I have to mention here that the CXXFLAGS are not
taken
into account in the last linking (BUG ?) : CC -o lyx
main.o ...,
so i had to add it by hand : CC -O0 -n32 -o lyx
main.o ...
If you don't do this, it says that it cannot link new
32 bit objects without the -n32 option.
So, I would need some help. Does anybody get Lyx
compiled
with SGI 6.2 ? How ? Do you have to use special
flags?
Thank you and many thanks to LyX team for this great
program :)
___________________________________________________
Message envoye depuis http://www.ifrance.com ou
3615 IFRANCE : Hebergement gratuit - Emails gratuits - Internet sans abonnement