Paul Rogers wrote:
I'm catching up to you guys, slowly.  I'm building 7.10.  Chapter 5 ran
smoothly, after catching a few script typos.  I've just started Chapter
6, building the FHS.  Following a successful "install", my build scripts
immediately make a tarball of the as-built install files.  That failed.

An example case copied verbatim from the console log:

I have no name!:/# tar czf dummy.tgz /usr
tar: tar (child): Removing leading `/' from member namesgzip: Cannot
exec
: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: dummy.tgz: Cannot write: Broken pipe
tar: Child returned status 2
tar: Error is not recoverable: exiting now
I have no name!:/# tar cf dummy.tgz /usr
tar: Removing leading `/' from member names
I have no name!:/# ls tools/bin/gzip
tools/bin/gzip
I have no name!:/# ls /tools/bin/gzip
/tools/bin/gzip
I have no name!:/# echo $PATH
bin:/usr/bin:sbin:/usr/sbin:/tools/bin
I have no name!:/#

For some reason the tar installed in Ch5 cannot find gzip.  It exists,
and is in the path.  Tar makes unzipped tarballs without complaint.

Well Paul, someday you will get to the -dev version.  :)

Check both tar and gzip with ldd. At this point you probably need to do that on your host. Look for references to the host in the library paths. At this point everything should be pointing to /tools.

  -- Bruce


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

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style

Reply via email to