bug-oleo
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Xlt configure


From: Pete Wyckoff
Subject: Xlt configure
Date: Thu, 19 Apr 2001 19:58:43 -0400
User-agent: Mutt/1.3.16i-nntp2

I grabbed the most recent lesstif (0.92.26) to try oleo with xbae and
xlt and motif.  The configure of oleo (current cvs version) does find
the installed 2.0 lesstif and xbae, but not xlt.

The failure is in testing the library as proscribed by m4/xlt.m4,
which uses:

    LIBS="-lXlt -lXpm -lm $MOTIF_LIBS $X_LIBS $X_PRELIBS -lXt -lX11 \
        $X_EXTRA_LIBS $LIBS"

This value for MOTIF_LIBS comes from m4/motif.m4:

    MOTIF_LIBS="-lXm"

I find that if I change that to "-lXm -lMrm" then the test Xlt program
works fine, otherwise it fails to compile with error message:

    /usr/local/lib/libXlt.so: undefined reference to `MrmRegisterClass'

Is it sufficient to change MOTIF_LIBS in m4/motif.m4?  Are there
issues with respect to 1.2 vs 2.0 that say -lMrm is not always
mandatory?

                -- Pete

P.S.  I had to change m4/xbae.m4 to get working Makefiles.  I wonder
how anybody else was able to compile like this:  "--disable-nls
--with-motif".  But motif-oleo does work here now.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]