Bruce Dubbs wrote:

Jay D. McHugh wrote:
I had trouble installing NAS on my newly build LFS (development) system.

Until I found this note from Richard that mentioned the problem:

http://archives.linuxfromscratch.org/mail-archives/blfs-dev/2003-October/004396.html


There was a reply from Tushar that said the problem was fixed - Can
someone tell me where the fix is?

When I do the install of a package I usually just use a regular 'su' and
execute the installation commands.  The path that I get doesn't include
/usr/X11R6/bin.  Here is the path that I have after su'ing:

PATH=/sbin:/bin:/usr/sbin:/usr/bin

Can someone point me to what I missed?

How are you using su?  If you are doing su, it will use your existing
PATH.  If you are using su -, it will run /etc/profile and
/root/.bash_profile.  Somewhere in there you need to set the PTH to
include /usr/X11R6/bin.  Take a look at
http://www.linuxfromscratch.org/blfs/view/cvs/postlfs/profile.html

 -- Bruce
I was just doing 'su' without the '-'. And I was expecting that I would just get my existing path. But that isn't what is happening.

It must be a consequence of doing the build and install while in a chroot environment.

Thanks for the feedback Bruce,

Jay
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to