|
@@ -49,7 +49,7 @@
|
|
|
|
|
|
<para>Compile the package:</para>
|
|
|
|
|
|
-<screen><userinput remap="make">make lib=lib</userinput></screen>
|
|
|
+<screen><userinput remap="make">make prefix=/usr lib=lib</userinput></screen>
|
|
|
|
|
|
<variablelist>
|
|
|
<title>The meaning of the make option:</title>
|
|
@@ -58,8 +58,8 @@
|
|
|
<term><parameter>lib=lib</parameter></term>
|
|
|
<listitem>
|
|
|
<para>This parameter sets the library directory to
|
|
|
- <filename>/lib</filename> rather than
|
|
|
- <filename>/lib64</filename> on x86_64. It has no effect on
|
|
|
+ <filename>/usr/lib</filename> rather than
|
|
|
+ <filename>/usr/lib64</filename> on x86_64. It has no effect on
|
|
|
x86.</para>
|
|
|
</listitem>
|
|
|
</varlistentry>
|
|
@@ -69,13 +69,14 @@
|
|
|
|
|
|
<screen><userinput remap="test">make test</userinput></screen>
|
|
|
|
|
|
- <para>Install the package and do some cleanup:</para>
|
|
|
+ <para>Install the package and make sure the essential libraries are in
|
|
|
+ the correct directory:</para>
|
|
|
|
|
|
-<screen><userinput remap="install">make lib=lib PKGCONFIGDIR=/usr/lib/pkgconfig install
|
|
|
+<screen><userinput remap="install">make prefix=/usr lib=lib install
|
|
|
for libname in cap psx; do
|
|
|
- chmod -v 755 /lib/lib${libname}.so.&libcap-version;
|
|
|
- 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.&libcap-version;
|
|
|
done</userinput></screen>
|
|
|
|
|
|
</sect2>
|