2003-01-17 02:59:00 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Bzip2</title>
|
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>Prepare Bzip2 for compilation with:</para>
|
2003-01-17 02:59:00 +00:00
|
|
|
|
2003-05-13 08:38:47 +01:00
|
|
|
<para><screen><userinput>make -f Makefile-libbz2_so
|
2003-05-11 18:03:47 +01:00
|
|
|
make clean</userinput></screen></para>
|
2003-01-17 02:59:00 +00:00
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>The <emphasis>-f</emphasis> flag will cause Bzip2 to be built
|
2003-01-19 15:36:47 +00:00
|
|
|
using a different <filename>Makefile</filename> file, in this case the
|
|
|
|
<filename>Makefile-libbz2_so</filename> file, which creates a dynamic
|
|
|
|
<filename>libbz2.so</filename> library and links the bzip2 utilities
|
|
|
|
against it.</para>
|
2003-01-17 02:59:00 +00:00
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>Compile the package:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-01-19 15:36:47 +00:00
|
|
|
<para><screen><userinput>make</userinput></screen></para>
|
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>Install it:</para>
|
2003-01-19 15:36:47 +00:00
|
|
|
|
|
|
|
<para><screen><userinput>make install</userinput></screen></para>
|
|
|
|
|
2003-08-30 00:20:23 +01:00
|
|
|
<para>And install the shared <userinput>bzip2</userinput> binary into the
|
|
|
|
<filename class="directory">/bin</filename> directory, then make some
|
|
|
|
necessary symbolic links, and clean up.</para>
|
2003-01-19 15:36:47 +00:00
|
|
|
|
2003-05-13 08:38:47 +01:00
|
|
|
<para><screen><userinput>cp bzip2-shared /bin/bzip2
|
|
|
|
cp -a libbz2.so* /lib
|
|
|
|
ln -s ../../lib/libbz2.so.1.0 /usr/lib/libbz2.so
|
|
|
|
rm /usr/bin/{bunzip2,bzcat,bzip2}
|
|
|
|
mv /usr/bin/{bzip2recover,bzless,bzmore} /bin
|
|
|
|
ln -s bzip2 /bin/bunzip2
|
2003-01-19 15:36:47 +00:00
|
|
|
ln -s bzip2 /bin/bzcat</userinput></screen></para>
|
2003-01-17 02:59:00 +00:00
|
|
|
|
|
|
|
</sect2>
|