mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-07-20 19:25:03 +01:00
Bug 235
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1368 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
7fe22dd2e6
commit
8ac7439477
@ -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>
|
||||
|
||||
|
@ -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>
|
||||
|
@ -4,7 +4,7 @@
|
||||
<para>Install Diffutils by running the following commands:</para>
|
||||
|
||||
<para><screen><userinput>./configure --prefix=/usr &&
|
||||
make &&
|
||||
make PR_PROGRAM=/usr/bin/pr &&
|
||||
make install</userinput></screen></para>
|
||||
|
||||
</sect2>
|
||||
|
Loading…
Reference in New Issue
Block a user