Hi
In case anyone is interested, this recipe produces a working Lyx on an
IRIX 6.5 box :-
* This is specific to IRIX6.5 with gcc 3.0.4 installed (from SGIs
freeware collection).
* If you have the SGI freeware installation of QT installed, remove it
(or at least make it invisible during the build) as you really want
to use a gcc-built QT library.
* Lyx was built with the QT front end. This seems to have required the
threaded version (qt-mt) although it seems like the configure script
might be looking for qt and not finding it. Didn't look too closely.
qt-2 was used ... qt-3 produces a really broken UI.
* The Lyx source was checked out on the 17th Dec 2002.
* Edit autogen.sh and set GNUM4 variable to "/usr/freeware/bin/m4".
* After running autoconf.sh, the configure script had to be edited
to add '-lqt-mt' to the end of the "LIBS" line which links X11.
Otherwise tried to load the library before the options for
building the source code.
* Configure command :-
ac_cv_prog_M4=/usr/freeware/bin/m4 \
CFLAGS="-mips4 -O2 -L/opt/lib32" \
CXXFLAGS="-mips4 -O2 -L/opt/lib32" \
./configure --prefix=/opt --with-qt-dir=/opt/qt \
--with-frontend=qt --disable-nls
(--disable-nls to get around problems building included gettext ...
didn't look too closely)
-L/opt/lib32 - Added to pick up N32 libs rather than O32 libs
-L/opt/qt/lib - Added to fix horrible kludge of editing
configure ... without this configure thinks
memmove (and lots of other stuff) is missing.
* Edit src/config.h and define HAVE_MEMMOVE, HAVE_STRCHR, HAVE_MKSTEMP,
or the compile fails because they aren't defined.
* Edit src/frontends/qt2/QSpellchecker.C and add :-
using std::endl;
to just after the #includes
* gmake to build
--
peace, love, and a hug