blob: c7d383142ae8d528c99ec8c424ef5a26179b09e6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
<sect2><title> </title><para> </para></sect2>
<sect2>
<title>Installation of Bzip2</title>
<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>
<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>
</sect2>
|