mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-20 05:57:43 +00:00
bc82645e95
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2490 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
24 lines
680 B
XML
24 lines
680 B
XML
<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>
|
|
|