5.16. Installing Patch-2.5.4

Estimated build time:           0.10 SBU
Estimated required disk space:  3 MB

5.16.1. Installation of Patch

Install Patch by running the following commands:

CPPFLAGS=-D_GNU_SOURCE \
    ./configure --prefix=$LFS/static &&
make LDFLAGS=-static &&
make install

5.16.2. Command explanations

CPPFLAGS=-D_GNU_SOURCE: This flag fixes installation problems of this package on PPC and m68k platforms (that we know of). It doesn't hurt compilation on other platforms, such as x86, so we do it by default.

5.16.3. Contents of Patch

Last checked against version 2.5.4.

5.16.4. Patch Installation Dependencies

Last checked against version 2.5.4.

Bash: sh
Binutils: as, ld
Diffutils: cmp
Fileutils: chmod, install, mv, rm
Gcc: cc, cc1, collect2, cpp0, gcc
Glibc: getconf
Grep: egrep, grep
Make: make
Sed: sed
Sh-utils: echo, expr, hostname, uname
Textutils: cat, tr