At 18 Jun 1999 16:46:25 +0900,
SL Baur <steve(a)xemacs.org> wrote:
> I have a problem on lookup package
(
http://openlab.ring.gr.jp/lookup/)
> with XEmacs 21.2.15.
...
Is there any flag I can set in it to have it tell me about
inflection?
Eg. if you feed something like "tabemashita" to xjdic23, it returns
the verb taberu with the description "Possible inflected verb or
adjective (polite, past)".
I don't know about this kind of flags for lookup...
...
> This has not been occured with XEmacs 21.2.13. (I didn't
check with
> 21.2.14) Is this a problem of XEmacs 21.2.15?
Possibly, but the only correct thing to do when a package provides a
bytecompilation wrapper is to totally ignore it. If a lisp file
cannot be bytecompiled by
xemacs -batch -vanilla -eval "(push \"$(pwd)\" load-path)" \
-f batch-byte-compile foo.el
it is broken and needs to be fixed.
Today I tried the lookup with XEmacs 21.2.17 (Chiyoda), but I got same
phenomenon as 21.2.15. Maybe my explanation in the previous mail was
too short. Here is what I did today.
(1) Install the XEmacs on my machine (FreeBSD 3.2R) with latest sumo
and mule-sumo packages.
(2) Extract lookup package and tried to installed followed by the
instruction in "INSTALL" document with it. That is;
# ./configure --with-emacs=xemacs
# make
Making package stopped with the message...
mosra# make
Making all in lisp
Wrong type argument: stringp, nil
xemacs exiting.
*** Error code 255
Stop.
*** Error code 1
Stop.
(3) I checked the Makefile and found that the elisp in
lisp/lookup-compile.el makes an error. And finally what was changed
from 21.2.13 was the result of following elisp code.
(setq load-path (cons nil load-path))
(load "browse-url")
Please try to run the XEmacs with "xemacs -nw -vanilla" and evaluate
this one. On 21.2.17, I got an error message "Wrong type argument:
stringp, nil" But on 21.2.13 or 21.1.2, it was executed without
error.
Installation faiure of lookup seems to be occured because the latest
XEmacs's behavier has changed when there is 'nil' in load-path.
(4) So, I changed 'nil' in lookup-compile.el to "." "make"
and "make
install" seems to be OK. BUT, lookup-xxx does not work. It shows an
error "Autoloading failed to define function lookup-word."
Umm...
Could you tell me how did you install the lookup?
--
Osamu MIHARA // NEC Printers Division