LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 05-02-2008, 08:20 AM   #1
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Rep: Reputation: Disabled
Configure error while compiling gtk+


Hello all,

I am using Ubuntu gutsy (7.10).
I need to install gtk+-2.12.9.
Everything goes fine till it gives an error for libX11.

==================================================================

checking for XOpenDisplay... no
configure: error: *** libX11 not found. Check 'config.log' for more details.
=====================================================================

Which is this package?
WHich package do I need to install to get rid of this error?
 
Old 05-02-2008, 08:24 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,755
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
libx11-dev or libx11-xcb-dev depending on whether you use XCB or not.
 
Old 05-02-2008, 09:04 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Original Poster
Rep: Reputation: Disabled
libx11-dev is already installed.
still the error.
 
Old 05-02-2008, 11:36 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,755
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
XOpenDisplay is defined in /usr/include/X11/Xlib.h. Do you have that file on your system? Also, did you check config.log before you posted?
 
Old 05-03-2008, 01:59 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Original Poster
Rep: Reputation: Disabled
I do have that file in my system.
I opened the file in vi and tried searching for XopenDisplay.
But no results.
And I am not too good at programming side, so it's not my cup of tea to understand the config.log file.
I tried it but did not understand much.
I will paster the file if you people have time to read it.
 
Old 05-03-2008, 10:20 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,755
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
Well, without seeing the output of the config.log all I can say is good luck.
 
Old 05-05-2008, 01:08 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,628

Original Poster
Rep: Reputation: Disabled
Well the config.log file is too big to post it here.
If you can explain a bit hot to understand the file I can give it a try and find the problem.
 
Old 05-06-2008, 01:42 PM   #8
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,755
Blog Entries: 1

Rep: Reputation: 238Reputation: 238Reputation: 238
You'll find the actual error message (configure: error: *** libX11 not found. Check 'config.log' for more details.) in the config.log. Search for that message and look just above the message to see what's not working correctly. Also, check your environment variables to make sure they're not set to something "weird."
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
GTK configure error thloh85 Linux - Software 2 07-15-2006 11:34 PM
compiling error with GTK+ dantelives Linux - Software 1 06-21-2005 09:03 PM
GTK+ 2.4.4 configure error NoxVampyre Linux - Software 9 08-04-2004 07:56 PM
compiling gaim/ gtk error (two versions of gtk) webazoid Linux - Software 0 07-06-2004 07:05 PM
help with error compiling gtk+-2.4.0 Metal Martian Linux - Newbie 3 05-11-2004 10:04 AM


All times are GMT -5. The time now is 08:50 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration