Changes in chapter08/libcap.xml [577ac46:0ebda11]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/libcap.xml
r577ac46 r0ebda11 44 44 <title>Installation of Libcap</title> 45 45 46 <para>First, fix an upstream oversight in the latest release:</para>47 48 <screen><userinput remap="pre">sed -i 's/ $(PROGS)/& capsh/' progs/Makefile</userinput></screen>49 50 46 <para>Prevent static libraries from being installed:</para> 51 47 … … 83 79 84 80 </sect2> 81 82 <!-- - - - - - - - - - --> 83 <!-- Multilib - 32bit --> 84 <!-- - - - - - - - - - --> 85 86 <sect2 arch="ml_32,ml_all" role="installation"> 87 <title>Installation of Libcap - 32bit</title> 88 89 <para>Clean previous build:</para> 90 91 <screen><userinput remap="pre">make distclean</userinput></screen> 92 93 <para>Compile the package:</para> 94 95 <screen><userinput remap="make">make CC="gcc -m32 -march=i686"</userinput></screen> 96 97 <para>Install the package:</para> 98 99 <screen><userinput remap="install">make lib=lib32 prefix=$PWD/DESTDIR/usr -C libcap install 100 cp -Rv DESTDIR/usr/lib32/* /usr/lib32 101 sed -e "s|^libdir=.*|libdir=/usr/lib32|" -i /usr/lib32/pkgconfig/lib{cap,psx}.pc 102 chmod -v 755 /usr/lib32/libcap.so.&libcap-version; 103 rm -rf DESTDIR</userinput></screen> 104 105 </sect2><!-- m32 --> 106 107 <!-- - - - - - - - - - --> 108 <!-- Multilib - x32bit --> 109 <!-- - - - - - - - - - --> 110 111 <sect2 arch="ml_x32,ml_all" role="installation"> 112 <title>Installation of Libcap - x32bit</title> 113 114 <para>Clean previous build:</para> 115 116 <screen><userinput remap="pre">make distclean</userinput></screen> 117 118 <para>Compile the package:</para> 119 120 <screen><userinput remap="make">make CC="gcc -mx32 -march=x86-64"</userinput></screen> 121 122 <para>Install the package:</para> 123 124 <screen><userinput remap="install">make lib=libx32 prefix=$PWD/DESTDIR/usr -C libcap install 125 cp -Rv DESTDIR/usr/libx32/* /usr/libx32 126 sed -e "s|^libdir=.*|libdir=/usr/libx32|" -i /usr/libx32/pkgconfig/lib{cap,psx}.pc 127 chmod -v 755 /usr/libx32/libcap.so.&libcap-version; 128 rm -rf DESTDIR</userinput></screen> 129 130 </sect2><!-- mx32 --> 85 131 86 132 <sect2 id="contents-libcap" role="content">
Note:
See TracChangeset
for help on using the changeset viewer.