mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
Made extra sure that you need to cd into glibc-&glibc-version; then
unpack (when we're sure that you are in glibc-&glibc-version; then we don't have to use the absolute patch /usr/src/glibc-build when mkdir'ing it and cd'ing into it. git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@791 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
f8b4fad92e
commit
be2942c5fa
@ -2,8 +2,10 @@
|
|||||||
<title>Installation of Glibc</title>
|
<title>Installation of Glibc</title>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
Once glibc has been unpacked as usual, unpack glibc-linuxthreads inside
|
Once glibc has been unpacked as usual and you have cd'ed into the
|
||||||
the glibc-&glibc-version; directory, not in /usr/src
|
glibc-&glibc-version; directory, unpack glibc-linuxthreads inside
|
||||||
|
the glibc-&glibc-version; directory, not in /usr/src as you normally
|
||||||
|
would do.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
<para>
|
<para>
|
||||||
@ -14,8 +16,8 @@ Install Glibc by running the following commands:
|
|||||||
<screen>
|
<screen>
|
||||||
<userinput>mknod -m 0666 /dev/null c 1 3 &&</userinput>
|
<userinput>mknod -m 0666 /dev/null c 1 3 &&</userinput>
|
||||||
<userinput>touch /etc/ld.so.conf &&</userinput>
|
<userinput>touch /etc/ld.so.conf &&</userinput>
|
||||||
<userinput>mkdir /usr/src/glibc-build &&</userinput>
|
<userinput>mkdir ../glibc-build &&</userinput>
|
||||||
<userinput>cd /usr/src/glibc-build &&</userinput>
|
<userinput>cd ../glibc-build &&</userinput>
|
||||||
<userinput>sed s/"\$(PERL)"/"\/usr\/bin\/perl"/ \</userinput>
|
<userinput>sed s/"\$(PERL)"/"\/usr\/bin\/perl"/ \</userinput>
|
||||||
<userinput> ../glibc-&glibc-version;/malloc/Makefile > tmp~ &&</userinput>
|
<userinput> ../glibc-&glibc-version;/malloc/Makefile > tmp~ &&</userinput>
|
||||||
<userinput>mv tmp~ ../glibc-&glibc-version;/malloc/Makefile &&</userinput>
|
<userinput>mv tmp~ ../glibc-&glibc-version;/malloc/Makefile &&</userinput>
|
||||||
|
Loading…
Reference in New Issue
Block a user