Changeset 72d6a1b for BOOK/final-system/common
- Timestamp:
- Apr 2, 2014, 7:26:57 PM (11 years ago)
- Branches:
- clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
- Children:
- 4c1c923
- Parents:
- bb525ace
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/final-system/common/acl.xml
rbb525ace r72d6a1b 25 25 <title>Installation of ACL</title> 26 26 27 <para os="a">Prepare ACL for compilation:</para> 27 <para os="a">Apply a sed to install the documentation with a versioned 28 directory:</para> 28 29 29 <screen os="b"><userinput> ./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen>30 <screen os="b"><userinput>sed -i -e 's|/@pkg_name@|&-@pkg_version@|' include/builddefs.in</userinput></screen> 30 31 31 <para os="c"> Compile the package:</para>32 <para os="c">Apply a sed to fix a few tests:</para> 32 33 33 <screen os="d"><userinput>make</userinput></screen> 34 <screen os="d"><userinput>sed -i "s:| sed.*::g" test/{sbits-restore,cp,misc}.test</userinput></screen> 35 36 <para os="e">Prepare ACL for compilation:</para> 34 37 35 <para os="e">This package does not come with a test suite.</para>38 <screen os="f"><userinput>./configure --prefix=/usr --libexecdir=/usr/lib</userinput></screen> 36 39 37 <para os=" f">Installthe package:</para>40 <para os="g">Compile the package:</para> 38 41 39 <screen os=" g"><userinput>make install install-dev install-lib</userinput></screen>42 <screen os="h"><userinput>make</userinput></screen> 40 43 41 <para os="h">Move the shared library to <filename class="directory">/lib</filename> 44 <para os="i">The Acl tests need a filesystem which supports access controls 45 after Coreutils has been built with the Acl libraries. Return to this 46 section after Coreutils has been installed. Test the results:</para> 47 48 <screen os="j"><userinput remap="test">make tests</userinput></screen> 49 50 <para os="k">Install the package:</para> 51 52 <screen os="l"><userinput>make install install-dev install-lib</userinput></screen> 53 54 <para os="m">Move the shared library to <filename class="directory">/lib</filename> 42 55 and recreate the symlink in <filename class="directory">/usr/lib</filename>:</para> 43 56 44 <screen os=" i"><userinput>mv -v /usr/lib/libacl.so.* /lib57 <screen os="n"><userinput>mv -v /usr/lib/libacl.so.* /lib 45 58 ln -sfv ../../lib/libacl.so.1 /usr/lib/libacl.so</userinput></screen> 46 59 47 <para os=" j">Set the proper permissions on the shared library:</para>60 <para os="o">Set the proper permissions on the shared library:</para> 48 61 49 <screen os=" k"><userinput>chmod 755 -v /lib/libacl.so.1.1.0</userinput></screen>62 <screen os="p"><userinput>chmod 755 -v /lib/libacl.so.1.1.0</userinput></screen> 50 63 51 64 </sect2>
Note:
See TracChangeset
for help on using the changeset viewer.