Hi, The attached file contains excerpts of the LessTif build process. We think a libtool bug may be the cause of our build problems. You'll see in the "make install" command that libtool wants to relink libMrm.la. In the next command I've added a "-n" flag to that libtool invocation so we can see which gcc command is given. The gcc command itself fails because it doesn't get the right library (../Xm-2.1/libXm.la which is not installed yet so this should become /usr/src/packages/BUILD/lesstif-0.92.32/lib/Xm-2.1/.libs/libXm.so.2.0.1) passed to it. I've attached libXm.la as well. Please help, this currently prevents us from doing our release process in a decent way. (I've looked inside the libtool sources but it appears to take a LOT of learning time before I can start to debug this.) Danny -- Danny Backx ([EMAIL PROTECTED] [EMAIL PROTECTED]) Home page : http://users.skynet.be/danny.backx Projects: LessTif (http://www.lesstif.org) Oleo (http://www.gnu.org/software/oleo/oleo.html)
dell: {193} pwd /usr/src/packages/BUILD/lesstif-0.92.32/lib/Mrm-2.1 dell: {194} make install DESTDIR=/tmp/lesstif_0.92.32-root gmake[1]: Entering directory `/usr/src/packages/BUILD/lesstif-0.92.32/lib/Mrm-2.1' /bin/sh ../../mkinstalldirs /tmp/lesstif_0.92.32-root/usr/X11R6/LessTif/Motif2.1/lib /bin/sh ../../libtool --mode=install /usr/bin/ginstall -c libMrm.la /tmp/lesstif_0.92.32-root/usr/X11R6/LessTif/Motif2.1/lib/libMrm.la libtool: install: warning: relinking `libMrm.la' cd /usr/src/packages/BUILD/lesstif-0.92.32/lib/Mrm-2.1; /bin/sh ../../libtool --mode=relink gcc -O2 -m486 -fno-strength-reduce -L/usr/local/lib/mysql -o libMrm.la -rpath /usr/X11R6/LessTif/Motif2.1/lib -version-info 2:1 Mrm.lo lookup.lo misc.lo ../Xm-2.1/libXm.la mv: cannot stat `libMrm.so.2.0.1': No such file or directory libtool: install: error: relink `libMrm.la' with the above command before installing it libtool: install: warning: remember to run `libtool --finish /usr/X11R6/LessTif/Motif2.1/lib' gmake install-data-hook gmake[2]: Entering directory `/usr/src/packages/BUILD/lesstif-0.92.32/lib/Mrm-2.1' rm -f /tmp/lesstif_0.92.32-root/usr/X11R6/lib/libMrm.so.2* (cd /tmp/lesstif_0.92.32-root/usr/X11R6/lib && ln -s ../LessTif/Motif2.1/lib/libMrm.so.2* .) rm -f /tmp/lesstif_0.92.32-root/usr/X11R6/lib/libMrm.la (cd /tmp/lesstif_0.92.32-root/usr/X11R6/lib && ln -s ../LessTif/Motif2.1/lib/libMrm.la .) rm -f /tmp/lesstif_0.92.32-root/usr/X11R6/lib/libMrm.so (cd /tmp/lesstif_0.92.32-root/usr/X11R6/lib && ln -s ../LessTif/Motif2.1/lib/libMrm.so .) gmake[2]: Leaving directory `/usr/src/packages/BUILD/lesstif-0.92.32/lib/Mrm-2.1' gmake[1]: Leaving directory `/usr/src/packages/BUILD/lesstif-0.92.32/lib/Mrm-2.1' dell: {195} /bin/sh ../../libtool --mode=relink -n gcc -O2 -m486 -fno-strength-reduce -L/usr/local/lib/mysql -o libMrm.la -rpath /usr/X11R6/LessTif/Motif2.1/lib -version-info 2:1 Mrm.lo lookup.lo misc.lo ../Xm-2.1/libXm.la gcc -shared Mrm.lo lookup.lo misc.lo -Wl,--rpath -Wl,/usr/X11R6/LessTif/Motif2.1/lib -L/usr/X11R6/lib -L/usr/local/lib/mysql -L/usr/X11R6/LessTif/Motif2.1/lib -lXm -Wl,-soname -Wl,libMrm.so.2 -o .libs/libMrm.so.2.0.1 dell: {196} gcc -shared Mrm.lo lookup.lo misc.lo -Wl,--rpath -Wl,/usr/X11R6/LessTif/Motif2.1/lib -L/usr/X11R6/lib -L/usr/local/lib/mysql -L/usr/X11R6/LessTif/Motif2.1/lib -lXm -Wl,-soname -Wl,libMrm.so.2 -o .libs/libMrm.so.2.0.1 /usr/i486-suse-linux/bin/ld: cannot find -lXm collect2: ld returned 1 exit status
# libXm.la - a libtool library file # Generated by ltmain.sh - GNU libtool 1.4 (1.920 2001/04/24 23:26:18) # # Please DO NOT delete this file! # It is necessary for linking the library. # The name that we can dlopen(3). dlname='libXm.so.2' # Names of this library. library_names='libXm.so.2.0.1 libXm.so.2 libXm.so' # The name of the static archive. old_library='' # Libraries that this one depends upon. dependency_libs=' -L/usr/local/lib/mysql -L/usr/X11R6/lib -lXt -lSM -lICE -lXp -lXext -lX11' # Version information for libXm. current=2 age=0 revision=1 # Is this an already installed library? installed=no # Files to dlopen/dlpreopen dlopen='' dlpreopen='' # Directory that this library needs to be installed in: libdir='/usr/X11R6/LessTif/Motif2.1/lib'