Re: Japanese Display for gtk+-1.2.9



Im very sorry but I need to post this. If Im going to call locale command, i got this following messages:

     [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
      LANG=ja_JP.eucJP
      LC_CTYPE="ja_JP.eucJP"
      LC_NUMERIC="ja_JP.eucJP"
      LC_TIME="ja_JP.eucJP"
      LC_COLLATE="ja_JP.eucJP"
      LC_MONETARY="ja_JP.eucJP"
      LC_MESSAGES="ja_JP.eucJP"
      LC_PAPER="ja_JP.eucJP"
      LC_NAME="ja_JP.eucJP"
      LC_ADDRESS="ja_JP.eucJP"
      LC_TELEPHONE="ja_JP.eucJP"
      LC_MEASUREMENT="ja_JP.eucJP"
      LC_IDENTIFICATION="ja_JP.eucJP"
      LC_ALL=ja_JP.eucJP

Im just wondering the error above. Does it affects the problem???
On 11/2/05, Xyber Blue <xyberblue gmail com> wrote:
By the way, I successfully compiled the X-window without -DNO_LOCALE and -DX_LOCALE support. When I try to execute testgtk with ja_JP.eucJP locale I got a warning message:

 Gdk-WARNING **: locale not supported by C library

And the widgets will not convert the english text to japanese.
What causes the problem??? Do I need to retain the -DNO_LOCALE option???


On 11/2/05, Xyber Blue < xyberblue gmail com > wrote:
>>If you check symbols in libgdk-1.2.so (built with -DX_LOCALE) like:
>>       nm -ap /usr/lib/libgdk-1.2.so.0 | fgrep setlocale
>>what do you receive?

[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???

On 11/2/05, mpsuzuki hiroshima-u ac jp < mpsuzuki hiroshima-u ac jp> wrote:
On Wed, 2 Nov 2005 16:50:58 +0800
Xyber Blue < xyberblue gmail com> wrote:

>Thanks for the hint Mr Suzuki, I will work on it. I will try to rebuild the
>X-Window with no -DX_LOCALE.
>
>I am also trying building gtk before Im posting this problem with the
>following:
>make CFLAGS=-DX_LOCALE
>
>But still doesn't work...

I remember the X_LOCALE detection method in configure
of gtk+-1.2 is not suitable for cross-development.

If you check symbols in libgdk-1.2.so (built with -DX_LOCALE) like:
        nm -ap /usr/lib/libgdk-1.2.so.0 | fgrep setlocale
what do you receive?





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