diff options
Diffstat (limited to 'chapter06/glibc-inst.xml')
-rw-r--r-- | chapter06/glibc-inst.xml | 60 |
1 files changed, 28 insertions, 32 deletions
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index a8c94ce2a..62335ac32 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -10,34 +10,28 @@ Unpack the glibc-linuxthreads in the glibc-&glibc-version; directory, not in Install Glibc by running the following commands: </para> -<blockquote><literallayout> - <userinput>mknod -m 0666 /dev/null c 1 3 &&</userinput> - <userinput>touch /etc/ld.so.conf &&</userinput> - <userinput>mkdir /usr/src/glibc-build &&</userinput> - <userinput>cd /usr/src/glibc-build &&</userinput> - <userinput>sed s/"\$(PERL)"/"\/usr\/bin\/perl"/ \</userinput> - <userinput> ../glibc-&glibc-version;/malloc/Makefile - > tmp~ &&</userinput> - <userinput>mv tmp~ ../glibc-&glibc-version;/malloc/Makefile && - </userinput> - <userinput>sed "s/root/0/" ../glibc-&glibc-version;/login/Makefile - > tmp~ && </userinput> - <userinput>mv 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>sed s/"cross-compiling = yes"/"cross-compiling = no"/ - \</userinput> - <userinput> config.make > config.make~ - &&</userinput> - <userinput>mv config.make~ config.make &&</userinput> - <userinput>make &&</userinput> - <userinput>make install &&</userinput> - <userinput>make localedata/install-locales</userinput> -</literallayout></blockquote> +<para> +<screen> +<userinput>mknod -m 0666 /dev/null c 1 3 &&</userinput> +<userinput>touch /etc/ld.so.conf &&</userinput> +<userinput>mkdir /usr/src/glibc-build &&</userinput> +<userinput>cd /usr/src/glibc-build &&</userinput> +<userinput>sed s/"\$(PERL)"/"\/usr\/bin\/perl"/ \</userinput> +<userinput> ../glibc-&glibc-version;/malloc/Makefile > tmp~ &&</userinput> +<userinput>mv tmp~ ../glibc-&glibc-version;/malloc/Makefile &&</userinput> +<userinput>sed "s/root/0/" ../glibc-&glibc-version;/login/Makefile > tmp~ &&</userinput> +<userinput>mv 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>sed s/"cross-compiling = yes"/"cross-compiling = no"/ \</userinput> +<userinput> config.make > config.make~ &&</userinput> +<userinput>mv config.make~ config.make &&</userinput> +<userinput>make &&</userinput> +<userinput>make install &&</userinput> +<userinput>make localedata/install-locales</userinput> +</screen> +</para> <para> During the configure stage you will see the following warning: @@ -69,10 +63,12 @@ to ensure a properly working bash. Run the following commands to accomplish this: </para> -<blockquote><literallayout> - <userinput>logout</userinput> - &c6-chrootcmd; -</literallayout></blockquote> +<para> +<screen> +<userinput>logout</userinput> +&c6-chrootcmd; +</screen> +</para> </sect2> |