diff options
author | Mark Hymers <markh@linuxfromscratch.org> | 2001-12-10 16:40:26 +0000 |
---|---|---|
committer | Mark Hymers <markh@linuxfromscratch.org> | 2001-12-10 16:40:26 +0000 |
commit | 60fd3bbd6fa6b598eb54deda2b7e245c77024aef (patch) | |
tree | 7e9eee26190c1aa659f87c19b7ca919d9dc347c1 /chapter06 | |
parent | 8c5e7152f076d6b68a23e6629a44b49763557f48 (diff) |
[Bug 150] Re-create /bin/sh symlink in chapter 6 + similar things
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1371 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/bash-inst.xml | 2 | ||||
-rw-r--r-- | chapter06/fileutils-inst.xml | 4 | ||||
-rw-r--r-- | chapter06/gcc-inst.xml | 8 |
3 files changed, 12 insertions, 2 deletions
diff --git a/chapter06/bash-inst.xml b/chapter06/bash-inst.xml index 0e113e9e9..08c522099 100644 --- a/chapter06/bash-inst.xml +++ b/chapter06/bash-inst.xml @@ -7,6 +7,8 @@ --bindir=/bin && make && make install && +cd /bin && +ln -sf bash sh && exec /bin/bash --login</userinput></screen></para> </sect2> diff --git a/chapter06/fileutils-inst.xml b/chapter06/fileutils-inst.xml index 8cfabe762..4e7ad9327 100644 --- a/chapter06/fileutils-inst.xml +++ b/chapter06/fileutils-inst.xml @@ -6,7 +6,9 @@ <para><screen><userinput>./configure --prefix=/usr --bindir=/bin \ --libexecdir=/bin && make && -make install</userinput></screen></para> +make install && +cd /usr/bin && +ln -sf ../../bin/install</userinput></screen></para> </sect2> diff --git a/chapter06/gcc-inst.xml b/chapter06/gcc-inst.xml index f9510506f..5e86705cc 100644 --- a/chapter06/gcc-inst.xml +++ b/chapter06/gcc-inst.xml @@ -23,7 +23,13 @@ cd ../gcc-build && ../gcc-&gcc-version;/configure --prefix=/usr --enable-shared \ --enable-languages=c,c++ --enable-threads=posix && make bootstrap && -make install</userinput></screen></para> +make install && +cd /lib && +ln -sf ../usr/bin/cpp && +cd /usr/lib && +ln -sf ../bin/cpp && +cd /usr/bin && +ln -sf gcc cc</userinput></screen></para> </sect2> |