xmakemol-discuss
[Top][All Lists]
Advanced

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

[XMakemol-discuss] Problems installing xmakemol


From: Berit Hinnemann
Subject: [XMakemol-discuss] Problems installing xmakemol
Date: Mon, 31 Oct 2005 11:58:54 -0500

Hi,

 

I am trying to install xmakemol on an Opteron linux machine but configure says it cannot find the X11 libraries (they are where they should be but configure says they are incompatible). When I run ./configure I get the following

 

address@hidden xmakemol-5.15]$ ./configure

creating 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

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... no

checking for Motif... libraries (none), headers in default path

checking for Xpm... libraries /usr/X11R6/lib, headers in default path

checking for XOpenDisplay in -lX11... no

configure: error: The X11 library '-lX11' could not be found.

                Please use the configure options '--x-includes=DIR'

                and '--x-libraries=DIR' to specify the X location.

                See the 'config.log' file for further diagnostics.

 

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

 

When I look into the config.log file I find the following

 

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

 

#include <X11/Intrinsic.h>

#include <X11/xpm.h>

 

int main() {

XtToolkitInitialize();

; return 0; }

found libXpm from /usr/X11R6/lib

configure:2546: checking for XOpenDisplay in -lX11

configure:2565: gcc -o conftest -g -O2  -I/usr/X11R6/include   -I/usr/X11R6/include   -L/usr/X11R6/lib conftest.c -l

X11    1>&5

/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.so when searching for -lX11

/usr/bin/ld: skipping incompatible /usr/X11R6/lib/libX11.a when searching for -lX11

/usr/bin/ld: cannot find -lX11

collect2: ld returned 1 exit status

configure: failed program was:

#line 2554 "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 XOpenDisplay();

 

int main() {

XOpenDisplay()

; return 0; }

 

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

 

I am not sure what I could do. Has anybody an idea about how I could solve this?

 

Thanks,

Berit

 

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

 


reply via email to

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