LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-24-2013, 04:27 PM   #1
billsee
Member
 
Registered: May 2013
Posts: 42

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, 06:32 PM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
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 06:33 PM.
 
Old 05-24-2013, 07:17 PM   #3
billsee
Member
 
Registered: May 2013
Posts: 42

Original Poster
Rep: Reputation: Disabled
Thumbs up Problem fixed

That works, thanks much.
 
  


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

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

All times are GMT -5. The time now is 08:04 AM.

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