LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Compile problems (https://www.linuxquestions.org/questions/linux-software-2/compile-problems-134878/)

looper 01-14-2004 06:25 PM

Compile problems
 
suse 8.2

Im compiling gtk+-1.3.15 and I get this error:

./configure --prefix=/usr

checking for XOpenDisplay in -lX11... no
configure: error: *** libX11 not found.

I also tried: ./configure --x-libraries=/usr/X11R6/lib --x-include=/usr/X11R6/include/X11 --prefix=/usr


I verified the installed rpms:
rpm -qa | grep XFree86-devel
XFree86-devel-4.3.0-111

I also checked the libs:
/usr/X11R6/lib
libX11.a
libX11.so symlink to libX11.so.6.2
libX11.so.6 symlink to libX11.so.6.2
libX11.so.6.2

any ideas ???

thanks in adv

looper 01-15-2004 02:52 PM

Re: Compile problems
 
Quote:

Originally posted by looper
suse 8.2

Im compiling gtk+-1.3.15 and I get this error:

./configure --prefix=/usr

checking for XOpenDisplay in -lX11... no
configure: error: *** libX11 not found.

I also tried: ./configure --x-libraries=/usr/X11R6/lib --x-include=/usr/X11R6/include/X11 --prefix=/usr


I verified the installed rpms:
rpm -qa | grep XFree86-devel
XFree86-devel-4.3.0-111

I also checked the libs:
/usr/X11R6/lib
libX11.a
libX11.so symlink to libX11.so.6.2
libX11.so.6 symlink to libX11.so.6.2
libX11.so.6.2

any ideas ???

thanks in adv


Tinkster 01-15-2004 03:11 PM

Do you have
/usr/X11R6/lib
in
/etc/ld.so.conf
?
Do the headers match the libs?


Cheers,
Tink

looper 01-15-2004 04:51 PM

yes /usr/X11R6/lib is inside ld.so.conf :(

Tinkster 01-15-2004 05:19 PM

Just out of curiosity:

Why are you installing this version,
why from source?
And where did you get it from?

On http://www.gtk.org/download/ I can't
find a reference to 1.3

I see it in the ftp tree, but ... maybe it's
just not a stable release, broken?



Cheers,
Tink

looper 01-15-2004 07:07 PM

well I get almost everything as tarballs.

what version do you recommend? maybe you are right its not the best version to get

by the way, I got it from http://ftp.gnome.org/pub/gnome/sources/gtk+

Tinkster 01-15-2004 07:19 PM

Uh -huh ... I have downloaded it, and am getting the
same error ... however, the 1.2.10 and the later 2.2.2
that I actually have installed compiled flawlessly....



Cheers,
Tink

looper 01-15-2004 07:34 PM

I already have gtk 2, I need gtk to compile programs such as xmms or xine :P that is why Im doing it :)

Thanks a lot for your help tink

looper 01-15-2004 07:35 PM

sorry, I forgot, and for replying so fast :)

Tinkster 01-15-2004 08:04 PM

Pleasure mate, and better luck with the older
version... if I felt that it bugged you I'd probably
have a look and compare the configure scripts
of 1.2.10 and 1.3.15 ... I'm certain that it's the
script that's broken.


Cheers,
Tink


P.S.: If you think that I helped you, feel free to
give me an affero ;)

looper 01-15-2004 08:11 PM

tink,
everything went fine. 1.2.10 compiled "flawlessly" [just as you said]
I could also build xmms, so now I can listen to mp3s. I haven tested it though :P
I really dont like rpms, neither its dependencies :)

Thanks again
looper

Tinkster 01-15-2004 08:16 PM

Sweet :}


Cheers,
Tink


All times are GMT -5. The time now is 02:49 PM.