lfs-rpmify/README.md
YellowJacketLinux d6e0d3be8c clarification
2024-10-16 01:08:54 -07:00

2.8 KiB
Raw Blame History

Building RPM in LFS 12.2

This git is for the scripts needed to build the dependencies for the RPM Package Manager (RPM) within a LFS 12.2 system. This is Phase Three in THE-PLAN.md.

First I am attempting to build RPM 4.18.x as I successfully built that version of RPM on LFS 11.3. However that version of RPM is EOL so once I get it building I will not install it but instead look to see if I can the modern version of RPM to build. I believe they changed the build system to CMake so there will almost be some additional dependencies needed.

Dependency One: UnZip

Justification: Needed to build SQLite 3 (to unpack the documentation). No build dependencies outside of LFS.

Dependency Two: SQLite3

Justification: Needed to build RPM itself. Depends upon UnZip for documentation.

Dependency Three: libgpg-error

Justification: Needed to build libgcrypt. No build dependencies outside of LFS.

Dependency Four: libgcrypt

Justification: Needed to build RPM itself. Depends upon libgpg-error.

Dependency Five: popt

Justification: Needed to build RPM itself. No build dependencies outside of LFS.

Dependency Six: ICU

Justification: Needed to build libxml2. No build dependencies outside of LFS.

Dependency Seven: libxml2

Justification: Needed for libarchive. Depends on ICU.

Dependency Eight: LZO

Justification: Needed for libarchive. No build dependencies outside of LFS.

Dependency Nine: nettle

Justification: Needed for libarchive. No build dependencies outside of LFS.

Dependency Ten: pcre2

Justification: Needed for libarchive. No build dependencies outside of LFS.

Dependency Eleven: libarchive

Justification: Needed to build RPM. Depends upon libxml2, LZO, Nettle, and pcre2.

Dependency Twelve: Lua

Justification: Needed to build RPM. No build dependencies outside of LFS.