LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
LinkBack Search this Thread
Old 07-07-2004, 05:09 PM   #1
cuco76
Member
 
Registered: Oct 2003
Location: Tucson
Distribution: Fedora, RHEL 5
Posts: 220

Rep: Reputation: 31
PATH Problems BLFS XFree86


Hello and Good Day!

Got the latest LFS5.1.1 up and running with no issues! I have done this successfully many times and so I wanted to get further into LFS so I have been following blfs.

I got to the point where I thought I could get Xinstalled. XFree86 installed with no issues i ran ldconfig and that worked as it should. However when I run 'XFree86 -configure' I get the error that it is not there. I am thinking that my paths are not set up right because if I do '/usr/X11/yad/yada/XFree86 then i get the results i need. The problem is that startx is not in my path along with everything else that X uses.

I had followed all of the page that setup the bash shell. It seems that the scripts aren't running becuase it is not setting my path. Here is the script that I believe sets up the paths for X.

cat > /etc/profile.d/X.sh << "EOF"
if [ -x /usr/X11R6/bin/X ]; then
pathappend /usr/X11R6/bin
fi
if [ -d /usr/X11R6/lib/pkgconfig ] ; then
pathappend /usr/X11R6/lib/pkgconfig PKG_CONFIG_PATH
fi
EOF

it is in my /etc/profile.d but it is not working. I was wondering if anyone can help, as I am not sure where else to put the path statement for '/usr/X11R6/bin' I don't mind doing it manually but I am not sure where to add it to etc/profile and what else the line would have to say. Also, since the path is not working I am presuming that the:
f [ -d /usr/X11R6/lib/pkgconfig ] ; then
pathappend /usr/X11R6/lib/pkgconfig PKG_CONFIG_PATH
is not working either. I would like to solve the script issue because I would like to be able to use the other scripts tha blfs provides for bash.

Any suggestions or past experience with BLFS 5.1. I didn't find any current isssues with this release but I may not have looked in the right place!

thanks,
 
Old 07-07-2004, 05:50 PM   #2
Not now, John!
Member
 
Registered: Jul 2004
Distribution: LFS 5.1
Posts: 161

Rep: Reputation: 30
Try "chmod ug+x *" in /etc/profile.d directory.
I had similar problems and this command solved them.
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems with heimdal in BLFS Bertil Linux From Scratch 1 10-16-2005 06:17 AM
PATH problems.. please help n3wb1e Linux - Newbie 4 10-17-2003 10:15 PM
BLFS: libxslt 1.0.30/.31 Compiling Problems Azmeen Linux From Scratch 1 07-26-2003 10:53 AM
BLFS: XFree86; TDFX(0) Cannot open /dev/mem. And some other related questions SparceMatrix Linux From Scratch 1 06-14-2003 02:38 PM
xmkmf path/to/your/xfree86/tree pkdk657 Slackware 17 03-14-2003 10:47 PM


All times are GMT -5. The time now is 09:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration