diff options
Diffstat (limited to 'chapter06/glibc-inst.xml')
-rw-r--r-- | chapter06/glibc-inst.xml | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index 83f614ed4..b45aa55b5 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -20,19 +20,19 @@ flags.</para> <para>Then apply the same patch we used previously:</para> -<para><screen><userinput>patch -Np1 -i ../&glibc-sscanf-patch;</userinput></screen></para> +<screen><userinput>patch -Np1 -i ../&glibc-sscanf-patch;</userinput></screen> <para>The Glibc documentation recommends building Glibc outside of the source directory in a dedicated build directory:</para> -<para><screen><userinput>mkdir ../glibc-build -cd ../glibc-build</userinput></screen></para> +<screen><userinput>mkdir ../glibc-build +cd ../glibc-build</userinput></screen> <para>Now prepare Glibc for compilation:</para> -<para><screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \ +<screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \ --disable-profile --enable-add-ons \ - --libexecdir=/usr/bin --with-headers=/usr/include</userinput></screen></para> + --libexecdir=/usr/bin --with-headers=/usr/include</userinput></screen> <para>The meaning of the new configure options:</para> @@ -52,23 +52,23 @@ kernel headers into <filename>/usr/include</filename>.</para></listitem> <para>Compile the package:</para> -<para><screen><userinput>make</userinput></screen></para> +<screen><userinput>make</userinput></screen> <para>Test the results:</para> -<para><screen><userinput>make check</userinput></screen></para> +<screen><userinput>make check</userinput></screen> <para>The test suite notes from <xref linkend="ch05-glibc"/> are still very much appropriate here. Be sure to refer back there should you have any doubts.</para> <para>And install the package:</para> -<para><screen><userinput>make install</userinput></screen></para> +<screen><userinput>make install</userinput></screen> <para>The locales that can make your system respond in a different language weren't installed by the above command. Do it with this:</para> -<para><screen><userinput>make localedata/install-locales</userinput></screen></para> +<screen><userinput>make localedata/install-locales</userinput></screen> <para>An alternative to running the previous command is to install only those locales which you need or want. This can be achieved using the @@ -80,7 +80,7 @@ correctly. The following instructions, in place of the install-locales command above, will install the minimum set of locales necessary for the tests to run successfully:</para> -<para><screen><userinput>mkdir -p /usr/lib/locale +<screen><userinput>mkdir -p /usr/lib/locale localedef -i de_DE -f ISO-8859-1 de_DE localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro localedef -i en_HK -f ISO-8859-1 en_HK @@ -90,15 +90,15 @@ localedef -i es_MX -f ISO-8859-1 es_MX localedef -i fr_FR -f ISO-8859-1 fr_FR localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro localedef -i it_IT -f ISO-8859-1 it_IT -localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen></para> +localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen> <para>Finally, build the linuxthreads man pages:</para> -<para><screen><userinput>make -C ../&glibc-dir;/linuxthreads/man</userinput></screen></para> +<screen><userinput>make -C ../&glibc-dir;/linuxthreads/man</userinput></screen> <para>And install these pages:</para> -<para><screen><userinput>make -C ../&glibc-dir;/linuxthreads/man install</userinput></screen></para> +<screen><userinput>make -C ../&glibc-dir;/linuxthreads/man install</userinput></screen> </sect2> |