LinuxQuestions.org
Visit Jeremy's Blog.
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 05-02-2008, 07:20 AM   #1
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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, 07:24 AM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
libx11-dev or libx11-xcb-dev depending on whether you use XCB or not.
 
Old 05-02-2008, 08:04 AM   #3
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Original Poster
Rep: Reputation: Disabled
libx11-dev is already installed.
still the error.
 
Old 05-02-2008, 10:36 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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, 12:59 AM   #5
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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, 09:20 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Well, without seeing the output of the config.log all I can say is good luck.
 
Old 05-05-2008, 12:08 AM   #7
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

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, 12:42 PM   #8
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
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



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

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

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

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