On Thu, Aug 19, 2010 at 10:50:49PM +0200, Tobias Gasser wrote: > i'm used to have LANG=de and LC_ALL=de_CH.UTF-8 set.
Hmm. You are aware that LC_ALL overrides LANG, but that both do exactly the same thing, right? See locale(7). :-) > until glibc is rebuilt in chapter 6, i always got warnings about wrong > LC_* values. I don't know what these warnings were, since you didn't post them, but I suspect it's related to the above. Try unsetting LC_ALL, and setting LANG to de_CH.UTF-8. (Or vice versa, but it's better to leave LC_ALL unset so that testsuites and whatnot can use it to control the locale setup. I'm actually not sure that the lfs user's LC_ALL value is the right thing to do in the face of broken tests that try to set LANG instead of LC_ALL themselves, but I haven't been able to get any time to test out a setup that I think would be slightly less fragile. I'm thinking specifically of the sed testsuite, though that may have been fixed.) > to fix this, i propose to add another paragraph after 'make install': There's already a note there on the locale installation for the testsuites. It *might* make sense (but I'd recommend against it, for reasons below) to add a comment there saying that the same instructions can be used if the user wants to have messages translated early in chapter 6. However, I'd recommend against it because it tends to make support requests harder to decipher, and it makes it harder to find the translated error messages in the source. Translation works fine after the chapter 6 glibc installation anyway, if the user wants it; I don't think changing just the few toolchain packages necessarily warrants a change in the book. The other possible issue is whether changes here will cause grief in the actual build and installation of the toolchain; I suspect not, but it is another branch point, which we try to avoid in LFS if we can.
pgp0BH2mVXU3N.pgp
Description: PGP signature
-- http://linuxfromscratch.org/mailman/listinfo/lfs-book FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
