On Monday 16 January 2006 19:45, kshama shepal wrote: > Hi, > (sorry...i forgot to write subject in my first mail) > > I am building an LFS system as my Project > assignment.But while building packages ,following > errors encounterd.please help if anyone can solve this > problem- > > -while building 'Binutils pass 1' in chapter 5- Did you exactly do what's written in the book?
mke2fs /dev/hda10 export LFS=/mnt/lfs echo $LFS mkswap /dev/hda12 mkdir -p $LFS mount /dev/hda10 $LFS mount mkdir $LFS/sources chmod a+wt $LFS/sources mkdir $LFS/tools ln -s $LFS/tools / groupadd lfs useradd -s /bin/bash -g lfs -m -k /dev/null lfs passwd lfs chown lfs $LFS/tools chown lfs $LFS/sources su - lfs export LFS=/mnt/lfs echo $LFS cat > ~/.bash_profile << "EOF" exec env -i HOME=$HOME TERM=$TERM PS1='\u:\w\$ ' /bin/bash EOF cat > ~/.bashrc << "EOF" set +h umask 022 LFS=/mnt/lfs LC_ALL=POSIX PATH=/tools/bin:/bin:/usr/bin export LFS LC_ALL PATH source ~/.bash_profile ^^^^^^^^^^^^^^^^^^^^^^^^^^^From now on you can start "tar" Using the liveCD what I really strongly recommend the prompt turns from being coloured into gray. A very usefull thing for controll. If you go to sources and ls -lisa shows colours, mistake! Even the prompt shows: lfslivecd: lfs | ................ And! All the files in $LFS/sources are owned by 1001 and group 102. If not, better start again. pwd whoami echo $LFS mount ^^^^^^^^^^^You should do this quite often > please help. > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com -- http://linuxfromscratch.org/mailman/listinfo/lfs-chat FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page
