LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: worri

装lfs和blfs的几个问题,请大家指教

[复制链接]
 楼主| 发表于 2003-5-27 14:17:37 | 显示全部楼层
这里所有安装过lfs的人都没遇到过这个问题吗?
 楼主| 发表于 2003-5-27 14:30:27 | 显示全部楼层
执行 localedef -v -c -i zh_CN -f GB2312 /usr/share/locale/zh_CN

输出:
/usr/share/i18n/locales/zh_CN:19: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:23: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:26: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:27: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:28: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:29: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:31: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:32: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:33: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:34: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:35: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:36: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:37: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:38: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:39: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:40: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:41: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:50: non-symbolic character value should not be used
/usr/share/i18n/locales/i18n:1107: non-symbolic character value should not be used
/usr/share/i18n/locales/i18n:1313: non-symbolic character value should not be used
/usr/share/i18n/locales/i18n:1345: non-symbolic character value should not be used
/usr/share/i18n/locales/i18n:1373: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:52: non-symbolic character value should not be used
/usr/share/i18n/locales/zh_CN:62: non-symbolic character value should not be used
/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_ADDRESS: field `country_post' not defined
LC_ADDRESS: field `country_car' 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'
LC_CTYPE: table for class "upper": 1564 bytes
LC_CTYPE: table for class "lower": 1564 bytes
LC_CTYPE: table for class "alpha": 3616 bytes
LC_CTYPE: table for class "digit": 600 bytes
LC_CTYPE: table for class "xdigit": 600 bytes
LC_CTYPE: table for class "space": 792 bytes
LC_CTYPE: table for class "print": 5144 bytes
LC_CTYPE: table for class "graph": 5144 bytes
LC_CTYPE: table for class "blank": 792 bytes
LC_CTYPE: table for class "cntrl": 664 bytes
LC_CTYPE: table for class "punct": 4120 bytes
LC_CTYPE: table for class "alnum": 3616 bytes
LC_CTYPE: table for class "combining": 2076 bytes
LC_CTYPE: table for class "combining_level3": 2076 bytes
LC_CTYPE: table for class "hanzi": 792 bytes
LC_CTYPE: table for map "toupper": 14364 bytes
LC_CTYPE: table for map "tolower": 12828 bytes
LC_CTYPE: table for map "totitle": 14364 bytes
LC_CTYPE: table for width: 25752 bytes
发表于 2003-5-27 15:42:24 | 显示全部楼层
glibc装错很麻烦的,我想你可能应该按照最新的LFS BOOK来试试看,目前的LFS BOOK,安装起来比较方便的,也不用太多的静态连接。可能是这个方面出的问题。
 楼主| 发表于 2003-5-27 16:10:33 | 显示全部楼层
还装一遍啊,没时间了,压了很多事情没做了

最新的书你指cvs里的啊?

我发封邮件到邮件列表先问问看吧。
 楼主| 发表于 2003-5-27 16:24:37 | 显示全部楼层
tram你是怎么改变locale的?
在redhat里有一个redhat-config-language的图形界面可以改
在你的lfs里怎么改呢?也是和redhat一样改这个文件吗/etc/sysconfig/i18n

我的意思是没准locale -a虽然没有列出来,但实际上也许已经可以用了。
 楼主| 发表于 2003-5-27 16:31:56 | 显示全部楼层
On Fri, Jan 17, 2003 at 08:07:53AM +0000, Peter B. Steiger wrote:
> I'm on chapter 6 of the CVS version, and things were going great until I
> got to the make localedata/install-locales command. Nothing happens at all
> - no files are added to /usr/lib/locale (well, possibly locale-archive...
> that gets modified). No errors are produced, but that's because the
> Makefile runs localedef without -v turned on.

>From the 2.3.0 NEWS file:-

"* Loading of locale data is faster due to the introduction of a locale
  archive. Implemented by Roland McGrath and Ulrich Drepper."

In other words, you are looking for the old behaviour. As long as the
locale-archive is present and getting updated then it is working properly
and you have nothing to worry about.

Greg
发表于 2003-5-27 17:42:35 | 显示全部楼层
export LC_ALL=zh_CN.gbk
export LANG=zh_CN.gbk
把这两句加到/etc/profile或~/.bash_profile
没道理能用的。locale -a都列不出。我这里是能列出来的。
发表于 2003-5-27 18:22:24 | 显示全部楼层
tram兄,我跟他一样啊!也是C和POSIX两个。:(
发表于 2003-5-27 18:58:50 | 显示全部楼层
你是按照哪个书装的??
发表于 2003-5-27 19:17:03 | 显示全部楼层
lfs-20030219,但是从来没有看过locale -a,也没有遇到什么问题
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表