diff options
Diffstat (limited to 'chapter05')
-rw-r--r-- | chapter05/grep-inst.xml | 5 | ||||
-rw-r--r-- | chapter05/shellutils-inst.xml | 4 | ||||
-rw-r--r-- | chapter05/textutils-inst.xml | 2 |
3 files changed, 6 insertions, 5 deletions
diff --git a/chapter05/grep-inst.xml b/chapter05/grep-inst.xml index 22102fd1d..92dc5208e 100644 --- a/chapter05/grep-inst.xml +++ b/chapter05/grep-inst.xml @@ -8,7 +8,7 @@ can also be used for other glibc versions so if you aren't sure, then use the first version.</para> <para><screen><userinput>export CPPFLAGS=-Dre_max_failures=re_max_failures2 && -./configure --prefix=$LFS/usr --disable-nls && +./configure --prefix=$LFS/usr --disable-nls --bindir=$LFS/bin && unset CPPFLAGS && make LDFLAGS=-static && make install</userinput></screen></para> @@ -16,7 +16,8 @@ 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 Grep:</para> -<para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls && +<para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls \ + --bindir=$LFS/bin && make LDFLAGS=-static && make install</userinput></screen></para> diff --git a/chapter05/shellutils-inst.xml b/chapter05/shellutils-inst.xml index 03619e480..d449d03d2 100644 --- a/chapter05/shellutils-inst.xml +++ b/chapter05/shellutils-inst.xml @@ -18,8 +18,8 @@ best to apply it.</para> make LDFLAGS=-static && make install && cd $LFS/usr/bin && -mv date echo false pwd stty $LFS/bin && -mv true uname hostname $LFS/bin</userinput></screen></para> +mv basename date echo false hostname $LFS/bin && +mv pwd sleep stty su test true uname $LFS/bin &&</userinput></screen></para> </sect2> diff --git a/chapter05/textutils-inst.xml b/chapter05/textutils-inst.xml index d9ad8c448..08c544b75 100644 --- a/chapter05/textutils-inst.xml +++ b/chapter05/textutils-inst.xml @@ -6,7 +6,7 @@ <para><screen><userinput>./configure --prefix=$LFS/usr --disable-nls && make LDFLAGS=-static && make install && -mv $LFS/usr/bin/cat $LFS/bin</userinput></screen></para> +mv $LFS/usr/bin/cat $LFS/usr/bin/head $LFS/bin</userinput></screen></para> </sect2> |