LinuxQuestions.org
Visit Jeremy's Blog.
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 11-04-2003, 03:14 PM   #1
JoAnywhere
Member
 
Registered: Oct 2003
Location: denver
Distribution: Debian
Posts: 97

Rep: Reputation: 15
X Includes Problem


Hiya all,
I am trying to compile an application I downloaded from the net.

I am running redhat 7.3

I go to the directory that has the application source in it and type
Code:
./configure
and get the following error
Code:
Checking for X... configure: error: Can't find X includes.  Please check your installation and add the correct paths!
so I downloaded XFree86-4.2.0-72.src.rpm and installed it.

I do the configure thing and I still get the same error.

How do I add the directory where XFree86 Source got installed to my path (and have I installed the right thing?)

Regards
Jo
 
Old 11-04-2003, 03:54 PM   #2
MadCactus
Member
 
Registered: Jul 2003
Distribution: Slackware 9.1
Posts: 195

Rep: Reputation: 30
Try /usr/X11R6/include maybe the version number will be different but thats where it is on mine. Similarly /usr/X11R6/lib is where the libs are at.

Hope that helps.
 
Old 11-04-2003, 03:55 PM   #3
JoAnywhere
Member
 
Registered: Oct 2003
Location: denver
Distribution: Debian
Posts: 97

Original Poster
Rep: Reputation: 15
MadCactus,
I'll try that - but HOW... how do I add an entry into my path?

Regards
 
Old 11-04-2003, 09:10 PM   #4
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 538

Rep: Reputation: 30
I tried this command

./configure --x-includes=/usr/X11R6/include

(which exists) but I still get that error. ("add the correct paths" how do I find my includes?
 
Old 11-05-2003, 11:48 AM   #5
salparadise
Senior Member
 
Registered: Nov 2002
Location: Birmingham UK
Distribution: Various
Posts: 1,736

Rep: Reputation: 146Reputation: 146
you need to add the libxfree86-devel package
 
Old 11-05-2003, 11:49 AM   #6
JoAnywhere
Member
 
Registered: Oct 2003
Location: denver
Distribution: Debian
Posts: 97

Original Poster
Rep: Reputation: 15
Xdevel

Avatar,
I worked out that I needed to download the xdevel package. Given I run redhat I got it in RPM form.

the package I downloaded was xdevel-4.2.0-187.i586.rpm

That solved the x includes problem (I also hacked around with my path a little, and while I do know that on its own, the path didn't fix the problem - I can't definitively state whether it was purely the xdevel package that fixed the problem, or a combination of xdevel and the path)

regards
Jo
 
Old 11-05-2003, 11:47 PM   #7
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 538

Rep: Reputation: 30
Thank you Jo, did you get the xdevel from your Red Had CD or from the Internet? I will start looking right now. Thank you.
 
Old 11-06-2003, 11:38 AM   #8
JoAnywhere
Member
 
Registered: Oct 2003
Location: denver
Distribution: Debian
Posts: 97

Original Poster
Rep: Reputation: 15
Avatar,
I got it from RPMFind (rpmfind.net) I actually used an RPM for Suse, but it all seemed to be OK
http://www.rpmfind.net/linux/rpm2htm...&system=&arch=

Cheers
Jo
 
  


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
Apache 2.0 Problem with Includes anilnatha Linux - Software 1 04-20-2005 07:20 AM
Kopete X includes problem novacrasher Linux - Software 15 02-08-2005 02:37 PM
Umbrello Installation problem - X Includes nomowinblowz Linux - Software 0 12-21-2004 02:08 PM
Problem in configuring w/ X includes icpsvt Linux - Newbie 5 10-13-2004 11:45 AM
Apache / PHP4 includes problem? DevlshOne Red Hat 0 01-06-2004 10:18 PM


All times are GMT -5. The time now is 03:01 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration