|
发表于 2013-1-10 12:34:51
|
显示全部楼层
Some kind of successfully upgrade glibc and gcc online
For your infomation.
I tried upgrade glibc and gcc online.
After upgrading these two softwares,I reboot and got error "/etc/sysconfig/i18n: line 2: warning: setlocale: LC_ALL: cannot change locale (zh_CN.UTF". That prevented wicd from working properly. And I got no network connection.
I tried to figure out what is wrong. The command "localedef --list-archive" told me that the only availabe locale is "aa_DJ.iso88591" .
I then wondered around and found that the file "/usr/lib/locale/locale-archive" is rather small,just 340.6KB. And at the same time,there is a file "/usr/lib/locale/locale-archive.tmpl" , that is rather big, about 99.9MB. By the name, it maight mean "temporary file". So I tried renaming it to be "/usr/lib/locale/locale-archive" , then , wonderful , I can start wicd and connect to the internet. This message is written right after I made the connection.
So far , so good . The only thing not good is that my locale falled back into English.I can't type chinese now.But I'm too excited to type this message later.
So, I'm wondering . The cause of not able to upgrade glic and gcc online may be that "some script does not handle locale-arcive.tmpl properly"?
原帖由 hxcan 于 2012-12-22 09:03 发表
是否因为系统里某些部件是用旧版本GCC编译的?
本座从2.5.16的基础上把okular和poppler相关的包升级了。之后okular打不开PDF。然后本座重新编译了poppler和okular,就又可以打开PDF了。
... |
|