On Thu, Jan 10, 2002 at 10:08:39AM +0100, Paul Knowles wrote:
> 
> 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
>  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

You missed the log what has happened to the lib/Xm-2.1 directory.
Mrm-2.1, Dt, all clients will be linked against the libXm of 2.1 which for some reasons
wasn't build in your tree.

-- 
Alexander Mai
[EMAIL PROTECTED]
_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif

Reply via email to