LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (http://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   LFS 5.0 Chapter 5 (http://www.linuxquestions.org/questions/linux-from-scratch-13/lfs-5-0-chapter-5-a-119171/)

cuco76 11-23-2003 11:14 AM

LFS 5.0 Chapter 5
 
:)

I seem to be having tons of trouble and I am not sure why.

I am not sure if this is right but I have to run the 'export LFS=/mnt/lfs' command every time i exit my term or when I su to root. Kinda wierd. I fi don't when I 'echo $LFS' i get a blank line
'
[root@fedora]#echo $LFS

[root@fedora]#
'

I keep getting this error now.
'
[root@fedora lfs]# ln -s $LFS/tools /
ln: `//tools': cannot overwrite directory
'

If anyone has ideas, please let me know!

Thanks,

fr0zen 11-23-2003 11:28 PM

Yes, that makes sense because export doesn't create the variable as a permanent alias for /mnt/lfs.

If you want to do that, you need to edit your .bash_profile file in your home directory, with "export LFS=/mnt/lfs" as a line placed where ever.


All times are GMT -5. The time now is 03:14 PM.