mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@787 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
21 lines
559 B
XML
21 lines
559 B
XML
<sect2>
|
|
<title>Installation of Bzip2</title>
|
|
|
|
<para>
|
|
Install Bzip2 by running the following commands:
|
|
</para>
|
|
|
|
<para>
|
|
<screen>
|
|
<userinput>sed \</userinput>
|
|
<userinput> s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) \$(CFLAGS) \$(LDFLAGS) -o"/ \</userinput>
|
|
<userinput> Makefile | make -f - LDFLAGS=-static &&</userinput>
|
|
<userinput>make PREFIX=$LFS/usr install &&</userinput>
|
|
<userinput>cd $LFS/usr/bin &&</userinput>
|
|
<userinput>mv bzcat bunzip2 bzip2 bzip2recover $LFS/bin</userinput>
|
|
</screen>
|
|
</para>
|
|
|
|
</sect2>
|
|
|