Re: Japanese Display for gtk+-1.2.9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>>> [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@xxxxxxxxx> 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@xxxxxxxxxxxxxxxxx < mpsuzuki@xxxxxxxxxxxxxxxxx> wrote:
On Wed, 2 Nov 2005 18:36:33 +0800
Xyber Blue < xyberblue@xxxxxxxxx> 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.


_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux