[macemacsjp-english 275] Re: emacs -nw gives 'arch-dependent data dir' missing message

Zurück zum Archiv-Index

John Owens carbo****@spamg*****
Sun Oct 9 16:24:50 JST 2005


> fanta 312$ which emacs 
> /usr/local/bin/emacs
> fanta 313$ ls -l /usr/local/bin/emacs
> lrwxr-xr-x   1 root  wheel  44 Oct  9 00:10 /usr/local/bin/emacs -> /Applications/Emacs.app/Contents/MacOS/Emacs
> fanta 314$ emacs -nw -q
> Warning: arch-dependent data dir (/Applications/Emacs.app/Contents/Resources/libexec/emacs/22.0.50/powerpc-apple-darwin8.2.0/) does not exist.

This is same as before, with the *Message* buffer reading:

> Warning: arch-dependent data dir (/Applications/Emacs.app/Contents/Resources/li\bexec/emacs/22.0.50/powerpc-apple-darwin8.2.0/) does not exist.
> 
> (emacs)
> Loading disp-table...done
> byte-code: Finder got an error: Can't continue .

Now here's the interesting one. When I run it directly (not through
the soft link), I get:

> fanta 320$ /Applications/Emacs.app/Contents/MacOS/Emacs -nw -q
> 2005-10-09 00:21:13.118 Emacs[22070] CFLog (0): CFMessagePort: bootstrap_register(): failed 1103 (0x44f), port = 0x3303, name = 'org.gnu.Emacs.ServiceProvider'
>                                                                                See /usr/include/servers/bootstrap_defs.h for the error codes.
>                                                              2005-10-09 00:21:13.166 Emacs[22070] CFLog (99): CFMessagePortCreateLocal(): failed to name Mach port (org.gnu.Emacs.ServiceProvider)

I don't know this error message. Emacs does appear to start up
correctly though (this ends up on cerr, I think).

Now, what's the "approved" way of setting up Carbon Emacs such that I
can run it from the command line? Is a hard link to /usr/local/bin
(rather than the soft link that seems to be leading to the byte-code
error) more appropriate? I can see putting it in /Applications is the
right thing from the Apple point of view, but then I'd also like to
run command line for various things. I think going with Apple's
shipped emacs might be the best idea for that. 

JDO



More information about the macemacsjp-english mailing list
Zurück zum Archiv-Index