Changeset f6528ac8 for chapter06/attr.xml
- Timestamp:
- 07/04/2018 02:41:02 AM (6 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- adcd988
- Parents:
- db1ed01
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/attr.xml
rdb1ed01 rf6528ac8 42 42 <title>Installation of Attr</title> 43 43 44 <para>Modify the documentation directory so that it is a versioned45 directory:</para>46 47 <screen><userinput remap="pre">sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in</userinput></screen>48 49 <para>Prevent installation of manual pages that were already installed by50 the <xref linkend="man-pages"/> package:</para>51 52 <screen><userinput remap="pre">sed -i -e "/SUBDIRS/s|man[25]||g" man/Makefile</userinput></screen>53 54 <para>Fix a problem in the test procedures caused by changes in perl-5.26:</para>55 56 <screen><userinput remap="pre">sed -i 's:{(:\\{(:' test/run</userinput></screen>57 58 44 <para>Prepare Attr for compilation:</para> 59 45 60 <screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr \ 61 --bindir=/bin \ 62 --disable-static</userinput></screen> 46 <screen revision="sysv"><userinput remap="configure">./configure --prefix=/usr \ 47 --bindir=/bin \ 48 --disable-static \ 49 --sysconfdir=/etc \ 50 --docdir=/usr/share/doc/attr-&attr-version;</userinput></screen> 63 51 64 <screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \ 65 --disable-static</userinput></screen> 52 <screen revision="systemd"><userinput remap="configure">./configure --prefix=/usr \ 53 --disable-static \ 54 --sysconfdir=/etc \ 55 --docdir=/usr/share/doc/attr-&attr-version;</userinput></screen> 66 56 67 57 <para>Compile the package:</para> … … 70 60 71 61 <para>The tests need to be run on a filesystem that supports extended 72 attributes such as the ext2, ext3, or ext4 filesystems. The tests are also 73 known to fail if running multiple simultaneous tests (-j option greater than 74 1). To test the results, issue:</para> 62 attributes such as the ext2, ext3, or ext4 filesystems. 63 To test the results, issue:</para> 75 64 76 <screen><userinput remap="test">make -j1 tests root-tests</userinput></screen>65 <screen><userinput remap="test">make check</userinput></screen> 77 66 78 67 <para>Install the package:</para> 79 68 80 <screen><userinput remap="install">make install install-dev install-lib 81 chmod -v 755 /usr/lib/libattr.so</userinput></screen> 69 <screen><userinput remap="install">make install</userinput></screen> 82 70 83 71 <para>The shared library needs to be moved to
Note:
See TracChangeset
for help on using the changeset viewer.