Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 04-15-2004, 03:33 PM   #1
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"
"# ./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, 04:12 PM   #2
Registered: Apr 2004
Location: Moscow, Russia
Distribution: Debian
Posts: 55

Rep: Reputation: 15
Make sure


is in your PATH and try this:

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

Rep: Reputation: 0
how can I go about adidng it to my path?
Old 05-11-2004, 08:06 AM   #4
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, 11:26 AM   #5
LQ Newbie
Registered: May 2004
Posts: 15

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


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

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

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration