On 29 June 2011 21:29, eric wrote: >> >> The generic locale doesn't support opening named locales, so it won't work. > thanks your reply a lot in advance See http://gcc.gnu.org/ml/gcc-help/2011-06/msg00428.html Confirm which locale you actually have by looking in libstdc++-v3/config.log Why don't you us Ubuntu's GCC instead of building it yourself?