Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expat Tarball Not Recognized | A REALLY Simple How To Fix #22

Open
jossgamerYT156 opened this issue Aug 22, 2024 · 1 comment
Open

Expat Tarball Not Recognized | A REALLY Simple How To Fix #22

jossgamerYT156 opened this issue Aug 22, 2024 · 1 comment

Comments

@jossgamerYT156
Copy link

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.)

@krglaws
Copy link
Owner

krglaws commented Aug 30, 2024

Hey thanks for pointing that out. This script is a bit out dated, so its no surprise that some packages need to have their versions updated. I'm hoping to update this whole thing to LFS v 12 at some point in the coming months.

As a note for myself, I might consider adding a --multilib build, so that it can support progressing into GLFS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants