Re: Japanese Display for gtk+-1.2.9
- From: Xyber Blue <xyberblue gmail com>
- To: "mpsuzuki hiroshima-u ac jp" <mpsuzuki hiroshima-u ac jp>
- Cc: lmczars yahoo com, gtk-list gnome org
- Subject: Re: Japanese Display for gtk+-1.2.9
- Date: Thu, 3 Nov 2005 12:29:22 +0800
>>> [root localhost ~]# frv-linux-gnu-nm -ap
>>> /opt/gtk-dillo/lib/libgdk-1.2.so.0 | fgrep setlocale
>>> U setlocale@@GLIBC_2.3.4
>>>
>>> That is the output..... what's with the output???
>>It means your gtk+-1.2.x is built to use locale in libc.
>>It does not call _Xsetlocale(). Therefore, it will fail
>>as the first test with xmbcs.c.
>>If it is configured to use _Xsetlocale(), libgdk-1.2.so.0
>>won't call setlocale().
mpsuzuki Im very sorry for my previous reply. It seems that this cross compiled gtk doesn't use -DXLOCALE.
The ouput of cross compiled gtk built with -DX_LOCALE is this:
*************************************************************************************************************
]# frv-linux-gnu-nm -ap
/nfs/rootgtk98/rootfs-glibc-frv-040820-3/opt/gtk-dillo/lib/libgdk-1.2.so.0
| fgrep setlocale
U _Xsetlocale
*************************************************************************************************************
It seems that it does not give anything..... I edited the .c files
containing setlocale to _Xsetlocale but when I try to set
LC_ALL=ja_JP.eucJP, it does not convert english text to japanese text
.... Instead, it only display english text....-DX_LOCALE is already
enabled at this time.
On 11/3/05, Xyber Blue <xyberblue gmail com> wrote:
By the way, how to enable -DX_LOCALE in gtk+-1.2.9???
Is the make CFLAGS=-DX_LOCALE enough to enable this???
On 11/2/05,
mpsuzuki hiroshima-u ac jp <
mpsuzuki hiroshima-u ac jp> wrote:
On Wed, 2 Nov 2005 18:36:33 +0800
Xyber Blue <
xyberblue gmail com> wrote:
>Im very sorry but I need to post this. If Im going to call locale command, i
>got this following messages:
Before all, I recommend you to work with non-root account.
>[root 180 gtk]# locale
>locale: Cannot set LC_CTYPE to default locale: No such file or directory
>locale: Cannot set LC_MESSAGES to default locale: No such file or directory
>locale: Cannot set LC_ALL to default locale: No such file or directory
When you receive "No such file or directory" error, you
should strace to know what file/directory is tried and
if the file is exist/permitted access etc.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]