Hello,
I'm trying to do a "rpm --rebuild lesstif-0.93.18-1.src.rpm" on a redhat 6.2 machine (all available patches up 'til about 18 hours ago have been applied:) Bashful_33>rpm -q binutils binutils-2.11.90.0.8-5 Bashful_33>rpm -q egcs egcs-1.1.2-30 Bashful_33>rpm -q ldconfig ldconfig-1.9.5-16 Bashful_33>rpm -q rpm rpm-4.0.2-6x The %install is failing at the $strip stage due to a missing library: relevent diagnostics produced from the rebuild stage are here: [.... much cruft deleted...] >Making install in Xm >make[2]: Entering directory `/usr/src/redhat/BUILD/lesstif-0.93.18/lib/Xm' >make[3]: Entering directory `/usr/src/redhat/BUILD/lesstif-0.93.18/lib/Xm' >/bin/sh ../../mkinstalldirs /tmp/lesstif_0.93.18-root/usr/X11R6/lib > /bin/sh ../../libtool --mode=install /usr/bin/install -c libXm.la >/tmp/lesstif_0.93.18-root/usr/X11R6/lib/libXm.la >/usr/bin/install -c .libs/libXm.so.1.0.2 >/tmp/lesstif_0.93.18-root/usr/X11R6/lib/libXm.so.1.0.2 >(cd /tmp/lesstif_0.93.18-root/usr/X11R6/lib && rm -f libXm.so.1 && ln -s >libXm.so.1.0.2 libXm.so.1) >(cd /tmp/lesstif_0.93.18-root/usr/X11R6/lib && rm -f libXm.so && ln -s libXm.so.1.0.2 >libXm.so) >/usr/bin/install -c .libs/libXm.lai /tmp/lesstif_0.93.18-root/usr/X11R6/lib/libXm.la Xm is the first library built, and this works well up until >libtool: install: warning: remember to run `libtool --finish /usr/X11R6/lib' which so far isn't really an error message... The first problem shows up with: >Making install in Mrm-2.1 >make[2]: Entering directory `/usr/src/redhat/BUILD/lesstif-0.93.18/lib/Mrm-2.1' >make[3]: Entering directory `/usr/src/redhat/BUILD/lesstif-0.93.18/lib/Mrm-2.1' >/bin/sh ../../mkinstalldirs /tmp/lesstif_0.93.18-root/usr/X11R6/lib > /bin/sh ../../libtool --mode=install /usr/bin/install -c libMrm.la >/tmp/lesstif_0.93.18-root/usr/X11R6/lib/libMrm.la >libtool: install: warning: relinking `libMrm.la' >cd /usr/src/redhat/BUILD/lesstif-0.93.18/lib/Mrm-2.1; /bin/sh ../../libtool >--mode=relink gcc -O2 -march=i386 -mcpu=i686 -o libMrm.la -rpath /usr/X11R6/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/lib -L/usr/X11/lib >-L/usr/X11R6/lib -lXm -Wl,-soname -Wl,libMrm.so.2 -o .libs/libMrm.so.2.0.1 >/usr/bin/ld: cannot find -lXm ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >collect2: ld returned 1 exit status >libtool: install: error: relink `libMrm.la' with the above command before installing >it >libtool: install: warning: remember to run `libtool --finish /usr/X11R6/lib' >make[3]: Nothing to be done for `install-data-am'. >make[3]: Leaving directory `/usr/src/redhat/BUILD/lesstif-0.93.18/lib/Mrm-2.1' >make[2]: Leaving directory `/usr/src/redhat/BUILD/lesstif-0.93.18/lib/Mrm-2.1' And again the problem shows up with DtPrint: >Making install in Dt >make[2]: Entering directory `/usr/src/redhat/BUILD/lesstif-0.93.18/lib/Dt' >make[3]: Entering directory `/usr/src/redhat/BUILD/lesstif-0.93.18/lib/Dt' >/bin/sh ../../mkinstalldirs /tmp/lesstif_0.93.18-root/usr/X11R6/lib > /bin/sh ../../libtool --mode=install /usr/bin/install -c libDtPrint.la >/tmp/lesstif_0.93.18-root/usr/X11R6/lib/libDtPrint.la >libtool: install: warning: relinking `libDtPrint.la' >cd /usr/src/redhat/BUILD/lesstif-0.93.18/lib/Dt; /bin/sh ../../libtool --mode=relink >gcc -O2 -march=i386 -mcpu=i686 -o libDtPrint.la -rpath /usr/X11R6/lib -version-info >1:0 DtPrintSetupBox.lo DtPrintSetupData.lo ../../lib/Xm-2.1/libXm.la >gcc -shared DtPrintSetupBox.lo DtPrintSetupData.lo -Wl,--rpath -Wl,/usr/X11R6/lib >-L/usr/X11/lib -L/usr/X11R6/lib -lXm -Wl,-soname -Wl,libDtPrint.so.1 -o >.libs/libDtPrint.so.1.0.0 >/usr/bin/ld: cannot find -lXm >collect2: ld returned 1 exit status >libtool: install: error: relink `libDtPrint.la' with the above command before >installing it >libtool: install: warning: remember to run `libtool --finish /usr/X11R6/lib' >/bin/sh ../../mkinstalldirs /tmp/lesstif_0.93.18-root/usr/X11R6/include/Dt > /usr/bin/install -c -m 644 Print.h >/tmp/lesstif_0.93.18-root/usr/X11R6/include/Dt/Print.h I think the main source of things is the line >/usr/bin/ld: cannot find -lXm produced by gcc when trying to make the shared library. Clearly, libXm isn't installed when this command is run (and libtool hasn't --finished with it either) which I don't know how to fix given the complexity of the Makefiles involved. any suggestions? thanks, Paul Knowles. phone: 41 26 300 90 64 email: [EMAIL PROTECTED] Fax: 41 26 300 97 47 finger me at pexppc33.unifr.ch for more contact information _______________________________________________ Lesstif mailing list [EMAIL PROTECTED] https://terror.hungry.com/mailman/listinfo/lesstif
