[Bug: 21.5-b28] setting input-method to japanese-canna brings only No Canna API support!?

Stephen J. Turnbull stephen at xemacs.org
Fri Apr 4 11:03:03 EDT 2008


Please remove duplicate arguments (--with-xim is mentioned twice,
there may be others) and reconfigure and rebuild your XEmacs.  Let us
know how it works out.  Thanks!

Specifics:

Niels Kobschaetzki writes:

 > Setting xemacs via M-x set-input-method RET japanese-canna RET
 > shows only the error "No Canna API support!?" See M-x
 > describe-installation & C-h v module-load-path
 > 
 > xemacs is compiled with the flag --with-canna and the canna-server
 > is running (Anthy with canna functions w/out any problems).

No, it is not compiled with canna.  That would be reported in
Installation; see below.

 > System Info to help track down your bug:
 > ---------------------------------------
 > 
 > uname -a: FreeBSD mars.universe 7.0-RELEASE FreeBSD 7.0-RELEASE #2:
 > Mon Mar 24 19:25:09 CET 2008
 > root at mars.universe:/usr/obj/usr/src/sys/MYKERNEL i386
 > 
 > ./configure '--with-xpm' '--enable-mule'
 > '--with-site-libraries=/usr/local/lib'
 > '--with-site-includes=/usr/local/include' '--enable-sound=native'
 > '--with-site-lisp' '--with-pop'
 > '--with-infopath=/usr/local/lib/xemacs/info:/usr/local/info:/usr/local/info:/usr/info:/usr/local/lib/texmf/doc/info:/usr/lib/texmf/doc:/usr/share/info'
 > '--enable-clash-detection' '--enable-database=berkdb' '--with-xim'
 > '--with-canna' '--with-xim=xlib' '--enable-menubars=lucid'

Here's --with-canna, but ...

 > '--enable-scrollbars=motif' '--enable-dialogs=motif'
 > '--enable-widgets=motif' '--disable-debug'
 > '--disable-error-checking' '--disable-kkcc' '--disable-mc-alloc'
 > '--disable-newgc' '--with-xfs' '--with-jpeg=yes' '--with-png=yes'
 > '--with-tiff=yes' '--with-xface=yes' '--with-athena=xaw'
 > '--with-canna=no' '--with-wnn=no' '--with-wnn6=no'

Here you have --with-canna=no.  I believe that the argument parsing
loop is such that the last one wins.

 > '--x-libraries=/usr/local/lib' '--x-includes=/usr/local/include'
 > '--prefix=/usr/local' '--mandir=/usr/local/man'
 > '--infodir=/usr/local/info/xemacs-21.5-b28' '--build=i386--freebsd'
 > 'build_alias=i386--freebsd' 'CC=cc' 'CFLAGS=-O2
 > -fno-strict-aliasing -pipe '

Note that Canna is not listed here:

 > Internationalization:
 >   Compiling in support for Mule (multi-lingual Emacs).
 >   Compiling in support for XIM (X11R5+ I18N input method).
 >     - Using raw Xlib to provide XIM support.
 >     - Using XFontSet to provide bilingual menubar.

It should contain the line

  Compiling in support for Canna on Mule.




More information about the XEmacs-Beta mailing list