logo       

Re: Re: Success installing emacs-w3m with Aquamacs?: msg#00027

emacs.macintosh.osx

Subject: Re: Re: Success installing emacs-w3m with Aquamacs?

Hullo, i decided to have some fun with this today and here's what i found (using the latest versions of everything):


so would something like

./configure --prefix="/Library/Application Support/Aquamacs Emacs"
make
sudo make install

or so do the job?


nope, here's what i tried:

./configure --with-emacs="/Applications/Aquamacs Emacs.app/Contents/ MacOS/Aquamacs Emacs" \
--prefix="/Users/wladimir/Library/Application Support/Aquamacs Emacs"

this gave:
...checking for /Applications/Aquamacs... /Applications/Aquamacs Emacs.app/Contents/MacOS/Aquamacs Emacs
checking what a flavor does /Applications/Aquamacs Emacs.app/Contents/ MacOS/Aquamacs Emacs have... cat: ./conftest-3302: No such file or directory
configure: error: is not supported.

then i tried:
./configure --prefix="/Users/wladimir/Library/Application Support/ Aquamacs Emacs"

this configured fine but i still had to tweak the makefiles since the directory structure of stock emacs and aquamacs is a bit different. however make fails in this case with errors of this type (even when sudo making):

/Users/wladimir/gentoo/usr/bin/install: cannot create regular file `/ Applications/Aquamacs Emacs.app/Contents/Resources/site-lisp/w3m/w3m- weather.elc': No such file or directory

so in the end i configured and built with defaults (using the stock emacs) and added the following to .emacs as suggested by Ben:

(add-to-list 'load-path "/usr/share/emacs/site-lisp/w3m/")
(require 'w3m-load)

this works nicely, the info in Aquamacs even knows to look for the w3m info files in /usr.

Renzo's suggestion works as well but it can be cumbersome if one is adding multiple packages or updating them. I'd reccomend keeping them in a command-line emacs (either the macosx stock or from fink or cvs, etc) and add the appropriate directories to the load-path of Aquamacs.

hth,

wlad


---------------------------- Info -----------------------------
List Post: <mailto:macosx-emacs@xxxxxxxxxxxxxxxxx>
List Archives: <http://dir.gmane.org/gmane.emacs.macintosh.osx>




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise