Changeset 94aa6621 for chapter06/glibc.xml
- Timestamp:
- 12/26/2005 07:46:12 PM (18 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- b82f0c0
- Parents:
- 5536f74
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/glibc.xml
r5536f74 r94aa6621 48 48 of achieving a clean build.</para> 49 49 50 <para>The glibc-libidn tarball adds support for internationalized51 domain names (IDN) to Glibc. Note that many programs that52 support IDN require the full libidn library from53 <ulink url="http://josefsson.org/libidn/releases/"/>, not this add-on.54 Unpack the tarball from within the Glibc source55 directory:</para>56 57 <screen><userinput>tar jxf ../glibc-libidn-&glibc-version;.tar.bz2</userinput></screen>58 59 <para>In the vi_VN.TCVN locale, bash enters infinite loop at startup. It is60 unknown whether this is a bash bug or a glibc problem. Disable installation61 of this locale in order to avoid the problem:</para>62 63 <screen><userinput>sed -i '/vi_VN.TCVN/d' localedata/SUPPORTED</userinput></screen>64 65 50 <para>The Glibc documentation recommends building Glibc outside of the source 66 51 directory in a dedicated build directory:</para> … … 72 57 73 58 <screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \ 74 --disable-profile --enable-add-ons =nptl,libidn\59 --disable-profile --enable-add-ons \ 75 60 --enable-kernel=2.6.0 --libexecdir=/usr/lib/glibc</userinput></screen> 76 61 … … 144 129 145 130 <screen><userinput>make localedata/install-locales</userinput></screen> 146 147 <note><para>It is possible to create and install additional locales such as148 ru_RU.CP1251 by means of the <command>localedef</command> command, as149 explained in the <filename>INSTALL</filename> file in the Glibc source.</para></note>150 <!-- The Live CD patches the localedata/SUPPORTED file instead of running localedef -->151 131 152 132 <para>To save time, an alternative to running the … … 163 143 for the tests to run successfully:</para> 164 144 165 <!-- FIXME: recheck that "make localedata/install_locales" actually does the same -->166 145 <screen role="nodump"><userinput>mkdir -pv /usr/lib/locale 167 146 localedef -i de_DE -f ISO-8859-1 de_DE … … 174 153 localedef -i fr_FR -f ISO-8859-1 fr_FR 175 154 localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro 176 localedef -i fr_FR.UTF-8 -f UTF-8 fr_FR177 155 localedef -i it_IT -f ISO-8859-1 it_IT 178 156 localedef -i ja_JP -f EUC-JP ja_JP</userinput></screen> 179 157 180 <para>The first <command>localedef</command> above combines the 181 <filename>/usr/share/i18n/locales/de_DE</filename> charset-independent 182 locale definition with the 183 <filename>/usr/share/i18n/charmaps/ISO-8859-1.gz</filename> charmap definition 184 and appends the result to the 185 <filename>/usr/lib/locale/locale-archive</filename> file.</para> 158 <para>Some locales installed by the <command>make 159 localedata/install-locales</command> command above are not properly 160 supported by some applications that are in the LFS and BLFS books. 161 Because of the various problems that arise due to application 162 programmers making assumptions that break in such locales, LFS should 163 not be used in locales that utilize multibyte character sets 164 (including UTF-8) or right-to-left writing order. Numerous unofficial 165 and unstable patches are required to fix these problems, and it has 166 been decided by the LFS developers not to support such complex locales at this 167 time. This applies to the ja_JP and fa_IR locales as well—they have been 168 installed only for GCC and Gettext tests to pass, and the 169 <command>watch</command> program (part of the Procps package) does not work 170 properly in them. Various attempts to circumvent these restrictions are 171 documented in internationalization-related hints.</para> 172 186 173 </sect2> 187 174
Note:
See TracChangeset
for help on using the changeset viewer.