LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-15-2004, 02:33 PM   #1
mynameisjoe
LQ Newbie
 
Registered: Apr 2004
Distribution: Fedora Core 1
Posts: 12

Rep: Reputation: 0
Adding the correct installation path


When i try to install a few programs using "# ./configure" it complies correctly all the way through until it gets stuck at

"checking for X ... configure: error: Can't find X includes. Please check your installation and add the correct paths."

I have looked in the accompanying readme files and found that i need to specify the X window path.

On my computer i think the pathway is /usr/X11R6 (does this sound right)
I need to use the configure option "--X-includes=DIR" and
"--X-libraries=DIR". What do i insert into that string is it

"# ./configure --X-libraries=DIR/usr/X11R6"
or
"# ./configure --X-libraries=/usr/X11R6"

(and do i need to further specify the include folder pathway i.e. /usr/X11R6/includes)

I have tried a few combinations so far and theu havent worked could someone help me by being more specific about the DIR bit.

(I am running FC1 with GNOME and have been a linux user for about 4 weeks maybe)
 
Old 04-15-2004, 03:12 PM   #2
Mr.Bill.Gates
Member
 
Registered: Apr 2004
Location: Moscow, Russia
Distribution: Debian
Posts: 55

Rep: Reputation: 15
Make sure

/usr/X11R6/bin

is in your PATH and try this:

./configure --X-includes=/usr/X11R6/includes --X-libraries=/usr/X11R6/lib
 
Old 05-10-2004, 10:05 PM   #3
meindlj
LQ Newbie
 
Registered: May 2004
Posts: 15

Rep: Reputation: 0
how can I go about adidng it to my path?
 
Old 05-11-2004, 07:06 AM   #4
peacebwitchu
Member
 
Registered: Apr 2004
Distribution: Debian
Posts: 185

Rep: Reputation: 30
If you are using bash you can add it to ~/.bash_profile there should already be a path statement just add to existing one. But this sounds like you don't have the XFree86-devel
package installed.
 
Old 05-11-2004, 10:26 AM   #5
meindlj
LQ Newbie
 
Registered: May 2004
Posts: 15

Rep: Reputation: 0
you were right about the XFree86-devel package missing.....thanks =)
 
  


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
which is the correct directory path? verbatim Programming 1 04-24-2005 11:22 PM
what are the correct path for ksysv, the SysV-Init Editor? Xavius Slackware 1 01-01-2005 03:11 PM
Compiling errors with mythtv... make doesnt find correct path Samppa72 Linux - Software 2 08-17-2004 01:42 PM
adding to path hamish Linux - Software 8 02-05-2004 10:03 PM
please tell me if my path statement is correct on RH 7.3 ergo_sum Linux - Newbie 9 12-12-2003 11:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:36 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
Open Source Consulting | Domain Registration