LFS-svn chap 6.7 (gcc: No such file or directory)
zarniwhoop73 at googlemail.com
Sat Sep 4 12:05:17 PDT 2010
2010/9/4 Martin Zajíc <ZAJCA> <zajcaa at gmail.com>:
> Hi, me again
> I have another issue. I'am sure it's my fault but I can't solve it.
> I'am building LFS as my school project and i'am trying write all of it
> in set of bash scripts.
> So I've write scripts for chapter 5 and in chapter 6 I found issue
> that I've do something wrong probably in adjusting toolchain.
> Error is while i'am try build chapter6 Linux-126.96.36.199 API Headers
> "make: gcc: Command not found"
> Both test's are OK. Result is [Requesting program interpreter:
> readelf -l /tools/bin/gcc |grep interpreter
> [Requesting program interpreter: /lib/ld-linux.so.2]
> All my scripts are on github.
> Adjusting toolchain is in
> I saw same issue in mailinglist but since I'am doing all in scripts
> it's result always same
I can't comment on the *comments* in that script, but
a quick look suggests you are doing the same things as
I do. So, perhaps the problem is elsewhere.
We can see that 'make' is apparently found and executable,
but gcc is not. The first steps are: take a sample of packages
from chapter 5 that come after adjusting the toolchain. The
purpose is to see if you installed a binary from the package,
and assuming you did, use ldd on the host to see what it links
Sometimes people accidentally miss one of the packages,
or build it but fail to install it. Other times, people stop the build,
come back, but do not set things up properly and find that one
or more of hte later packages is mislinked.
If make is correctly linked, I particularly wonder if you failed
to install pass 2 of gcc.
After tragedy, and farce, "OMG poneys!"
More information about the lfs-support