LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Configure error while compiling gtk+ (https://www.linuxquestions.org/questions/linux-software-2/configure-error-while-compiling-gtk-639334/)

linuxlover.chaitanya 05-02-2008 07:20 AM

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?

weibullguy 05-02-2008 07:24 AM

libx11-dev or libx11-xcb-dev depending on whether you use XCB or not.

linuxlover.chaitanya 05-02-2008 08:04 AM

libx11-dev is already installed.
still the error.

weibullguy 05-02-2008 10:36 AM

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?

linuxlover.chaitanya 05-03-2008 12:59 AM

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.

weibullguy 05-03-2008 09:20 PM

Well, without seeing the output of the config.log all I can say is good luck.

linuxlover.chaitanya 05-05-2008 12:08 AM

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.

weibullguy 05-06-2008 12:42 PM

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."


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