[lfs-book] r12102 - trunk/BOOK/chapter08
Author: xry111 Date: Tue Jan 26 20:43:14 2021 New Revision: 12102 Log: libcap: make the installation like other packages Modified: trunk/BOOK/chapter08/libcap.xml Modified: trunk/BOOK/chapter08/libcap.xml == --- trunk/BOOK/chapter08/libcap.xml Sat Jan 23 08:45:42 2021(r12101) +++ trunk/BOOK/chapter08/libcap.xml Tue Jan 26 20:43:14 2021(r12102) @@ -49,7 +49,7 @@ Compile the package: -make lib=lib +make prefix=/usr lib=lib The meaning of the make option: @@ -58,8 +58,8 @@ lib=lib This parameter sets the library directory to - /lib rather than - /lib64 on x86_64. It has no effect on + /usr/lib rather than + /usr/lib64 on x86_64. It has no effect on x86. @@ -69,13 +69,14 @@ make test -Install the package and do some cleanup: +Install the package and make sure the essential libraries are in +the correct directory: -make lib=lib PKGCONFIGDIR=/usr/lib/pkgconfig install +make prefix=/usr lib=lib install for libname in cap psx; do -chmod -v 755 /lib/lib${libname}.so. -rm -v /lib/lib${libname}.so +mv -v /usr/lib/lib${libname}.so.* /lib ln -sfv ../../lib/lib${libname}.so.2 /usr/lib/lib${libname}.so +chmod -v 755 /lib/lib${libname}.so. done -- http://lists.linuxfromscratch.org/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
[lfs-book] LFS Package Currency Check - 2021-01-26 11:50:01 GMT
Package LFS Upstream Flag acl 2.2.53 2.2.53 attr2.4.48 2.4.48 autoconf2.70 2.70 automake1.16.3 1.16.3 bash5.15.1 bc 3.2.4 3.2.4 binutils2.35.1 2.36 * bison 3.7.4 3.7.5 * bzip2 1.0.8 1.0.8 check 0.15.2 0.15.2 coreutils 8.32 8.32 dbus1.12.201.12.20 dejagnu 1.6.2 1.6.2 diffutils 3.73.7 e2fsprogs 1.45.6 1.45.6 elfutils0.182 0.182 eudev 3.2.9 3.2.9 expat 2.2.10 2.2.10 expect 5.45.4 5.45.4 file5.39 5.39 findutils 4.8.0 4.8.0 flex2.6.4 2.6.4 gawk5.1.0 5.1.0 gcc 10.2.0 10.2.0 gdbm1.19 1.19 gettext 0.21 0.21 glibc 2.32 2.32 gmp 6.2.1 6.2.1 gperf 3.13.1 grep3.63.6 groff 1.22.4 1.22.4 grub2.04 2.04 gzip1.10 1.10 iana-etc20201229 20210115 * inetutils 1.9.4 1.9.4 intltool0.51.0 0.51.0 iproute25.10.0 5.10.0 kbd 2.4.0 2.4.0 kmod28 28 less563563 lfs-bootscripts 20210113 -2 * libcap 2.46 2.47 * libffi 3.33.3 libpipeline 1.5.3 1.5.3 libtool 2.4.6 2.4.6 linux 5.10.7 5.10.10* m4 1.4.18 1.4.18 make4.34.3 man-db 2.9.3 2.9.3 man-pages 5.10 5.10 meson 0.56.2 0.56.2 mpc 1.2.1 1.2.1 mpfr4.1.0 4.1.0 ncurses 6.26.2 ninja 1.10.2 1.10.2 openssl 1.1.1i 1.1.1i patch 2.7.6 2.7.6 perl5.32.0 5.32.1 * pkg-config 0.29.2 0.29.2 procps-ng 3.3.16 3.3.16 psmisc 23.3 23.3 Python 3.9.1 3.9.1 readline8.18.1 sed 4.84.8 shadow 4.8.1 4.8.1 sysklogd1.5.1 1.5.1 systemd 247247 sysvinit2.98 2.98 tar 1.33 1.33 tcl 8.6.11 8.6.11 texinfo 6.76.7 tzdata 2020f 2021a * udev-lfs20171102 20171102 util-linux 2.36.1 2.36.1 vim 8.2.2253 8.2.2411 * XML-Parser 2.46 2.46 xz 5.2.5 5.2.5 zlib1.2.11 1.2.11 zstd1.4.8 1.4.8 -- http://lists.linuxfromscratch.org/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page