Opened 18 years ago

Last modified 14 years ago

#101 new task

Glibc locale installation text needs to be rewritten

Reported by: chris@… Owned by: clfs-commits@…
Priority: major Milestone: CLFS Sysroot 1.0.0
Component: BOOK Version: CLFS Sysroot GIT
Keywords: Cc:

Description

I am not sure exactly how much needs to be changed for the locale installation in the Glibc build, but at minimum the descriptive text is wrong. It mentions that the minimal list of locales is what's needed for various testsuites to pass, but this certainly does not apply to a sysroot build. I don't really know exactly what else would have to be changed there and what (if any) locales would still be required (beyond just "install the one you use").

Change History (3)

comment:1 by Joe Ciccone, 18 years ago

How about changing the entire Internationalization section to something like:

By default, Glibc will install every locale listed in glibc-2.5/localdata/supported. Many of these locales will never be used. However, there are a few locales that are required in order for tests of future packages to pass, in particular, the libstdc++ tests from GCC. Since the tests throughout this book are not being run, You are only required to install the locale you plan to use after you boot into your system. If you would like to install only a minimal set of locales for the tests to complete successfully, run the following command:

cat > ../glibc-2.5/localdata/SUPPORTED << "EOF"
SUPPORTED-LOCALES=\
de_DE/ISO-8859-1 \
de_DE@euro/ISO-8859-15 \
en_HK/ISO-8859-1 \
en_PH/ISO-8859-1 \
en_US/ISO-8859-1 \
es_MX/ISO-8859-1 \
fa_IR/UTF-8 \
fr_FR/ISO-8859-1 \
fr_FR@euro/ISO-8859-15 \
it_IT/ISO-8859-1 \
ja_JP.EUC-JP/EUC-JP \
EOF

Install the locales with the following command:

make localedata/install-locales

And then leave the note about multibyte charsets alone.

comment:2 by Joe Ciccone, 17 years ago

Milestone: CLFS Sysroot 1.0.0

comment:3 by Joe Ciccone, 14 years ago

Version: CLFS Sysroot 1.0.0CLFS Sysroot GIT
Note: See TracTickets for help on using tickets.