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? |
libx11-dev or libx11-xcb-dev depending on whether you use XCB or not.
|
libx11-dev is already installed.
still the error. |
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?
|
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. |
Well, without seeing the output of the config.log all I can say is good luck.
|
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. |
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. |