Hi,
Couldn't find a pre-compiled lyx 1.0 for SunOS 5.7 so decided to roll my
own. Since we had no xforms or libxpm I had to compile and install these
packages as required in my $HOME area.
When compiling lyx, I now had to tell configure where to find the xpm and
xforms libs and headers, which I did in the following way:
configure \
--with-extra-lib=$HOME/xforms/FORMS \
--with-extra-inc=$HOME/xforms/FORMS \
--with-extra-lib=$HOME/xpm/lib \
--with-extra-inc=$HOME/xpm/X11
But this did not work! Configure could not find the xforms stuff and when
inspecting the Makefiles it transpired that it had only passed the second
set of --with-extra* options into them.
Finally I solved the problem by using this configure command:
configure \
--with-extra-lib=$HOME/xpm/lib \
--with-extra-inc=$HOME/xpm/X11 \
--with-extra-prefix=$HOME/xforms
(this requires moving the libraries in xforms/FORMS into xforms/lib and
the includes into xforms/include)
Now configure was happily finding xpm and forms stuff, but the compile still
did not work. The compile had problems in the 'po' directory (see below)
and so I had to add --disable-nls to configure. After this things worked
and lyx v1.0.1 is running. Phew.
Regards,
jay
for dir in intl po src lib ; do \
(cd $dir ; make all) || exit 1; \
done
/bin/msgfmt -o pt.mo pt.po
Warning, Syntax at line number: 923, Missing ", ignored
Warning, Syntax at line number: 923, Missing " at EOL, ignored
Error, No space after directive at line number 3984.
Exiting...
*** Error code 2
make: Fatal error: Command failed for target pt.mo'