What Next? Chroot
Once you get into the chroot environment, you will get the incredibly annoying PC speaker beep every time you foul up a command.
When compiling glibc in section 6.9, first ensure that there’s no “lib64” directory in your root; for some reason I had a symlink of lib64 pointing to itself. Make sure you’ve run the sed script correctly or the “make install” portion will fail. Specifically, use -Wl (the letter l) in the command, not -W1 (the number 1). After you fix the idiotic transposition of 1 and L, remove both the glibc-build and glibc-2.14.1 directories under /sources and restart section 6.9 from the beginning. If you don’t restart from the beginning, you’ll still get “glibc cannot find dynamic linker” even though the file exists in /lib64.
Keep Watching What You Type
In section 6.10, when running the grep command to ensure the correct startfiles are used, make sure you use [1in] with a one and not [lin] with an L in the command:
grep -o '/usr/lib.*/crt[1in].*succeeded' dummy.log
In section 6.11 and 6.12, I had to run ldconfig before the new libraries were picked up. It seems like the same problem encountered on this mailing list but I’d confirmed that my PATH was set correctly. The same applied for section 6.22; run ldconfig before attempting the configure/make/make install process for E2fsprogs.
For procps-3.2.8, when applying the sed command in chapter 6.27.1, make sure you’ve copied and pasted it (or at least check your typing.) I missed a forward slash in the regex about four times, causing an error during make:
...undefined reference to `get_pid_digits' collect2: ld returned 1 exit status
But hey, at least I have things sort of working:
My next few posts will deal with specific problems with reasonable solutions.
Why didn’t you just not compile in support for PC Speaker? I avoided that option like the plague in my Gentoo install haha
It’s not so bad now that I’m running everything through SSH, but that’s a good point. I’ll deal with that shortly.
Thank you SO much for posting your experience – I did exactly the same mistake – missing the / in my sed command. If you hadn’t have posted this, well, in my ignorance and newbie-ishness, I’d have been stuck for a heckuva long time, so thank you.