LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-04-2004, 05:16 PM   #1
palano
LQ Newbie
 
Registered: Apr 2004
Posts: 11

Rep: Reputation: 0
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?
 
Old 04-04-2004, 06:10 PM   #2
larrykeenan
Member
 
Registered: Apr 2004
Location: Brisbane Australia
Distribution: UBUNTU 13.04
Posts: 61

Rep: Reputation: 19
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
 
Old 04-04-2004, 06:42 PM   #3
palano
LQ Newbie
 
Registered: Apr 2004
Posts: 11

Original Poster
Rep: Reputation: 0
I'm running debian woody.
I have the X11R6 libraries installed.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how do i update GTK+??? yzq Mandriva 2 04-09-2005 02:01 PM
GTK+ Update DVation Linux - Software 2 11-30-2004 12:17 PM
Gkrellm will not load, do I need to update GTK? DR_K13 Red Hat 7 10-28-2004 01:38 AM
GTK Doesn't Update? Stuck on 1.2.7 GT_Onizuka Linux - Software 3 11-22-2003 02:38 PM
Which GTK to update to? dvergin Linux - Software 1 04-04-2003 12:40 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:47 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration