I have just installed Slackware 7.0, and am attempting to compile LyX 1.1.6. Iam not succeding. Could anyone please help? The LyX installation instructions say that: "As of LyX version 1.1.5, you will need to have Xforms library and header version 0.88 or 0.89." and "In addition, you must have libXpm version 4.7 (or newer; 4.8 rumoured to work)." These do not come with Slackware 7.0 so I have installed them, so my machine has this on it: /usr/X11R6/include/X11/xpm.h /usr/i386-slackware-linux-gnulibc1/lib/libXpm.so.4 -> libXpm.so.4.11 /usr/i386-slackware-linux-gnulibc1/lib/libXpm.so.4.11 /usr/X11R6/lib/libXpm.so.4 /usr/X11R6/lib/libXpm.so.4.11 and /usr/lib/libform.a /usr/lib/libform.so -> libform.so.5 /usr/lib/libform.so.5 -> libform.so.5.0 /usr/lib/libform.so.5.0 /usr/lib/libform_g.a /usr/lib/libform_p.a /usr/X11R6/lib/libforms.so.0.88 However when I run ./configure in the LyX sourcedirectory the final message is this: Configuration: Source code location: . C++ Compiler: g++ C++ Compiler flags: -g -O2 -fno-rtti -fno-exceptions C Compiler: gcc C Compiler flags: -g -O2 LyX binary dir: /opt/kde/bin LyX files dir: /opt/kde/share/lyx Special flags: frontend-xforms included-libsigc **** The following problems have been detected by configure. **** Please check the messages below before running 'make'. **** (see the section 'Problems' in the INSTALL file) ** Cannot find libXpm. Please check that the Xpm library is correctly installed on your system. ** Cannot find libforms or libxforms. Please check that the xforms library is correctly installed on your system. ** Cannot find forms.h. Please check that the forms library is correctly installed on your system. I have looked in info about the configure script and looked at the config.log file that was produced (see the attachment) but, not being very experienced in this level of programming remain unenlightened as to what I should do.
The following from config.log seemed most likley to be related to my problem: ############################################################################### int main() { XpmCreateBufferFromImage() ; return 0; } configure:8054: checking for X11/xpm.h configure:8064: g++ -E -isystem /usr/X11R6/include conftest.C >/dev/null 2>conftest.out configure:8136: checking xpm header version configure:8179: checking for fl_initialize in -lforms configure:8201: g++ -o conftest -g -O2 -fno-rtti -fno-exceptions -isystem /usr/X11R6/include conftest.C -lforms -lSM -lICE -liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5 /usr/i386-slackware-linux/bin/ld: cannot open -lforms: No such file or directory collect2: ld returned 1 exit status configure: failed program was: #line 8187 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fl_initialize(); and int main() { fl_initialize() ; return 0; } configure:8220: checking for fl_initialize in -lxforms configure:8242: g++ -o conftest -g -O2 -fno-rtti -fno-exceptions -isystem /usr/X11R6/include conftest.C -lxforms -lSM -lICE -liberty -lc -lm -L/usr/X11R6/lib -lX11 1>&5 /usr/i386-slackware-linux/bin/ld: cannot open -lxforms: No such file or directory collect2: ld returned 1 exit status configure: failed program was: #line 8228 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ #ifdef __cplusplus extern "C" #endif /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char fl_initialize();