The popt package contains the popt libraries which are used by some programs to parse command-line options.
This package is known to build and work properly using an LFS-10.1 platform.
Download (HTTP): http://ftp.rpm.org/popt/releases/popt-1.x/popt-1.18.tar.gz
Download (FTP): ftp://ftp.rpm.org/pub/rpm/popt/releases/popt-1.x/popt-1.18.tar.gz
Download MD5 sum: 450f2f636e6a3aa527de803d0ae76c5a
Download size: 567 kB
Estimated disk space required: 8.7 MB (includes installing documentation)
Estimated build time: 0.1 SBU
Doxygen-1.9.1 (for generating documentation)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/popt
Install popt by running the following commands:
./configure --prefix=/usr --disable-static && make
If you have Doxygen-1.9.1 installed and wish to build the API documentation, issue:
sed -i 's@\./@src/@' Doxyfile && doxygen
To test the results, issue: make check.
Now, as the root
user:
make install && mv /usr/lib/libpopt.so.* /lib && ln -sfv ../../lib/$(readlink /usr/lib/libpopt.so) /usr/lib/libpopt.so
If you built the API documentation, install it using the following
commands issued by the root
user:
install -v -m755 -d /usr/share/doc/popt-1.18 && install -v -m644 doxygen/html/* /usr/share/doc/popt-1.18
--disable-static
: This
switch prevents installation of static versions of the libraries.
mv /usr/lib/libpopt.so.*
/lib and ln -sfv
...: Moves the popt library on the root filesystem,
so it is avaliable in case /usr
is
offline and efibootmgr-17 is installed and linked to
popt.
Last updated on 2021-03-31 23:55:54 -0500