xmakemol-discuss
[Top][All Lists]
Advanced

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

RE: [XMakemol-discuss] Problems installing xmakemol


From: Berit Hinnemann
Subject: RE: [XMakemol-discuss] Problems installing xmakemol
Date: Tue, 1 Nov 2005 14:56:14 -0500

Hi Matt,

setting

setenv CC "gcc -m32"
    ./configure

got me through the X11 part of configure. Now the system complains that it
does not find the Xm library. What kind of library is this and where is it
usually located on a system.

Thanks a lot for your help. Best regards, Berit

Screen output:
address@hidden xmakemol-5.15]$ setenv CC "gcc -m32"
address@hidden xmakemol-5.15]$ ./configure
loading cache ./config.cache
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking build system type... x86_64-unknown-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... found
checking for working autoconf... found
checking for working automake-1.4... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc -m32
checking whether the C compiler (gcc -m32  ) works... yes
checking whether the C compiler (gcc -m32  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc -m32 accepts -g... yes
checking for a BSD compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -m32 -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 (none), headers in default path
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.

----------------------------------------------------------------------------
End of config.log
configure:2117: checking for Motif
configure:2145: gcc -m32 -c  -I/usr/X11R6/include -g -O2
-I/usr/X11R6/include  conftest.c 1>&5
configure:2224: gcc -m32 -o conftest  -I/usr/X11R6/include -g -O2
-I/usr/X11R6/include   -L/usr/X11R6/lib  conftest.c  -lSM -lICE -lXm -lXt
-lX11   1>&5
/usr/bin/ld: cannot find -lXm
collect2: ld returned 1 exit status
configure: failed program was:
#line 2214 "configure"
#include "confdefs.h"

#include <X11/Intrinsic.h>
#include <Xm/Xm.h>

int main() {
XtToolkitInitialize();
; return 0; }
configure:2330: checking for Xpm
configure:2361: gcc -m32 -c  -I/usr/X11R6/include -g -O2
-I/usr/X11R6/include  conftest.c 1>&5
configure:2440: gcc -m32 -o conftest  -I/usr/X11R6/include -g -O2
-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 -m32 -o conftest -g -O2  -I/usr/X11R6/include
-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 -m32 -o conftest -g -O2  -I/usr/X11R6/include
-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 -m32 -o conftest -g -O2  -I/usr/X11R6/include
-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 -m32 -o conftest -g -O2  -I/usr/X11R6/include
-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 -m32 -o conftest -g -O2  -I/usr/X11R6/include
-I/usr/X11R6/include   -L/usr/X11R6/lib conftest.c -lXm  -lSM -lICE -lXpm
-lXext -lXt -lXi -lX11   1>&5
/usr/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; }

----------------------------------------------------------------------------
-----


Berit Hinnemann, Ph.D.
Princeton University
Department of Mechanical and Aerospace Engineering
D310 Engineering Quadrangle
Princeton, NJ 08544
email: address@hidden 
tel: (609)-258-2651
fax: (609)-258-5877


-----Original Message-----
From: Matt Hodges [mailto:address@hidden 
Sent: Tuesday, November 01, 2005 9:35 AM
To: Berit Hinnemann
Cc: address@hidden
Subject: Re: [XMakemol-discuss] Problems installing xmakemol

>>>>> Berit Hinnemann writes:

 > I am not sure what to enter, because if I try out these commands I
 > get

 > address@hidden xmakemol-5.15]$ CC="gcc -m64" ./configure
 > CC=gcc -m64: Command not found.
 > address@hidden xmakemol-5.15]$ CC="gcc -m32" ./configure
 > CC=gcc -m32: Command not found.
 > address@hidden xmakemol-5.15]$

 > Could you explain a bit more what you would like me to try? Is
 > there another way I can find out what the default mode of gcc is?

I assumed a bash (like) shell.  With csh/tcsh, try:

    setenv CC "gcc -m64"
    ./configure

and:

    setenv CC "gcc -m32"
    ./configure

Matt





reply via email to

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