Angus Leeming wrote: > > Now I'm using the xforms image loading routines that come with "modern" > xforms. I seem to remember that you are using a BSD box with xforms 0.88? In > which case, you're using the crappy loading routines I wrote myself. > > Nonetheless, why don't you upgrade your xforms library to the new open source > version that came out the other day?
Tried with "modern" xforms - struggle, struggle, struggle. Got stuck during the compilation of LyX-CVS! The output of "./configure --prefix=/opt" is: -------------------------------------------------------- [...] checking for XpmCreateBufferFromImage in -lXpm... yes checking for X11/xpm.h... yes checking xpm header version... 4.11 checking for fl_initialize in -lforms... no checking for fl_initialize in -lxforms... yes checking for X11/forms.h... yes checking xforms header version... 0.9999.0 [...] Configuration Host type: i386-unknown-freebsd4.4 Special build flags: warnings assertions included-libsigc xforms-image-loader C Compiler: gcc C Compiler flags: -I/opt/include C++ Compiler: g++ (2.95.3) C++ Compiler flags: -I/opt/include -W -Wall Linker flags: -L/opt/lib Frontend: xforms libXpm version: 4.11 libforms version: 0.9999.0 LyX binary dir: /opt/bin LyX files dir: /opt/share/lyx === The following minor problems have been detected by configure. === Please check the messages below before running 'make'. === (see the section 'Problems' in the INSTALL file) == Version 0.9999.0 of xforms might not be compatible with LyX, since it is newer than 0.89. You might have slight problems with it. -------------------------------------------------------- When I then do the usual "gmake", the error appears already after a few output lines: -------------------------------------------------------- $ gmake Making all in intl gmake[1]: Entering directory `/home/lahaye/SOFTWARE/lyx-devel/intl' gcc -c -DLOCALEDIR=\"/opt/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/share/locale\" -DLIBDIR=\"/opt/lib\" -DHAVE_CONFIG_H -I../src -I. -I../intl -I/opt/include -isystem /usr/X11R6/include -I/opt/include intl-compat.c gcc -c -DLOCALEDIR=\"/opt/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/share/locale\" -DLIBDIR=\"/opt/lib\" -DHAVE_CONFIG_H -I../src -I. -I../intl -I/opt/include -isystem /usr/X11R6/include -I/opt/include bindtextdom.c gcc -c -DLOCALEDIR=\"/opt/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/share/locale\" -DLIBDIR=\"/opt/lib\" -DHAVE_CONFIG_H -I../src -I. -I../intl -I/opt/include -isystem /usr/X11R6/include -I/opt/include dcgettext.c gcc -c -DLOCALEDIR=\"/opt/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/share/locale\" -DLIBDIR=\"/opt/lib\" -DHAVE_CONFIG_H -I../src -I. -I../intl -I/opt/include -isystem /usr/X11R6/include -I/opt/include dgettext.c gcc -c -DLOCALEDIR=\"/opt/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/share/locale\" -DLIBDIR=\"/opt/lib\" -DHAVE_CONFIG_H -I../src -I. -I../intl -I/opt/include -isystem /usr/X11R6/include -I/opt/include gettext.c gcc -c -DLOCALEDIR=\"/opt/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/share/locale\" -DLIBDIR=\"/opt/lib\" -DHAVE_CONFIG_H -I../src -I. -I../intl -I/opt/include -isystem /usr/X11R6/include -I/opt/include finddomain.c gcc -c -DLOCALEDIR=\"/opt/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/share/locale\" -DLIBDIR=\"/opt/lib\" -DHAVE_CONFIG_H -I../src -I. -I../intl -I/opt/include -isystem /usr/X11R6/include -I/opt/include loadmsgcat.c loadmsgcat.c: In function `_nl_load_domain': loadmsgcat.c:516: warning: assignment discards qualifiers from pointer target type gcc -c -DLOCALEDIR=\"/opt/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/share/locale\" -DLIBDIR=\"/opt/lib\" -DHAVE_CONFIG_H -I../src -I. -I../intl -I/opt/include -isystem /usr/X11R6/include -I/opt/include localealias.c gcc -c -DLOCALEDIR=\"/opt/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/share/locale\" -DLIBDIR=\"/opt/lib\" -DHAVE_CONFIG_H -I../src -I. -I../intl -I/opt/include -isystem /usr/X11R6/include -I/opt/include textdomain.c gcc -c -DLOCALEDIR=\"/opt/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/share/locale\" -DLIBDIR=\"/opt/lib\" -DHAVE_CONFIG_H -I../src -I. -I../intl -I/opt/include -isystem /usr/X11R6/include -I/opt/include l10nflist.c gcc -c -DLOCALEDIR=\"/opt/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/share/locale\" -DLIBDIR=\"/opt/lib\" -DHAVE_CONFIG_H -I../src -I. -I../intl -I/opt/include -isystem /usr/X11R6/include -I/opt/include explodename.c gcc -c -DLOCALEDIR=\"/opt/share/locale\" -DLOCALE_ALIAS_PATH=\"/opt/share/locale\" -DLIBDIR=\"/opt/lib\" -DHAVE_CONFIG_H -I../src -I. -I../intl -I/opt/include -isystem /usr/X11R6/include -I/opt/include dcigettext.c dcigettext.c: In function `plural_lookup': dcigettext.c:993: called object is not a function gmake[1]: *** [dcigettext.o] Error 1 gmake[1]: Leaving directory `/home/lahaye/SOFTWARE/lyx-devel/intl' gmake: *** [all-recursive] Error 1 -------------------------------------------------------- Is there a conflict between modern Xforms and my gettext ? I use gettext version 0.10.35. Switching back to Xforms 0.88.1 solves the problem :(. Any ideas what's going wrong here? Regards, Rob.