Installation of Grep 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