| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879 | <?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [  <!ENTITY % general-entities SYSTEM "../general.ent">  %general-entities;]><sect1 id="ch-tools-glibc" role="wrap"><title>Glibc-&glibc-version;</title><?dbhtml filename="glibc.html"?><sect2 role="package"><title/><segmentedlist><segtitle>&buildtime;</segtitle><segtitle>&diskspace;</segtitle><seglistitem><seg>11.8 SBU</seg><seg>800 MB</seg></seglistitem></segmentedlist></sect2><sect2 role="installation"><title>Installation of Glibc</title><para>Create a build dir:</para><screen><userinput>mkdir ../glibc-buildcd ../glibc-build</userinput></screen><para>Next, prepare Glibc for compilation:</para><screen><userinput>../glibc-&glibc-version;/configure --prefix=/tools \    --disable-profile --enable-add-ons \    --enable-kernel=2.6.0 --with-binutils=/tools/bin \    --without-gd --without-cvs --with-headers=/tools/include \    --disable-selinux</userinput></screen><para>Compile the package:</para><screen><userinput>make</userinput></screen><para>Test the results:</para><screen><userinput>make check</userinput></screen><para>For a discussion of test failures that are of particularimportance, please see <xref linkend="ch-system-glibc"/>.</para><screen><userinput>mkdir /tools/etctouch /tools/etc/ld.so.conf</userinput></screen><para>Now install the package:</para><screen><userinput>make install</userinput></screen><para>To install the Glibc locales, use the followingcommand:</para><screen><userinput>make localedata/install-locales</userinput></screen><para>An alternative to running the previous command is to install only thoselocales which you need or want. The following instructions, instead of the install-locales target above, will install the minimum set of locales necessary for the tests to run successfully:</para><screen><userinput>mkdir -p /tools/lib/localelocaledef -i de_DE -f ISO-8859-1 de_DElocaledef -i de_DE@euro -f ISO-8859-15 de_DE@eurolocaledef -i en_HK -f ISO-8859-1 en_HKlocaledef -i en_PH -f ISO-8859-1 en_PHlocaledef -i en_US -f ISO-8859-1 en_USlocaledef -i es_MX -f ISO-8859-1 es_MXlocaledef -i fa_IR -f UTF-8 fa_IRlocaledef -i fr_FR -f ISO-8859-1 fr_FRlocaledef -i fr_FR@euro -f ISO-8859-15 fr_FR@eurolocaledef -i it_IT -f ISO-8859-1 it_ITlocaledef -i ja_JP -f EUC-JP ja_JP</userinput></screen></sect2></sect1>
 |