root:/sources/glibc-build# grep Error glibc-check-log
make[2]: [/sources/glibc-build/posix/annexc.out] Error 1 (ignored)
I don't really understand the locale stuff. I do not want other languages clogging up my system, as I intend to first stay with english.Since I live in the Netherlands,I will also add that. Hmm. more does not work.
root:/sources/glibc-2.11.1/localedata# cat SUPPORTED | grep NL
Gives me (my comments after <<):
fy_NL/UTF-8 \ << frisian NL
li_NL/UTF-8 \ << belgian (limburg)
nds_NL/UTF-8 \ << Lower Saxson
nl_NL.UTF-8/UTF-8 \ << Netherlands
nl_NL/ISO-8859-1 \ << Netherlands
nl_NL@euro/ISO-8859-15 \ << Netherlands
So, if I use the Frenchcommands as a template,
localedef -i fr_FR -f ISO-8859-1 fr_FR localedef -i fr_FR@euro -f ISO-8859-15 fr_FR@euro localedef -i fr_FR -f UTF-8 fr_FR.UTF-8
localedef -i nl_NL -f ISO-8859-1 nl_NL localedef -i nl_NL@euro -f ISO-8859-15 nl_NL@euro localedef -i nl_NL -f UTF-8 nl_NL.UTF-8
I just installed hardinfo() on my session (not the LFS partition). This command will output some info, among which is the language labels and what they mean. That's what I used to add the comments above. Honestly, I have never heard of Lower Saxon Netherlands. Some overlap with lowe saxon Germany, no doubt.
Here's a nice command, found here:
/home/myname%echo "I live in `locale territory`"Here's the command for finding what is in locale_archive (it's binary so cat won't show anything human readable). This gives me a list. I will use it to verify that my dutch commands worked.
Output = I live in Netherlands
root:/usr/lib/locale#locale -a
So, first, save the original list and then install the dutch.
root:/usr/lib/locale# locale -a > original_files.txt
root:/usr/lib/locale# localedef -i nl_NL -f ISO-8859-1 nl_NL
root:/usr/lib/locale# locale -a > new_files.txt
root:/usr/lib/locale# diff -cw original_files.txt new_files.txt
*** original_files.txt Wed Jun 9 10:17:16 2010Ok, I will add the second two lines as well. Next, timezone
--- new_files.txt Wed Jun 9 10:18:13 2010
***************
*** 26,30 ****
--- 26,32 ----
it_IT.iso88591
ja_JP
ja_JP.eucjp
+ nl_NL
+ nl_NL.iso88591
tr_TR.utf8
zh_CN.gb18030
root:/#cp -v --remove-destination /usr/share/zoneinfo/Europe/Amsterdam /etc/localtime
Add directories to the dynamic loader's search path, I note this because the search defaults for linux are unkown to me. This is one clue.
Done.
No comments:
Post a Comment