[OS X Emacs] org-mode with Aquamacs 2.0preview2: charsets directory?

Stefan Vollmar vollmar at nf.mpg.de
Mon Aug 10 09:56:02 EDT 2009


Dear David,

On 10.08.2009, at 14:31, David Reitter wrote:

> On Aug 10, 2009, at 6:39 AM, Stefan Vollmar wrote:
>> emacs -batch -q -no-site-file -eval "(progn (add-to-list (quote  
>> load-path) \"/usr/local/share/emacs/site-lisp\") (add-to-list  
>> (quote load-path) (expand-file-name \"./lisp/\")))" -f batch-byte- 
>> compile lisp/org.el
>> Warning: arch-dependent data dir (/Users/dr/Nightly/Cocoa23ub/ 
>> aquamacs-emacs.git/nextstep/Aquamacs.app/Contents/MacOS/libexec/ 
>> emacs/23.1/i386-apple-darwin9.7.0/) does not exist.
>
> Hmm, this is a path from our build environment.  I don't know why  
> this ends up hard-coded in the binary.
>
> Second, what is "emacs"?  It seems to run Aquamacs, but is it a  
> symlink?

This, apparently, was the problem. org-mode comes with a Makefile  
which has a line

EMACS=emacs

and I have set up a link

/usr/bin/emacs -> /Applications/Aquamacs.app/Contents/MacOS/Aquamacs

Calling emacs that way results in:

Error: charsets directory (/Users/dr/Nightly/Cocoa23ub/aquamacs- 
emacs.git/nextstep/Aquamacs.app/Contents/Resources/share/emacs/23.1/ 
etc/charsets) does not exist.

I realize that this was not a particularly clever thing to do - sorry.  
If I configure org-mode's Makefile as

EMACS="/Applications/Aquamacs.app/Contents/MacOS/Aquamacs"

org-mode is build correctly.

Warm regards,
  Stefan
-- 
Dr. Stefan Vollmar, Dipl.-Phys.
Max-Planck-Institut für neurologische Forschung
Gleuelerstr. 50, 50931 Köln, Germany
Tel.: +49-221-4726-213  FAX +49-221-4726-298
Tel.: +49-221-478-5713  Mobile: 0160-93874279
Email: vollmar at nf.mpg.de   http://www.nf.mpg.de








More information about the MacOSX-Emacs mailing list