Estimated build time: 0.26 SBU Estimated required disk space: 5 MB |
Last checked against version 2.5.
Grep is a program used to print lines from a file matching a specified pattern.
Grep installs the following:
egrep (link to grep), fgrep (link to grep) and grep
Last checked against version 2.4.2.
Autoconf: autoconf, autoheader
Automake: aclocal, automake
Bash: sh
Binutils: as, ld
Diffutils: cmp
Fileutils: chmod, install, ls, mkdir, mv, rm
Gettext: msgfmt, xgettext
Gcc: cc, cc1, collect2, cpp0, gcc
Glibc: getconf
Grep: egrep, fgrep, grep
M4: m4
Make: make
Gawk: gawk
Sed: sed
Sh-utils: basename, echo, expr, hostname, sleep, uname
Texinfo: install-info, makeinfo
Textutils: cat, tr
Prepare Grep to be compiled:
LDFLAGS="-static" CPPFLAGS=-Dre_max_failures=re_max_failures2 \ ./configure --prefix=$LFS/static --disable-nls \ --disable-perl-regexp |
The meaning of the configure option is:
--disable-perl-regexp: This configure option makes sure grep is not linked against the PCRE library, which is often only available as a shared library in distributions. Not using this option might result in a compilation error.
Continue with compiling the package:
make |
And finish off installing the package:
make install |