You are not logged in.

#1 2007-02-21 06:30:07

cyt
Member
From: Taipei, Taiwan
Registered: 2006-03-22
Posts: 18

Strange problem about generating new locales.

Dear all,

I want to set my default locale to zh_TW.utf8, so I modify the /etc/rc.conf, and uncomment "zh_TW.UTF-8 UTF-8" in /etc/locale.gen, then I run 'locale-gen'. But I got a error message:

Generating locales...
  zh_TW.UTF-8...character map file `UTF-8' not found: Illegal seek
default character map file `ANSI_X3.4-1968' not found: Illegal seek

My glibc is 2.5-4 and /usr/share/i18n/charmaps/UTF-8.gz is at the right place.

Any suggestions?

Thanks in advance.

Offline

#2 2007-02-21 10:25:41

JGC
Developer
Registered: 2003-12-03
Posts: 1,664

Re: Strange problem about generating new locales.

Try running zcat on /usr/share/i18n/charmaps/UTF-8.gz, it should give an illegal seek also. I guess you're suffering from filesystem corruption or a broken harddisk (what does dmesg say about it?)

Offline

#3 2007-02-21 11:23:51

cyt
Member
From: Taipei, Taiwan
Registered: 2006-03-22
Posts: 18

Re: Strange problem about generating new locales.

JGC wrote:

Try running zcat on /usr/share/i18n/charmaps/UTF-8.gz, it should give an illegal seek also. I guess you're suffering from filesystem corruption or a broken harddisk (what does dmesg say about it?)

I can decompress the UTF-8.gz to UTF-8 without any error. Actually, I run my Arch Linux system inside the coLinux environment, and everything is great except the locale problem.  Maybe I should try to make a Arch Linux image by myself, this image took from sourceforge site seems curious.

Thanks anyway smile

Offline

Board footer

Powered by FluxBB