i'm used to have LANG=de and LC_ALL=de_CH.UTF-8 set.

until glibc is rebuilt in chapter 6, i always got warnings about wrong
LC_* values.

to fix this, i propose to add another paragraph after 'make install':

*** CUT

to build the toolchain with support for another language than english
and allow LANG and LC_ALL be set (the example is for swiss german),
apply the following statements with the values for your favourite language:

export LC_ALL=de_CH.UTF-8
export LANG=de
mkdir -p /tools/lib/locale
localedef -i de_CH -f ISO-8859-1 de_CH
localedef -i de_CH -f UTF-8 de_CH.UTF-8

to make it even easier, you sould consider to add LC_ALL and LANG to
your ~/.bashrc in chapter 4.4.

-LC_ALL=POSIX
+LC_ALL=de_CH.UTF-8
+LANG=de
-export LFS LC_ALL LFS_TGT PATH
+export LFS LC_ALL LANG LFS_TGT PATH

*** CUT

i had to build both to get rid of all warnings as there are packages
wich don't support UTF-8 and fall back to ISO-8859.


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to