[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wrong type error when calling all functions
- From: Katsumi Yamaoka <yamaoka@xxxxxxx>
- Date: Mon, 20 Dec 2010 14:16:02 +0900
- X-ml-name: emacs-w3m
- X-mail-count: 11458
- References: <4D0EB430.2070804@xxxxxxxxx> <b4mipyptbne.fsf@xxxxxxx> <4D0EC893.8090002@xxxxxxxxx>
In [emacs-w3m : No.11457] Chris Thompson wrote:
> locate-library for w3m, org, abbrev and others return this directory:
> I installed emacs from homebrew. It looks like there is a mistake in
> that install script, but I haven't looked into it.
> I was't able to build the package that you linked to. I really only
> know configure, make, make install. What would I need to do to build
> the package you linked too? However, I did build 1.4.4 from the same
Perhaps it may be downloaded as the file name
"emacs-w3m.tar.gz?view=tar". If so, rename it to "emacs-w3m.tar.gz".
To build and install it to the default directories:
gzip -cd emacs-w3m.tar.gz| tar xf -
(creates the configure script)
(shows the directories to which the modules will be installed)
If you wish to install it under the directory "/home/chris/",
use the configure option "--prefix=/home/chris", i.e.:
Run "./configure --help" to see the other options. You may want
to use "--with-lispdir=", "--with-icondir=", or "--infodir=".
Remember that "make what-where" shows what "make install" will do,
after performing the configure script with some options.
And then, if you install emacs-w3m to non-standard directories,
modify the ~/.emacs file to add the directory where w3m.elc,
w3m-load.el, etc. exist to the Lisp variable `load-path'.
(add-to-list 'load-path "/home/chris/share/emacs/site-lisp/w3m")
And you may further want to explicitly set `w3m-icon-directory'
and to modify `Info-directory-list' as follows:
> I rebuilt it just now with the lispdir variable in the makefile equal
> to the above path. Now locate-library w3m gives the above path. So the
> w3m.ecl is in the same directory as w3m-load.el. Unfortunately I am
> getting the same error- Wrong type argument: array-p, nil.
Hm, add this snippet
(setq debug-on-error t)
just above the (require 'w3m-load) line, and see what Emacs says.
> Perhaps I should try a reinstall of emacs?
I don't think so.