LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 11-04-2003, 02: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, 02: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, 02: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, 08:10 PM   #4
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Rep: Reputation: 33
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, 10: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, 10: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, 10:47 PM   #7
Avatar
Member
 
Registered: May 2001
Location: Canada
Distribution: old ones
Posts: 555

Rep: Reputation: 33
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, 10: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



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

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

All times are GMT -5. The time now is 03:15 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