Installing Bzip2-1.0.2

Estimated build time:           0.07 SBU
Estimated required disk space:  6 MB

Contents of Bzip2

Last checked against version 1.0.2

Bzip2 is a block-sorting file compressor which generally achieves a better compression than the traditional gzip does.

Bzip2 installs the following files:

Program Files

bunzip2 (link to bzip2), bzcat (link to bzip2), bzcmp, bzdiff, bzegrep, bzfgrep, bzgrep, bzip2, bzip2recover, bzless and bzmore

Library Files

libbz2.a, libbz2.so (link to libbz2.so.1.0), libbz2.so.1.0 (link to libbz2.so.1.0.2) and libbz2.so.1.0.2

 

Bzip2 Installation Dependencies

Last checked against version 1.0.1.

Bash: sh
Binutils: ar, as, ld, ranlib
Fileutils: cp, ln, rm
Gcc: cc1, collect2, cpp0, gcc
Make: make

 

Installation of Bzip2

Since the Bzip2 package has no configure script we can't prepare it for compilation. Instead we just run the make program and start compiling, with a few variables changed to suit our environment:

make CC="gcc -static -s"

The meaning of the make option is:

And finish off installing the package:

make PREFIX=$LFS/static install

The meaning of the make option is: