Mailing List Archive

Support open source code!


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

Re: tlug: XIM



Stephen J. Turnbull wrote:
> You have more problems than just XIM if Canna support doesn't
> compile.  Canna support has always gotten autodetected for me, except
> when I was trying a beta version and had to point to the new version.

Problem resolved. During the configuration stage a few test programs are
compiled and linked. The linker could not find libcanna, causing a few
configuration option tests to fail SILENTLY. Thus the compilation failed at the
first invocation of gettimeofday() - which I _really_ could not explain until
now.

> Nonexistent locale isn't a glibc bug.  It's an I18N support file bug
> :-)

Agreed. glibc-localedata != glibc. I meant the Red Hat glibc package (which
includes both).

> You're probably hosed by one of the versions of XFree86 that does not
> support <X11/Xlocale.h>.  X makes provisions to work around the
> absence of libc support, but it has to be compiled in to your Xlib.
> What happens is that Xlocale simply uses a macro to alias setlocale to
> an internal Xlib routine _Xsetlocale.

A quick look at Xlocale.h revealed that I also have to #define X_LOCALE in
xemacs/src/config.h.in to accomplish that. But now the linker shows an undefined
reference to _Xsetlocale. Seems that I have to recompile some X library. Grrr.

[explanation of XIM test with kterm & kinput2 deleted]

Thanks, it worked with one more dirty trick (because of that missing X locale
workaround):

   localedef -i de_AT -f ISO-8859-1 ja

not recommended, as it totally confuses xemacs...

Oh my god, there's still a long way to a multilingual Linux :-(

--
Klaus Kudielka			     Communications Research Laboratory
Tel. +81 423 27 6494	       Ministry of Posts and Telecommunications
Fax. +81 423 27 6699				 4-2-1, Nukui-Kitamachi
E-mail kudielka@example.com		      Koganei, Tokyo 184, Japan
---------------------------------------------------------------
Next TLUG Meeting: 11 April Sat, Tokyo Station Yaesu gate 12:30
Featuring Tague Griffith of Netscape i18n talking on source code
---------------------------------------------------------------
a word from the sponsor:
TWICS - Japan's First Public-Access Internet System
www.twics.com  info@example.com  Tel:03-3351-5977  Fax:03-3353-6096



Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links