LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   Problem with locales (https://www.linuxquestions.org/questions/linux-from-scratch-13/problem-with-locales-774111/)

dbbolton 12-07-2009 09:21 PM

Problem with locales
 
I am here: http://www.linuxfromscratch.org/lfs/...r06/glibc.html

I didn't get any errors from my test. I also got "Your new glibc installation seems to be ok" after running make install.

But when I try to generate my locales, I get this error:

Code:

localedef -i en_US -f UTF-8 en_US.UTF-8

cannot create temporary file: No such file or directory

What is causing this?

jhwilliams 12-07-2009 10:08 PM

It may be that localedef is attempting to create a temporary file in /tmp. Do you have a /tmp, yet? Adding a -v flag is always a good next step:

Code:

localedef -v -i en_US -f UTF-8 en_US.UTF-8

dbbolton 12-07-2009 10:57 PM

Quote:

Originally Posted by jhwilliams (Post 3783473)
It may be that localedef is attempting to create a temporary file in /tmp. Do you have a /tmp, yet? Adding a -v flag is always a good next step:

Code:

localedef -v -i en_US -f UTF-8 en_US.UTF-8

Grepping the verbose output for 'tmp' didn't show anything, but here it is in its entirety:

Code:

/tools/share/i18n/locales/en_US:7: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:8: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:9: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:11: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:14: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:15: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:16: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:17: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:19: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:20: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:21: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:22: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:23: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:24: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:25: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:26: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:27: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:28: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:29: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:34: non-symbolic character value should not be used
/tools/share/i18n/locales/en_GB:50: non-symbolic character value should not be used
/tools/share/i18n/locales/i18n:1426: non-symbolic character value should not be used
/tools/share/i18n/locales/i18n:1675: non-symbolic character value should not be used
/tools/share/i18n/locales/i18n:1720: non-symbolic character value should not be used
/tools/share/i18n/locales/i18n:1757: non-symbolic character value should not be used
/tools/share/i18n/locales/en_GB:53: non-symbolic character value should not be used
/tools/share/i18n/locales/en_GB:59: non-symbolic character value should not be used
/tools/share/i18n/locales/en_GB:152: non-symbolic character value should not be used
/tools/share/i18n/locales/en_US:40: non-symbolic character value should not be used
/tools/share/i18n/locales/iso14651_t1:3: non-symbolic character value should not be used
/tools/share/i18n/locales/translit_neutral:10: non-symbolic character value should not be used
/tools/share/i18n/locales/translit_neutral:11: non-symbolic character value should not be used
/tools/share/i18n/locales/translit_neutral:12: non-symbolic character value should not be used
/tools/share/i18n/locales/translit_neutral:13: non-symbolic character value should not be used
/tools/share/i18n/locales/translit_neutral:14: non-symbolic character value should not be used
/tools/share/i18n/locales/translit_neutral:15: non-symbolic character value should not be used
/tools/share/i18n/locales/translit_neutral:16: non-symbolic character value should not be used
/tools/share/i18n/locales/translit_neutral:17: non-symbolic character value should not be used
LC_NAME: field `name_gen' not defined
LC_IDENTIFICATION: field `audience' not defined
LC_IDENTIFICATION: field `application' not defined
LC_IDENTIFICATION: field `abbreviation' not defined
LC_IDENTIFICATION: no identification for category `LC_MEASUREMENT'
no output file produced because warnings were issued


martyrdom 03-28-2011 02:07 PM

well...
I just have the same problem at the moment.
Did you fix it? How?

kotao_78 10-23-2013 03:45 AM

Did you fixed?
 
Same problem here ,
root@ONE /cfg/data$ localedef -v -i en_US -f UTF-8 en_US.UTF-8
/usr/share/i18n/locales/en_US:7: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:8: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:9: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:11: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:14: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:15: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:16: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:17: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:19: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:20: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:21: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:22: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:23: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:24: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:25: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:26: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:27: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:28: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:29: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:34: non-symbolic character value should not be used
/usr/share/i18n/locales/en_GB:50: non-symbolic character value should not be used
/usr/share/i18n/locales/i18n:1425: non-symbolic character value should not be used
/usr/share/i18n/locales/i18n:1674: non-symbolic character value should not be used
/usr/share/i18n/locales/i18n:1719: non-symbolic character value should not be used
/usr/share/i18n/locales/i18n:1756: non-symbolic character value should not be used
/usr/share/i18n/locales/en_GB:53: non-symbolic character value should not be used
/usr/share/i18n/locales/en_GB:59: non-symbolic character value should not be used
/usr/share/i18n/locales/en_GB:152: non-symbolic character value should not be used
/usr/share/i18n/locales/en_US:40: non-symbolic character value should not be used
/usr/share/i18n/locales/iso14651_t1:3: non-symbolic character value should not be used
/usr/share/i18n/locales/iso14651_t1_common:7112: LC_COLLATE: symbol `pure-ta-zh' not known
/usr/share/i18n/locales/translit_neutral:10: non-symbolic character value should not be used
/usr/share/i18n/locales/translit_neutral:11: non-symbolic character value should not be used
/usr/share/i18n/locales/translit_neutral:12: non-symbolic character value should not be used
/usr/share/i18n/locales/translit_neutral:13: non-symbolic character value should not be used
/usr/share/i18n/locales/translit_neutral:14: non-symbolic character value should not be used
/usr/share/i18n/locales/translit_neutral:15: non-symbolic character value should not be used
/usr/share/i18n/locales/translit_neutral:16: non-symbolic character value should not be used
/usr/share/i18n/locales/translit_neutral:17: non-symbolic character value should not be used
LC_NAME: field `name_gen' not defined
LC_IDENTIFICATION: no identification for category `LC_MEASUREMENT'
no output file produced because warnings were issued

Keith Hedger 10-23-2013 11:11 AM

Try the following command
Code:

make localedata/install-locales
From a bit further down the page this is what I always use it will install more locales than you need at moment but it doesn't hurt to have the extra locales for testing purposes.


All times are GMT -5. The time now is 01:40 AM.