> From: Michael Bradshaw <[email protected]>
> To: "[email protected]"
>  <[email protected]>
> Date: Mon, 14 Jul 2014 19:46:03 +0000
> Subject: [lfs-support] LFS 7.5 Chaper 4.4 setting up the environment
>
>
>
> Hello everyone!
>
>
> First LFS build here and I have run into a problem. I'm trying to set up the 
> environment to build in:
>
>
> lfs@AOTdevcom ~ $ cat > ~/.bash_profile << "EOF"
> > exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash
> > EOF
>
> lfs@AOTdevcom ~ $ cat > ~/.bashrc << "EOF"
> > set +h
> > umask 022
> > LFS=/mnt/lfs
> > LC_ALL=POSIX
> > LFS_TGT=$(uname -m)-lfs-linux-gnu
> > export LFS LC_ALL LFS_TGT PATH
> > EOF


Should be:
--
cat > ~/.bashrc << "EOF"
set +h
umask 022
LFS=/mnt/lfs
LC_ALL=POSIX
LFS_TGT=$(uname -m)-lfs-linux-gnu
PATH=/tools/bin:/bin:/usr/bin
export LFS LC_ALL LFS_TGT PATH
EOF
--
; i.e. you missed the 'PATH=...' line.


rgds,
akh




> lfs@AOTdevcom ~ $ source ~/.bash_profile
> dircolors: no SHELL environment variable, and no shell type option given
> lfs@AOTdevcom ~ $
>
>
> I dont understand what went wrong, as far as i can tell it is exactly as the 
> book has it. I looked through all the posts since 7.5 came out, i couldnt 
> find anything specifically over this.
>
>
> my distro that im building the LFS on is Mint 17 XFCE 32 on an old dell laptop
>
>
> thank you for your help ahead of time!
>
>
> -Michael


--
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to