On Wed, Jul 16, 2014 at 05:30:05PM +0000, Michael Bradshaw wrote: > im still having the same problem: > > 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 > > PATH=/tools/bin:/bin:/usr/bin > > export LFS LC_ALL LFS_TGT PATH > > EOF > lfs@AOTdevcom ~ $ source ~/.bash_profile > dircolors: no SHELL environment variable, and no shell type option given > lfs@AOTdevcom ~ $ > Please note: we do NOT like people who top-post on lfs lists, and after a while some of us will stop caring about your posts. If you have to use brain-damaged mailers, such as on phones or in webmail, we might make allowances - but your mailer is hiding its identity so for the moment I will assume you are wilfully following the mickeysoft way of doing things ;)
Now, you said below that you are using mint (with xfce). Mint is derived from 'buntu (insert old "friends don't let friends use ubuntu" joke - I'm actually replying from an old ubuntu system on my underpowered netbook, using ssh to connect to my home server where the mail is, so this really *is* a joke) and therefore you *really* need to run version-check.sh from the Host System Requirements in the preface. There are a number of potential issues when building from ubuntu or any other debian-derived distro, and in this context I guess that dash, or perhaps distro scripts to allow for multiple shells, might be involved. I have only rarely used dash, which seems to be standard in ubuntu and perhaps even in debian, but I have seen strange errors when trying to set environment variables on the way into chroot from systemrescuecd (when I had copied an existing LFS to a new machine and was chrooting to set up grub) which I think uses zsh, so I assume this is probably a shell problem. You might also try adding SHELL=/bin/bash to your command. One further thought : was that an error (the command failed) or just a warning ? Try 'echo $?' _immediately_ after running that command : 1 shows there was an error, 0 is ok. ĸen > ________________________________________ > From: lfs-support <lfs-support-boun...@lists.linuxfromscratch.org> on behalf > of akhiezer <lf...@cruziero.com> > Sent: Monday, July 14, 2014 3:20 PM > To: LFS Support List > Subject: Re: [lfs-support] LFS 7.5 Chaper 4.4 setting up the environment > > > From: Michael Bradshaw <mjb3...@ksu.edu> > > To: "lfs-support@lists.linuxfromscratch.org" > > <lfs-support@lists.linuxfromscratch.org> > > 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 > -- > http://lists.linuxfromscratch.org/listinfo/lfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page -- Nanny Ogg usually went to bed early. After all, she was an old lady. Sometimes she went to bed as early as 6 a.m. -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page