[e-users] Evas compile problem on x86_64

2004-10-06 Thread Steve Jordahl
Title: Evas compile problem on x86_64






I'm attempting to compile and install the EFLs on a Suse 9.1 64-bit workstation and I'm hitting an issue when I attempt to compile Evas.  Here's the error I'm getting:

/usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux/bin/ld: cannot find -lXext

collect2: ld returned 1 exit status

make[4]: *** [libevas.la] Error 1


I believe it's looking for the libXext library.  My understanding is that libXext is installed with the XFree86_devel package, which I've got installed.  I believe I'm seeing the proper library files installed in the file system.  Here are the pertinent listings of my lib directories:

sj64:~ # ls -l /usr/X11R6/lib/libXext*

lrwxrwxrwx  1 root root    14 2004-10-06 02:23 /usr/X11R6/lib/libXext.so.6 -> libXext.so.6.4

-rwxr-xr-x  1 root root 67082 2004-09-15 05:29 /usr/X11R6/lib/libXext.so.6.4


sj64:~ # ls -l /usr/X11R6/lib64/libXext*

-rw-r--r--  1 root root 115468 2004-04-05 21:26 /usr/X11R6/lib64/libXext.a

lrwxrwxrwx  1 root root 14 2004-10-06 05:21 /usr/X11R6/lib64/libXext.so -> libXext.so.6.4

lrwxrwxrwx  1 root root 14 2004-10-06 02:23 /usr/X11R6/lib64/libXext.so.6 -> libXext.so.6.4

-rwxr-xr-x  1 root root  84052 2004-09-15 05:08 /usr/X11R6/lib64/libXext.so.6.4


If I do an ldconfig -p | grep Xext I get the following:


sj64:~ # ldconfig -p | grep Xext

    libXext.so.6 (libc6,x86-64) => /usr/X11R6/lib64/libXext.so.6

    libXext.so.6 (libc6) => /usr/X11R6/lib/libXext.so.6

    libXext.so (libc6,x86-64) => /usr/X11R6/lib64/libXext.so


so I believe at least the shared libraries are OK.


From looking in the Makefile after I run either autoconf.sh or configure I believe the linker is looking for libXext.a in /usr/X11R6/lib instead of in /usr/X11R6/lib64.  I've tried installing XFree86-devel-32bit, which installs a 32-bit version of libXext.a in /usr/X11R6/lib, but the linker skips it saying it's not the correct library.

Any ideas?  Any help is greatly appreciated.



More details:


sj64:~ # uname -a

Linux sj64 2.6.8.1 #7 SMP Tue Oct 5 04:48:07 PDT 2004 x86_64 x86_64 x86_64 GNU/Linux


sj64:~ # autoconf --version

autoconf (GNU Autoconf) 2.59

Written by David J. MacKenzie and Akim Demaille.


sj64:~ # automake --version

automake (GNU automake) 1.8.3

Written by Tom Tromey <[EMAIL PROTECTED]>.


sj64:~ # libtool --version

ltmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08)





Re: [e-users] Evas compile problem on x86_64

2004-10-06 Thread The Rasterman
On Wed, 6 Oct 2004 15:23:43 -0700 "Steve Jordahl" <[EMAIL PROTECTED]> babbled:
(B
(B> I'm attempting to compile and install the EFLs on a Suse 9.1 64-bit
(B> workstation and I'm hitting an issue when I attempt to compile Evas.
(B> Here's the error I'm getting:
(B
(Bbefore compiling evas (and any other x stuff) you could try doing this before
(Byou run configure:
(B
(Bexport LDFLAGS=-L/usr/X11R6/lib64
(B
(Bor
(B
(Bexport CFLAGS=-L/usr/X11R6/lib64
(B
(Bto let it find 64bit libs.
(B
(Ba note for the wise:
(B
(B.a files are archive files that contain code to be STATICALLY linked in. they
(Bare not used very often. .so files are shared libraries. you need a libBLAH.so 
(Bsymlink (no version number after the .so) pointing to the major version
(B(libBLAH.so.3.0.0 for example) when linking to BLAH for the linker to work.
(Bldconfig has nothing to do with compiling and linking code :) so the reason it
(Bdoesnt build is efl has no clue it should look in /usr/X11R6/lib64 to link to
(Bbuild a 64bit version of evas... i am not sure on the details of 64bit vs 32bit
(Bfor x86 and if you can safely build a 64bit app and link to a 32bit lib (or if
(Bbinutils lets you). it's liekyl to be evil at best (having to convert a pointer
(Bto 64bit mem space to a 32bit one for a 32bit lib that expects 32bit pointers
(Bfor example...). so the likely reason it wont link to the X11 32bit libs is you
(Bare compiling it in a way that it produces 64bit code and thus MUST link to
(B64bit libs, not 32bit libs.
(B
(B> /usr/lib64/gcc-lib/x86_64-suse-linux/3.3.3/../../../../x86_64-suse-linux
(B> /bin/ld: cannot find -lXext
(B> collect2: ld returned 1 exit status
(B> make[4]: *** [libevas.la] Error 1
(B> 
(B> I believe it's looking for the libXext library.  My understanding is
(B> that libXext is installed with the XFree86_devel package, which I've got
(B> installed.  I believe I'm seeing the proper library files installed in
(B> the file system.  Here are the pertinent listings of my lib directories:
(B> 
(B> sj64:~ # ls -l /usr/X11R6/lib/libXext*
(B> lrwxrwxrwx  1 root root14 2004-10-06 02:23
(B> /usr/X11R6/lib/libXext.so.6 -> libXext.so.6.4
(B> -rwxr-xr-x  1 root root 67082 2004-09-15 05:29
(B> /usr/X11R6/lib/libXext.so.6.4
(B> 
(B> sj64:~ # ls -l /usr/X11R6/lib64/libXext*
(B> -rw-r--r--  1 root root 115468 2004-04-05 21:26
(B> /usr/X11R6/lib64/libXext.a
(B> lrwxrwxrwx  1 root root 14 2004-10-06 05:21
(B> /usr/X11R6/lib64/libXext.so -> libXext.so.6.4
(B> lrwxrwxrwx  1 root root 14 2004-10-06 02:23
(B> /usr/X11R6/lib64/libXext.so.6 -> libXext.so.6.4
(B> -rwxr-xr-x  1 root root  84052 2004-09-15 05:08
(B> /usr/X11R6/lib64/libXext.so.6.4
(B> 
(B> If I do an ldconfig -p | grep Xext I get the following:
(B> 
(B> sj64:~ # ldconfig -p | grep Xext
(B> libXext.so.6 (libc6,x86-64) => /usr/X11R6/lib64/libXext.so.6
(B> libXext.so.6 (libc6) => /usr/X11R6/lib/libXext.so.6
(B> libXext.so (libc6,x86-64) => /usr/X11R6/lib64/libXext.so
(B> 
(B> so I believe at least the shared libraries are OK.
(B> 
(B> >From looking in the Makefile after I run either autoconf.sh or configure
(B> I believe the linker is looking for libXext.a in /usr/X11R6/lib instead
(B> of in /usr/X11R6/lib64.  I've tried installing XFree86-devel-32bit,
(B> which installs a 32-bit version of libXext.a in /usr/X11R6/lib, but the
(B> linker skips it saying it's not the correct library.
(B> 
(B> Any ideas?  Any help is greatly appreciated.
(B> 
(B> 
(B> More details:
(B> 
(B> sj64:~ # uname -a
(B> Linux sj64 2.6.8.1 #7 SMP Tue Oct 5 04:48:07 PDT 2004 x86_64 x86_64
(B> x86_64 GNU/Linux
(B> 
(B> sj64:~ # autoconf --version
(B> autoconf (GNU Autoconf) 2.59
(B> Written by David J. MacKenzie and Akim Demaille.
(B> 
(B> sj64:~ # automake --version
(B> automake (GNU automake) 1.8.3
(B> Written by Tom Tromey <[EMAIL PROTECTED]>.
(B> 
(B> sj64:~ # libtool --version
(B> ltmain.sh (GNU libtool) 1.5.2 (1.1220.2.60 2004/01/25 12:25:08)
(B> 
(B> 
(B
(B
(B-- 
(B- Codito, ergo sum - "I code, therefore I am" --
(BThe Rasterman (Carsten Haitzler)[EMAIL PROTECTED]
$BMg9%B?(B  [EMAIL PROTECTED]
(BTokyo, Japan ($BEl5~(B $BF|K\(B)
(B
(B
(B---
(BThis SF.net email is sponsored by: IT Product Guide on ITManagersJournal
(BUse IT products in your business? Tell us what you think of them. Give us
(BYour Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
(Bhttp://productguide.itmanagersjournal.com/guidepromo.tmpl
(B___
(Benlightenment-users mailing list
(B[EMAIL PROTECTED]
(Bhttps://lists.sourceforge.net/lists/listinfo/enlightenment-users