Changeset bf90190 in clfs-sysroot


Ignore:
Timestamp:
Jul 26, 2009, 4:43:36 PM (15 years ago)
Author:
Joe Ciccone <jciccone@…>
Branches:
master
Children:
4fc026e
Parents:
973494f
Message:

Add a seperate build of Localedef to EGLIBC and fix the installation of locales.

Location:
BOOK
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • BOOK/cross-tools/common/eglibc.xml

    r973494f rbf90190  
    189189    <title>Internationalization</title>
    190190
     191    <para>To install locales we need to compile our own version of
     192    localedef to run nativly on the host system, so we have to extract the
     193    eglibc-localedef-&eglibc-version; package into our eglibc-&eglibc-version;
     194    directory:</para>
     195
     196<screen><userinput>tar -jxvf ../eglibc-localedef-&eglibc-ports-dl-version;.tar.bz2
     197cd localedef</userinput></screen>
     198
     199    <para>Prepare localedef for compilation:</para>
     200
     201<screen><userinput>./configure --prefix=${CLFS}/usr \
     202    --with-glibc=../../eglibc-&eglibc-version;</userinput></screen>
     203
     204    <para>Compile the package:</para>
     205
     206<screen><userinput>make</userinput></screen>
     207
    191208    <para>The locales that can make the system respond in a different
    192     language were not installed by the above command. Install them
     209    language were not installed with EGLIBC. Install them
    193210    with:</para>
    194211
    195 <screen><userinput>make localedata/install-locales</userinput></screen>
     212<screen><userinput>make install-locales</userinput></screen>
    196213
    197214    <para>To save time, an alternative to running the previous command (which
     
    216233    fr_FR.UTF-8/UTF-8 fr_FR/ISO-8859-1 fr_FR@euro/ISO-8859-15 \
    217234    it_IT.UTF-8/UTF-8 it_IT/ISO-8859-1 \
    218     ja_JP.EUC-JP/EUC-JP ja_JP.UTF-8/UTF-8" localedata/install-locales</userinput></screen>
     235    ja_JP.EUC-JP/EUC-JP ja_JP.UTF-8/UTF-8" install-locales</userinput></screen>
    219236
    220237    <para>Some locales installed by the <command>make
  • BOOK/materials/common/packages.xml

    r973494f rbf90190  
    129129        <para>Download: <ulink url="&eglibc-url;"/></para>
    130130        <para>MD5 sum: <literal>&eglibc-md5;</literal></para>
     131      </listitem>
     132    </varlistentry>
     133
     134    <varlistentry>
     135      <term>EGLIBC Localedef (&eglibc-localedef-version;) - <token>&eglibc-localedef-size;</token>:</term>
     136      <listitem>
     137        <para>Home page: <ulink url="&eglibc-localedef-home;"/></para>
     138        <para>Download: <ulink url="&eglibc-localedef-url;"/></para>
     139        <para>MD5 sum: <literal>&eglibc-localedef-md5;</literal></para>
    131140      </listitem>
    132141    </varlistentry>
  • BOOK/packages.ent

    r973494f rbf90190  
    118118<!ENTITY eglibc-dl-version "&eglibc-version;-20090726-r8632">
    119119<!ENTITY eglibc-size "15,848 KB">
    120 <!ENTITY eglibc-url "&packages-root;eglibc-&eglibc-version;.tar.bz2">
     120<!ENTITY eglibc-url "&packages-root;eglibc-&eglibc-dl-version;.tar.bz2">
    121121<!ENTITY eglibc-md5 "11463bd364a0933c5af5b62a1e1abb76">
    122122<!ENTITY eglibc-home "http://www.eglibc.org/home">
Note: See TracChangeset for help on using the changeset viewer.