LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't find X11 headers in CentOS 6.4 (https://www.linuxquestions.org/questions/linux-software-2/cant-find-x11-headers-in-centos-6-4-a-4175463360/)

billsee 05-24-2013 04:27 PM

Can't find X11 headers in CentOS 6.4
 
I have recently upgraded to new computer and CentOS 6.4
I was using CentOS 5.1 and compiling C++ programs that
required X11R6 header files and libraries. I can't find
these in 6.4 although I've looked all over the place.
It looks like X11 is installed (it come with the distribution
right?) but the gcc compiler says it can't find files like
X11/Xlib.h, X11/Xutil.h, X11/cursorfont.h, etc. 'locate'
returned nothing for these files and all other X11 headers.
Do I need further installation? Please help.

John VV 05-24-2013 06:32 PM

try this
Code:

su -
yum provides */X11/Xlib.h

---- then from the list  install ---
yum install libX11-devel


billsee 05-24-2013 07:17 PM

Problem fixed
 
That works, thanks much.


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