I got it compiled ! (see below for details)
But now I have another problem when running LyX :
it's not updating dvi or postscript. Example: I open
a document, view it for the first time in dvi(or ps),
it's OK; but if i make modifications, then update dvi
(or ps) then view it again, nothing changes since
the first time !
I checked in /tmp what was going on: each time i
update dvi or ps, the doc.tex is updated but not the
dvi nor ps. What is the problem ?
===================================================
This is what I had to do to compile LyX 1.0.2 on my
SGI 6.2 : (Thanks for people who helped me)
My compiler is SGI C++ 7.1 :
* set CXXFLAGS, CFLAGS, and LDFLAGS to -n32.
LDFLAGS is necessary to my compiler for the last
compilation step when linking all the objects.
* as my Xpm library is auto-installed in an unusual
place /usr/freeware, I had to configure with the
extra-lib and extra-inc options so it could find
it.
* It took me some time to understand that my
compiler needs the libraries in /usr/lib32 when
you use -n32, but it isn't able to find them by
itself ! (configure fails when checking for the
forms and xpm libraries). So i added /usr/lib32 to
the path in with-extra-lib when configuring .
* Finally, you can suppress the warnings at the last
linking step, saying that the definitions of the
Xpm functions in libforms preempt those in libXpm,
if you remove -lXpm from src/Makefile after
"configure" step but before "make". But it seems
that it makes no difference when running LyX.
* set LD_LIBRARY_PATH to /usr/freeware/lib32 where
libXpm lives, because it is not checked at the
run time by the system (default behavior), or
use the -rpath /usr/freeware/lib32 during the
linking step.
* That's all.
Many problems here seem to come from the compiler.
I suppose it should be easier with gcc, as I never
had problems compiling LyX on SGI 5.3 with gcc 2.8.
___________________________________________________
Message envoye depuis http://www.ifrance.com ou
3615 IFRANCE : Hebergement gratuit - Emails gratuits - Internet sans abonnement