On 01/17/2019 02:33 PM, jonetsu wrote:
On Thu, 17 Jan 2019 21:06:24 +0100
Pierre Labastie <[email protected]> wrote:

I think I've proposed a set of commands in my previous message.
Either you have not run them or you have run them and not sent the
result to us. In either case, I cannot help you.

Since there are two very different contexts of execution (ch5 and ch6,
eg. login and chroot), and one of them being at fault, and since you
haven't specified in which context the gcc commands had to be executed,
I have assumed the most important context which is ch6, the chroot.

With that assumption I have posted twice, initially and as a reply, the
output of gcc, which was, again:

./gcc: Command not found

Not once, but twice.


Pierre said to do 'cd /tools/bin; ./gcc -v' If you got command not found, then you have a major problem created in Chapter 5.

Note that if you do 'cd /tools/bin; ls ./gcc' and it finds gcc, missing libraries will also result in the command not found message.

BTW, another common error is that the /tools -> /mnt/lfs/tools symlink is not present and the Chapter 5 packages are installed in the wrong place.

Typically the solution for errors like you describe is to start over and be more careful following the commands in the book.

  -- 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