[AC]Problemy z locale

Michał Panasiewicz wolvverine w tarchomin.pl
Pon, 23 Sie 2004, 00:26:21 CEST


Po uzyciu strace:

execve("/usr/bin/locale", ["locale"], [/* 24 vars */]) = 0
...
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
...
open("/usr/lib/locale/pl_PL/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory)
...
write(2, "Cannot set LC_CTYPE to default l"..., 37Cannot set LC_CTYPE to default locale) = 37
write(2, ": No such file or directory", 27: No such file or directory) = 27
...
open("/usr/lib/locale/pl_PL/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
...
open("/usr/lib/locale/pl_PL/LC_IDENTIFICATION", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl/LC_IDENTIFICATION", O_RDONLY) = -1 ENOENT (No such file or directory)
...
write(1, "LANG=pl_PL.ISO-8859-2\n", 22LANG=pl_PL.ISO-8859-2
) = 22
write(1, "LC_CTYPE=\"pl_PL\"\n", 17LC_CTYPE="pl_PL"
)    = 17
write(1, "LC_NUMERIC=\"pl_PL\"\n", 19LC_NUMERIC="pl_PL"
)  = 19
write(1, "LC_TIME=\"pl_PL\"\n", 16LC_TIME="pl_PL"
)     = 16
write(1, "LC_COLLATE=\"pl_PL\"\n", 19LC_COLLATE="pl_PL"
)  = 19
write(1, "LC_MONETARY=\"pl_PL\"\n", 20LC_MONETARY="pl_PL"
) = 20
write(1, "LC_MESSAGES=\"pl_PL\"\n", 20LC_MESSAGES="pl_PL"
) = 20
write(1, "LC_PAPER=\"pl_PL\"\n", 17LC_PAPER="pl_PL"
)    = 17
write(1, "LC_NAME=\"pl_PL\"\n", 16LC_NAME="pl_PL"
)     = 16
write(1, "LC_ADDRESS=\"pl_PL\"\n", 19LC_ADDRESS="pl_PL"
)  = 19
write(1, "LC_TELEPHONE=\"pl_PL\"\n", 21LC_TELEPHONE="pl_PL"
) = 21
write(1, "LC_MEASUREMENT=\"pl_PL\"\n", 23LC_MEASUREMENT="pl_PL"
) = 23
write(1, "LC_IDENTIFICATION=\"pl_PL\"\n", 26LC_IDENTIFICATION="pl_PL"
) = 26
write(1, "LC_ALL=pl_PL\n", 13LC_ALL=pl_PL
)          = 13


/usr/lib/locale/pl_PL/LC_MESSAGES znajduje się w /usr/share/locale/pl wiec
czemu szuka w /usr/lib?



-- 
Michał Panasiewicz
http://www.wushu.pl





Więcej informacji o liście dyskusyjnej pld-users-pl