diff options
Diffstat (limited to 'chapter06/glibc-inst.xml')
-rw-r--r-- | chapter06/glibc-inst.xml | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index ec3767dcb..3b5d40309 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -10,20 +10,21 @@ would do.</para> <para><screen><userinput>mknod -m 0666 /dev/null c 1 3 &&</userinput> <userinput>touch /etc/ld.so.conf &&</userinput> +<userinput>cp -f malloc/Makefile \</userinput> +<userinput> malloc/Makefile.backup &&</userinput> +<userinput>sed 's%\$(PERL)%/usr/bin/perl%' \</userinput> +<userinput> malloc/Makefile > tmp~ &&</userinput> +<userinput>mv -f tmp~ malloc/Makefile &&</userinput> +<userinput>cp -f login/Makefile \</userinput> +<userinput> login/Makefile.backup &&</userinput> +<userinput>sed 's/root/0/' login/Makefile > tmp~ &&</userinput> +<userinput>mv -f tmp~ login/Makefile &&</userinput> <userinput>mkdir ../glibc-build &&</userinput> <userinput>cd ../glibc-build &&</userinput> -<userinput>cp -f ../glibc-&glibc-version;/malloc/Makefile \</userinput> -<userinput> ../glibc-&glibc-version;/malloc/Makefile.backup &&</userinput> -<userinput>sed 's%\$(PERL)%/usr/bin/perl%' \</userinput> -<userinput> ../glibc-&glibc-version;/malloc/Makefile > tmp~ &&</userinput> -<userinput>mv -f tmp~ ../glibc-&glibc-version;/malloc/Makefile &&</userinput> -<userinput>cp -f ../glibc-&glibc-version;/login/Makefile \</userinput> -<userinput> ../glibc-&glibc-version;/login/Makefile.backup &&</userinput> -<userinput>sed 's/root/0/' ../glibc-&glibc-version;/login/Makefile > tmp~ &&</userinput> -<userinput>mv -f tmp~ ../glibc-&glibc-version;/login/Makefile &&</userinput> <userinput>../glibc-&glibc-version;/configure \</userinput> <userinput> --prefix=/usr --enable-add-ons \</userinput> <userinput> --libexecdir=/usr/bin &&</userinput> +<userinput>cp -f config.make config.make.backup &&</userinput> <userinput>sed 's/cross-compiling = yes/cross-compiling = no/' \</userinput> <userinput> config.make > config.make~ &&</userinput> <userinput>mv -f config.make~ config.make &&</userinput> |