diff options
author | Marc Heerdink <gimli@linuxfromscratch.org> | 2001-12-10 13:42:42 +0000 |
---|---|---|
committer | Marc Heerdink <gimli@linuxfromscratch.org> | 2001-12-10 13:42:42 +0000 |
commit | 8ac74394772c35626799ce34100df0decdb7fc04 (patch) | |
tree | e17becb54665a714f617762dcff471a170379631 /chapter05 | |
parent | 7fe22dd2e62ed9fbb30e6c56d7c970803d026909 (diff) |
Bug 235
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1368 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/diffutils-exp.xml | 5 | ||||
-rw-r--r-- | chapter05/diffutils-inst.xml | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/chapter05/diffutils-exp.xml b/chapter05/diffutils-exp.xml index 4dc40ea07..5bc78f769 100644 --- a/chapter05/diffutils-exp.xml +++ b/chapter05/diffutils-exp.xml @@ -9,5 +9,10 @@ before handing the source file to the compiler itself for compilation. This package has problems linking statically on systems that run an older Glibc version and this construction fixes that problem.</para> +<para><userinput>PR_PROGRAM=/usr/bin/pr:</userinput> When 'diff' is called +with the '-i' flag, it tries to find 'pr' at the location specified with the +PR_PROGRAM variable. By default, this variable points to '/bin/pr', but since +we install 'pr' in /usr/bin, we need to change this.</para> + </sect2> diff --git a/chapter05/diffutils-inst.xml b/chapter05/diffutils-inst.xml index d0266cf73..f8b9e1521 100644 --- a/chapter05/diffutils-inst.xml +++ b/chapter05/diffutils-inst.xml @@ -10,14 +10,14 @@ use the first version.</para> <para><screen><userinput>export CPPFLAGS=-Dre_max_failures=re_max_failures2 && ./configure --prefix=$LFS/usr && unset CPPFLAGS && -make LDFLAGS=-static && +make LDFLAGS=-static PR_PROGRAM=/usr/bin/pr && make install</userinput></screen></para> <para>If you are using a newer glibc version (2.2.x), you can use the following commands to install Diffutils:</para> <para><screen><userinput>./configure --prefix=$LFS/usr && -make LDFLAGS=-static && +make LDFLAGS=-static PR_PROGRAM=/usr/bin/pr && make install</userinput></screen></para> </sect2> |