2003-01-11 16:43:41 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
|
|
|
<title>Installation of Bzip2</title>
|
|
|
|
|
2003-01-11 16:43:41 +00:00
|
|
|
<para>Since the Bzip2 package has no configure script we can't prepare it
|
|
|
|
for compilation. Instead we just run the <userinput>make</userinput>
|
|
|
|
program and start compiling, with a few variables changed to suit our
|
|
|
|
environment:</para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2003-05-02 19:20:20 +01:00
|
|
|
<para><screen><userinput>make -f Makefile-libbz2_so
|
|
|
|
make LDFLAGS="-s"
|
|
|
|
make check
|
|
|
|
make PREFIX=/stage1 install
|
|
|
|
yes | cp bzip2-shared /stage1/bin/bzip2
|
|
|
|
ln -s libbz2.so.1.0 libbz2.so
|
|
|
|
cp -a libbz2.so* /stage1/lib
|
|
|
|
rm -f /stage1/bin/{bunzip2,bzcat}
|
|
|
|
ln -s bzip2 /stage1/bin/bunzip2
|
|
|
|
ln -s bzip2 /stage1/bin/bzcat</userinput></screen></para>
|
2003-01-11 16:43:41 +00:00
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect2>
|
|
|
|
|