| -----Original Message-----
| From: Alexander Mai [mailto:[EMAIL PROTECTED]]
|
|
| On Thu, Jun 06, 2002 at 03:25:33PM -0400, Keith Warno wrote:
| > Greetings. I have an LFS box that I'm attempting to roll
| a lesstif-0.93.34
| > RPM for
|
| What is LFS exactly??
LFS = Linux From Scratch
http://www.linuxfromscratch.org/
However I also had this problem with a stock RedHat 6.1 machine.
| [...]
| > cd /opt/build/lesstif-0.93.34/lib/Mrm-2.1; /bin/sh
| > ../../libtool --mode=relink gcc -g -O2 -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
| > isc.lo -Wl,--rpath -Wl,/usr/X11R6/lib -L/usr/X11R6/lib
| -lXm -Wl,-soname
| > -Wl,libMrm.so.2 -o .libs/libMrm.so.2.0.1
| > /usr/i686-pc-linux-gnu/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 `/opt/build/lesstif-0.93.34/lib/Mrm-2.1'
|
| It seems that either libXm.* was never built (then this is
| the problem
| itself) or it just "disappeared" before.
| Can you check this? (e.g. cd lib/Xm-2.1 and run make there)
libXm.* was built. In fact libMrm.* was also built during the "make" but
during "make install", libtool decides that it needs to re-link libMrm.so
(it obviously has a dependency on libXm.so) and it is this re-link that
breaks. It is looking for libXm.so in /usr/X11R6/lib when it should be
looking for it in ${DESTDIR}/usr/X11R6/lib/ (where $DESTDIR is the root of
the install tree). Keeping in mind that I was building a binary RPM package
so the make install step is "make DESTDIR=$RPM_BUILD_ROOT install".
_______________________________________________
Lesstif mailing list
[EMAIL PROTECTED]
https://terror.hungry.com/mailman/listinfo/lesstif