LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   update gtk+ (https://www.linuxquestions.org/questions/linux-software-2/update-gtk-166188/)

palano 04-04-2004 05:16 PM

update gtk+
 
Hi.
I just tried to update my gtk+ to version 1.2.10. But runnig the configscript it tells me it can't find XOpenDisplay in my libX11.
The exact printout looks:

checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... no
checking for XOpenDisplay in -lX11... no
configure: error: *** libX11 not found. Check 'config.log' for more details.

In the config.log it looks like this:

int main() {
IceConnectionNumber()
; return 0; }
configure:5393: checking for XOpenDisplay in -lX11
configure:5412: gcc -o conftest -g -O2 -Wall -I/usr/X11R6/include -L/usr/X11R6/lib conftest.c -lX11 1>&5
/usr/bin/ld: cannot find -lX11
collect2: ld returned 1 exit status
configure: failed program was:
#line 5401 "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; }


Anyone's got any ideas of whats causing this? How do I solve the problem?

larrykeenan 04-04-2004 06:10 PM

Hello Palano,

I don't know what distro you are using so see if they have included libxfree86-static-devel

This includes the X11R6 static libraries needed to build statically linked programs.

At least you now know what to install even if I can't tell you where to get it.

Have Fun,
Larry Keenan

palano 04-04-2004 06:42 PM

I'm running debian woody.
I have the X11R6 libraries installed.


All times are GMT -5. The time now is 12:45 AM.