Skip to content

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

@jossgamerYT156

Description

@jossgamerYT156

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions