Re: LFS6.7

2011-04-24 Thread Andrew Benton
On Sun, 24 Apr 2011 10:08:52 +0530
janu mam janakiramulu.mt...@gmail.com wrote:

  k thanks  for reply
 
  then i did 6.63. Cleaning Up(pageno-192)
 
  root[~]#chroot $LFS /usr/bin/env -i \
 
 HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
 
 PATH=/bin:/usr/bin:/sbin:/usr/sbin \
 
 /bin/bash --login
 
 
 
  result is
 chroot:cannot change root directory to: No such file directory
 whats wrong what i did mistake

Clearly you didn't set the variable $LFS

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


Re: LFS6.7

2011-04-23 Thread William Immendorf
Before I say anything, really, can you please send to the list next
time and not to me or anyone else? There is a reply function on your
mail client - I want you to use that next time. Don't reply above the
message, reply below it. And please trim posts.

Anyway,

On Sat, Apr 23, 2011 at 1:27 AM, janu mam janakiramulu.mt...@gmail.com wrote:
 i started lfs6.7,so i am in middle,i cant skip to 6.8(any way let me finish
 lfs6.7)
 here i have small doubt
Good. But next time, always use the latest version of LFS out there.
   when i type  whole @ chapter  6

  'echo $LFS' its not giving any result,why
 it should display set environment variable
 why did i use wrong that
You are misunderstanding the instructions. $LFS points to the
directory in which the LFS system is mounted. When you are in the
chroot environment, you are in $LFS. So, there is no need for $LFS to
be set.

(to editors: Addendum about this?)
 chroot command @ chroot $LFS /tools/bin/env -i \
 HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
 PATH=/bin:/usr/bin:/sbin:/usr/sbin:/tools/bin \
 /tools/bin/bash --login +h
 do i need to remove -i option in env command
 inside chroot---
No. The -i option of env (according to the man page) means to start
with an empty environment, and that means that extra environment
variables from the host are removed.


-- 
William Immendorf
The ultimate in free computing.
Messages in plain text, please, no HTML.
GPG key ID: 1697BE98
If it's not signed, it's not from me.

--

Every nonfree program has a lord, a master --
and if you use the program, he is your master.  Richard Stallman
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS6.7

2011-04-23 Thread janu mam
 k thanks  for reply

 then i did 6.63. Cleaning Up(pageno-192)

 root[~]#chroot $LFS /usr/bin/env -i \

HOME=/root TERM=$TERM PS1='\u:\w\$ ' \

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

/bin/bash --login



 result is
chroot:cannot change root directory to: No such file directory
whats wrong what i did mistake
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: LFS6.7-Sec6.32 -- 'make' is failing

2010-12-09 Thread Andrew Benton
On Thu, 09 Dec 2010 00:45:26 -0600
Bruce Dubbs bruce.du...@gmail.com wrote:

 Dax Mickelson wrote:
  Do I need to rebuild the packages in between these two builds?  I don't
  remember getting any show stopper errors.  (Those packages are:
  Bash-4.1, Libtool-2.2.10, GDBM-1.8.3).
 
 Probably not.  Readline is installing libraries and headers.  If you 
 didn't get errors, then the programs didn't need the files from readline.
 
Doesn't bash use readline? We configure it --with-installed-readline
ldd says /bin/bash is linked to libreadline.so.6

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


Re: LFS6.7-Sec6.32 -- 'make' is failing

2010-12-08 Thread Dax Mickelson
On Wed, 8 Dec 2010 19:05:24 -0700
Dax Mickelson d...@daxm.net wrote:

 Attached is the output of 'make' failing.  (If you need you can go to
 www.daxm.net/LFS/6.7/Screenshot-6.32-make-errors.png to get it too.)
 
 I don't even have a guess as to what to do.  :-(

According to
http://www.mail-archive.com/bug-inetut...@gnu.org/msg01748.html it
appears that I might have to rebuild gnulib/readline?

... 30 minutes later ...

I reviewed the command history and found that during the readline
install I typoed one of the 'ln -sfv' commands.  So, I rebuilt
readline-6.1 and then rebuilt my inetutils-1.8 with no errors.

Do I need to rebuild the packages in between these two builds?  I don't
remember getting any show stopper errors.  (Those packages are:
Bash-4.1, Libtool-2.2.10, GDBM-1.8.3).




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


Re: LFS6.7-Sec6.32 -- 'make' is failing

2010-12-08 Thread Bruce Dubbs
Dax Mickelson wrote:
 On Wed, 8 Dec 2010 19:05:24 -0700
 Dax Mickelson d...@daxm.net wrote:
 
 Attached is the output of 'make' failing.  (If you need you can go to
 www.daxm.net/LFS/6.7/Screenshot-6.32-make-errors.png to get it too.)

 I don't even have a guess as to what to do.  :-(
 
 According to
 http://www.mail-archive.com/bug-inetut...@gnu.org/msg01748.html it
 appears that I might have to rebuild gnulib/readline?
 
 ... 30 minutes later ...
 
 I reviewed the command history and found that during the readline
 install I typoed one of the 'ln -sfv' commands.  So, I rebuilt
 readline-6.1 and then rebuilt my inetutils-1.8 with no errors.
 
 Do I need to rebuild the packages in between these two builds?  I don't
 remember getting any show stopper errors.  (Those packages are:
 Bash-4.1, Libtool-2.2.10, GDBM-1.8.3).

Probably not.  Readline is installing libraries and headers.  If you 
didn't get errors, then the programs didn't need the files from readline.

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