LinuxQuestions.org
Review your favorite Linux distribution.
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-24-2013, 05:27 PM   #1
billsee
LQ Newbie
 
Registered: May 2013
Posts: 17

Rep: Reputation: Disabled
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.
 
Old 05-24-2013, 07:32 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 13,215

Rep: Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772Reputation: 1772
try this
Code:
su -
yum provides */X11/Xlib.h

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

Last edited by John VV; 05-24-2013 at 07:33 PM.
 
Old 05-24-2013, 08:17 PM   #3
billsee
LQ Newbie
 
Registered: May 2013
Posts: 17

Original Poster
Rep: Reputation: Disabled
Thumbs up Problem fixed

That works, thanks much.
 
  


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
help, i'm about to loose it..... can't find GL headers........... RichardUK Programming 3 12-21-2009 08:17 AM
Where can I find the Kernel Headers? Xyen Puppy 2 11-23-2008 02:16 AM
Where Do I Find KDE Headers? Harpo Suse/Novell 1 06-29-2006 06:32 PM
configure: error: Cannot find X11 headers/libraries shams Ubuntu 1 02-20-2006 11:07 PM
xscreensaver - "couldn't find X11 headers" error teal Linux - Newbie 2 07-02-2003 04:11 AM


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

Main Menu
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