LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   PATH Problems BLFS XFree86 (https://www.linuxquestions.org/questions/linux-from-scratch-13/path-problems-blfs-xfree86-202318/)

cuco76 07-07-2004 05:09 PM

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,

Not now, John! 07-07-2004 05:50 PM

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


All times are GMT -5. The time now is 03:31 AM.