From c825bdcb3e7a8cd3aa09e6e5d8a82d953d311987 Mon Sep 17 00:00:00 2001 From: Jeremy Utley Date: Tue, 9 Sep 2003 20:34:19 +0000 Subject: Added minimum locales necessary for tests git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2755 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 2 ++ chapter05/glibc-inst.xml | 18 +++++++++++++++++- chapter06/glibc-inst.xml | 18 +++++++++++++++++- 3 files changed, 36 insertions(+), 2 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 02fe901e8..2425ae63e 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -82,6 +82,8 @@ +September 9th, 2003 [jeremy]: Glibc - Added commands to both chapter 5 and 6 to include minimum locales necessary for checks. + September 9th, 2003 [jeremy]: Chapter 6 - Removed zlib's munging of CFLAGS in favor of a note to add -fPIC. diff --git a/chapter05/glibc-inst.xml b/chapter05/glibc-inst.xml index 7e433d3db..b76027bc8 100644 --- a/chapter05/glibc-inst.xml +++ b/chapter05/glibc-inst.xml @@ -99,7 +99,23 @@ so we have to do that ourselves now: those locales which you need or want. This can be achieved by using the localedef command. Information on this can be found in the INSTALL file in the -glibc-&glibc-version; tree. +glibc-&glibc-version; tree. However, there are a +number of locales that are essential for the tests of future packages +to pass 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: + +mkdir -p /stage1/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 +localedef -i en_PH -f ISO-8859-1 en_PH +localedef -i en_US -f ISO-8859-1 en_US +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 diff --git a/chapter06/glibc-inst.xml b/chapter06/glibc-inst.xml index 4b6d42abf..b9cfcdea5 100644 --- a/chapter06/glibc-inst.xml +++ b/chapter06/glibc-inst.xml @@ -75,7 +75,23 @@ weren't installed by the above command. Do it with this: locales which you need or want. This can be achieved using the localedef command. Information on this can be found in the INSTALL file in the -glibc-&glibc-version; tree. +glibc-&glibc-version; tree. However, there are a number +of locales that are essential for the tests of future packages to pass +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: + +mkdir -p /stage1/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 +localedef -i en_PH -f ISO-8859-1 en_PH +localedef -i en_US -f ISO-8859-1 en_US +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 Finally, build the linuxthreads man pages: -- cgit v1.2.3-54-g00ecf