The story so far - a few fubars and syntax errors in my scripts,
which I eventually sorted. Got into chapter 6 and failed in
the headers check with
/bin/sh: /usr/bin/perl: No such file or directory
Investigation showed that /tools/bin/perl and the symlink were
in place, but /tools/bin/perl was linked to /lib.
At first, I assumed this was another error in my script, and
probably I'd barfed the toolchain adjustments, but everything
else in /tools/bin looks to be correctly linked.
Then, I guessed it was an error in my script, but the patch
is being applied. Configure correctly determines that it is
on linux, but I'm wondering if something causes it to
ignore the linux hint (which is what we patch). Unfortunately,
I don't really understand perl's configurey.
ISTR somebody had a miscompiled perl recently, but I
can't find that thread (google is less than useful today)
and I'm out of ideas for diagnosing how to fix this.
Supporting evidence after latest attempt to rebuild perl:
l...@bluesbreaker ~$ ldd /mnt/lfs/building/perl-5.10.1/perl
linux-vdso.so.1 => (0x00007fff27fff000)
libnsl.so.1 => /lib/libnsl.so.1 (0x00007fd0996ed000)
libdl.so.2 => /lib/libdl.so.2 (0x00007fd0994e9000)
libm.so.6 => /lib/libm.so.6 (0x00007fd099267000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0x00007fd099030000)
libutil.so.1 => /lib/libutil.so.1 (0x00007fd098e2d000)
libc.so.6 => /lib/libc.so.6 (0x00007fd098adb000)
/lib/ld-linux-x86-64.so.2 (0x00007fd099905000
l...@bluesbreaker ~$ grep prefix
/mnt/lfs/building/perl-5.10.1/hints/linux.sh
if test -L ${prefix}/lib/libc.so.6; then
libc=${prefix}/lib/$libc
glibpth="${prefix}/lib"
usrinc="${prefix}/include"
I've already tried adding ${prefix} on the line that uses awk to find
the name of libc, as clfs does and as we have done sometimes in
the past, but it didn't alter the result.
Any suggestions, please ? If it matters, as you can see this is x86_64.
ĸen
--
After tragedy, and farce, "OMG poneys!"
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page