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

Re: Can't get w3m on NTEmacs to load



Katsumi Yamaoka <yamaoka@jpl.org> writes:

> Hm, your emacs-w3m package seems to have already been compiled.
> If so, I recommend you do `make clean' and `make' again.

Done.

bash-2.05b$ make clean
rm -rf *~ *.elc shimbun/*.elc emacs-w3m* w3m-kwds.el
bash-2.05b$ make
env test ! -f w3m-util.elc -o w3m-util.elc -nt w3m-util.el || make clean
env test ! -f w3m-proc.elc -o w3m-proc.elc -nt w3m-proc.el || make clean
/emacs/bin/emacs -q -no-site-file -batch -l w3mhack.el NONE -f w3mhack-compile
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-util.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-proc.elc
While compiling the end of the data in file c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-e21.el:
  ** The function `image-size' is not known to be defined.
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-e21.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-fsf.elc
Loading c:/usr/pkg/emacs-21.2/bin/fns-21.2.1.el (source)...
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-antenna.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-bookmark.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-bug.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-cookie.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-dtree.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-form.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-hist.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-image.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-namazu.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-perldoc.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-search.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-tabmenu.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m-weather.elc
Wrote c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m.elc
bash-2.05b$ pwd
/emacs/site-lisp/emacs-w3m-1.3.3
bash-2.05b$

>> Here's the backtrace of it failing:
>
>> Debugger entered--Lisp error: (void-function w3m-alive-p)
>>   apply(debug error (void-function w3m-alive-p))
>>   edebug(error (void-function w3m-alive-p))
>>   signal(void-function (w3m-alive-p))
>>   edebug-signal(void-function (w3m-alive-p))
>>   (w3m-alive-p)
> [...]
>>   call-interactively(w3m)
>
> That's weird.  Does the w3m command you use come from real
> w3m.el?  My guess is that the w3m.elc file you use is corrupted,
> or there's another version of emacs-w3m in the load-path.  To
> make sure of it, do the `C-x C-f' command for the w3m file[1]
> and do the `C-s' command for the string "(defun w3m-alive-p".

Line 5049 in w3m.el.

>
> [1] Use the file name (but .el, not .elc) obtained by evaluating
>     the following form (type C-j at the end of the line in the
>     *scratch* buffer):
>
>     (locate-library "w3m")


(locate-library "w3m")
"c:/usr/pkg/emacs-21.2/site-lisp/emacs-w3m-1.3.3/w3m.elc"

That's the one I just compiled.

Still does it. ???

-- 

Thanks,
Jeff
,----
| Jeffery B. Rancier
| 
| Softechnics
| a METTLER TOLEDO company
`----