-
Notifications
You must be signed in to change notification settings - Fork 30
Description
If you're reading this you probably have issues with Expat when reaching stage 4 of the building process.
Fixing it is as easy as editing 1 file, that of course if you don't mind doing some bit of nano.
edit file packages.sh in line:17:export PKG_EXPAT=
normally it would have the link for version "2.5.0"
that version is slightly old by now, so i would recommend changing the link to something like 2.6.2 or newer if given the case.
other possible fix is to go to the LFS' Sources directory(./mnt/lfs/sources) and using sudo wget [LINK_TO_NEW_EXPAT_VERSION] then remove the old version and use mv to rename it to 2.5.0, this way it will untar the new version as the old one, and build it as normal.
(NOTE: this last one worked for me more out of the box, as well it was the most simple of these, if we don't count that editing one file is fairly simple already)
Hope someone out there finds this small note useful!.
OS Tested on: Debian GNU/Linux 12 x86_64 (Minimal Installation | NO-GUI.)