xmakemol-bugs
[Top][All Lists]
Advanced

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

[XMakemol-bugs] strange error: Motif library '-lXm' could not be found


From: Krisztian Kohary
Subject: [XMakemol-bugs] strange error: Motif library '-lXm' could not be found
Date: Thu, 23 Mar 2006 11:11:12 +0000 (GMT)

Hi,

I recieve "Motif library '-lXm' could not be found" error
message when trying to install xmakemol-5.15 in my $HOME
directory on SUSE10.

I find this strange as libXm is installed in /usr/X11R6/lib.

Ok, this is what I actually try to do.

I run 'configure' with the following options

============================================================
#!/bin/tcsh
./configure --prefix=$HOME/xmakemol-5.15\
            --exec-prefix=$HOME/xmakemol-5.15\
            --with-motif-includes=/usr/X11R6/lib\
            --with-motif-libraries=/usr/X11R6/lib
============================================================

which gives me the following error

============================================================
configure: error: The Motif library '-lXm' could not be found.
                Please use the configure options '--with-motif-includes=DIR'
                and '--with-motif-libraries=DIR' to specify the Xm location.
                See the 'config.log' file for further diagnostics.
============================================================

Some further outputs below:
a) configure stdout
b) command 'ls -l /usr/X11R6/lib/libXm*'
c) config.log


a) configure stdout:

============================================================
loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal-1.4... missing
checking for working autoconf... found
checking for working automake-1.4... missing
checking for working autoheader... found
checking for working makeinfo... missing
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for Motif... libraries /usr/X11R6/lib, headers /usr/X11R6/lib
checking for Xpm... libraries in default path, headers in default path
checking for XOpenDisplay in -lX11... yes
checking for XShapeQueryVersion in -lXext... yes
checking for XGetExtensionVersion in -lXi... yes
checking for XtToolkitInitialize in -lXt... yes
checking for XmRepTypeInstallTearOffModelConverter in -lXm... no
configure: error: The Motif library '-lXm' could not be found.
                Please use the configure options '--with-motif-includes=DIR'
                and '--with-motif-libraries=DIR' to specify the Xm location.
                See the 'config.log' file for further diagnostics.
============================================================


b) Executing the command 'ls -l /usr/X11R6/lib/libXm*' gives:

============================================================
lrwxrwxrwx  1 root root      12 2006-02-28 14:57 /usr/X11R6/lib/libXm.so.2 -> 
libXm.so.2.1
-rwxr-xr-x  1 root root 2029892 2004-12-18 00:24 /usr/X11R6/lib/libXm.so.2.1
lrwxrwxrwx  1 root root      14 2006-02-28 11:37 /usr/X11R6/lib/libXm.so.3 -> 
libXm.so.3.0.2
-rwxr-xr-x  1 root root 2394104 2005-09-13 01:00 /usr/X11R6/lib/libXm.so.3.0.2
-rw-r--r--  1 root root  130530 2005-09-13 00:23 /usr/X11R6/lib/libXmu.a
lrwxrwxrwx  1 root root      13 2006-02-28 11:53 /usr/X11R6/lib/libXmu.so -> 
libXmu.so.6.2
lrwxrwxrwx  1 root root      13 2006-02-28 11:37 /usr/X11R6/lib/libXmu.so.6 -> 
libXmu.so.6.2
-rwxr-xr-x  1 root root   92180 2005-09-13 00:26 /usr/X11R6/lib/libXmu.so.6.2
-rw-r--r--  1 root root   12088 2005-09-13 00:23 /usr/X11R6/lib/libXmuu.a
lrwxrwxrwx  1 root root      14 2006-02-28 11:53 /usr/X11R6/lib/libXmuu.so -> 
libXmuu.so.1.0
lrwxrwxrwx  1 root root      14 2006-02-28 11:37 /usr/X11R6/lib/libXmuu.so.1 -> 
libXmuu.so.1.0
-rwxr-xr-x  1 root root   11036 2005-09-13 00:26 /usr/X11R6/lib/libXmuu.so.1.0
============================================================


c) I also enclose the 'config.log' file below:

============================================================
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

configure:597: checking host system type
configure:618: checking target system type
configure:636: checking build system type
configure:672: checking for a BSD compatible install
configure:725: checking whether build environment is sane
configure:782: checking whether make sets ${MAKE}
configure:828: checking for working aclocal-1.4
configure:841: checking for working autoconf
configure:854: checking for working automake-1.4
configure:867: checking for working autoheader
configure:880: checking for working makeinfo
configure:901: checking for gcc
configure:1014: checking whether the C compiler (gcc  ) works
configure:1030: gcc -o conftest    conftest.c  1>&5
configure:1056: checking whether the C compiler (gcc  ) is a cross-compiler
configure:1061: checking whether we are using GNU C
configure:1070: gcc -E conftest.c
configure:1089: checking whether gcc accepts -g
configure:1132: checking for a BSD compatible install
configure:1187: checking how to run the C preprocessor
configure:1208: gcc -E  conftest.c >/dev/null 2>conftest.out
configure:1271: checking for X
configure:1585: checking for dnet_ntoa in -ldnet
configure:1604: gcc -o conftest -g -O2   conftest.c -ldnet   1>&5
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot 
find -ldnet
collect2: ld returned 1 exit status
configure: failed program was:
#line 1593 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:1626: checking for dnet_ntoa in -ldnet_stub
configure:1645: gcc -o conftest -g -O2   conftest.c -ldnet_stub   1>&5
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot 
find -ldnet_stub
collect2: ld returned 1 exit status
configure: failed program was:
#line 1634 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char dnet_ntoa();

int main() {
dnet_ntoa()
; return 0; }
configure:1674: checking for gethostbyname
configure:1702: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1772: checking for connect
configure:1800: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1864: checking for remove
configure:1892: gcc -o conftest -g -O2   conftest.c  1>&5
configure:1956: checking for shmat
configure:1984: gcc -o conftest -g -O2   conftest.c  1>&5
configure:2057: checking for IceConnectionNumber in -lICE
configure:2076: gcc -o conftest -g -O2   -L/usr/X11R6/lib conftest.c -lICE   
1>&5
configure:2117: checking for Motif
configure:2330: checking for Xpm
configure:2361: gcc -c -I/usr/X11R6/lib  -I/usr/X11R6/include -g -O2 
-I/usr/X11R6/lib  -I/usr/X11R6/include  conftest.c 1>&5
configure:2440: gcc -o conftest -I/usr/X11R6/lib  -I/usr/X11R6/include -g -O2 
-I/usr/X11R6/lib  -I/usr/X11R6/include   -L/usr/X11R6/lib  conftest.c  -lSM 
-lICE -lXpm -lXt -lX11   1>&5
configure:2546: checking for XOpenDisplay in -lX11
configure:2565: gcc -o conftest -g -O2 -I/usr/X11R6/lib  -I/usr/X11R6/include  
-I/usr/X11R6/lib  -I/usr/X11R6/include   -L/usr/X11R6/lib conftest.c -lX11  
-lSM -lICE   1>&5
configure:2597: checking for XShapeQueryVersion in -lXext
configure:2616: gcc -o conftest -g -O2 -I/usr/X11R6/lib  -I/usr/X11R6/include  
-I/usr/X11R6/lib  -I/usr/X11R6/include   -L/usr/X11R6/lib conftest.c -lXext  
-lSM -lICE -lX11   1>&5
configure:2640: checking for XGetExtensionVersion in -lXi
configure:2659: gcc -o conftest -g -O2 -I/usr/X11R6/lib  -I/usr/X11R6/include  
-I/usr/X11R6/lib  -I/usr/X11R6/include   -L/usr/X11R6/lib conftest.c -lXi  -lSM 
-lICE -lX11   1>&5
configure:2683: checking for XtToolkitInitialize in -lXt
configure:2702: gcc -o conftest -g -O2 -I/usr/X11R6/lib  -I/usr/X11R6/include  
-I/usr/X11R6/lib  -I/usr/X11R6/include   -L/usr/X11R6/lib conftest.c -lXt  -lSM 
-lICE -lX11   1>&5
configure:2732: checking for XmRepTypeInstallTearOffModelConverter in -lXm
configure:2751: gcc -o conftest -g -O2 -I/usr/X11R6/lib  -I/usr/X11R6/include  
-I/usr/X11R6/lib  -I/usr/X11R6/include   -L/usr/X11R6/lib conftest.c -lXm  -lSM 
-lICE -lXpm -lXext -lXt -lXi -lX11   1>&5
/usr/lib/gcc/i586-suse-linux/4.0.2/../../../../i586-suse-linux/bin/ld: cannot 
find -lXm
collect2: ld returned 1 exit status
configure: failed program was:
#line 2740 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
char XmRepTypeInstallTearOffModelConverter();

int main() {
XmRepTypeInstallTearOffModelConverter()
; return 0; }
============================================================

Any idea what the problem could be?

Best,

Krisztian




reply via email to

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