C hapter 10.3 make mrproper
Hi,
I am trying to build i686 lfs 11.2 on a Lenovo x61s using an MX 21 host on a USB stick. My mrproper command is: Code:
(lfs chroot) root:/sources/linux-5.19.2# make mrproper Code:
(lfs chroot) root:/sources/linux-5.19.2# ls -l /usr/lib/libz* Code:
(lfs chroot) root:/sources# tar -xvf zlib-1.2.13.tar.xz BTW: all commands are entered into the chroot environment and I have built many lfs systems mostly i686 non-graphical servers (LAMP) Any ideas? TIA, Rick |
try manually removing all the zlib bits, delete the zlib archive and source folder, re-download zlib and try again.
|
I think you may have broken your system running the stripping commands. In the expanded notes on the errata page:
Quote:
|
Thanks Keith, but,
On a hunch thinking that the compiler is now broken after reading lots about the too harsh error message, I picked a package at random (something simple), gawk and tried to build that, starting from untarring then: Code:
(lfs chroot) root:/sources# cd gawk-5.1.1 Code:
checking whether the C compiler works... no Code:
configure: error: C compiler cannot create executables I remember reading that note in the errata but when it came time to strip, I forgot all about it. Also I, of course, thinking that I had no need to do a backup with my experience, plowed straight through. Nice catch. Oh well back to the drawing board. |
I know because a similar thing happend to me before using those stripping commands with a wrong library name. I think it was some other library than zlib, but you take some risk when you don't use released book versions.
Another way i broke gcc was by upgrading ISL which gcc linked to. The only way to fix gcc after the upgrade was copy the old ISL lib from another LFS (lucky i had it). Then I rebuilt gcc and it linked against the new ISL, then I could remove that old ISL library. |
All times are GMT -5. The time now is 05:49 PM. |