unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Problem with just-installed Emacs on Mac OS X
@ 2005-02-25  2:21 Kubovy Michael
  2005-02-25 11:03 ` Peter Dyballa
  0 siblings, 1 reply; 4+ messages in thread
From: Kubovy Michael @ 2005-02-25  2:21 UTC (permalink / raw)


When I launch Emacs, it complains and asks me to start up with

emacs --debug-init

When I do, I get:

Debugger entered--Lisp error: (file-error "Opening directory" "no such  
file or directory"  
"/Applications/Emacs.app/Contents/Resources/site-lisp")
    
directory-files("/Applications/Emacs.app/Contents/Resources/site-lisp")
   normal-top-level-add-subdirs-to-load-path()
   (let ((current-default-directory default-directory)) (setq  
default-directory site-lisp-directory)  
(normal-top-level-add-subdirs-to-load-path) (setq default-directory  
current-default$
    
load-local-site-start("/Applications/Emacs.app/Contents/Resources/site- 
lisp")
   (if (boundp (quote darwinp)) nil (load-local-site-start  
"/Applications/Emacs.app/Contents/Resources/site-lisp"))
   (unless (boundp (quote darwinp)) (load-local-site-start  
"/Applications/Emacs.app/Contents/Resources/site-lisp"))
   eval-buffer(#<buffer  *load*> nil "~/.emacs" nil t)
   load-with-code-conversion("/Users/mk9y/.emacs" "~/.emacs" t t)
   load("~/.emacs" t t)
   #[nil "^H\205\227^@   \306=\203^Q^@\307^H\310Q\2025^@  
\311=\203'^@\312\307\313\314#\203#^@\315\2025^@\316\2025^@       
\317=\2031^@\320\2025^@\307^H\321Q^Z\322^S\323\n\322\211#\210^K$
   command-line()
   normal-top-level()

Any advice would be appreciated. Please cc the reply to me, since I  
receive the digest, and would be happy to make progress soon.

Thanks,

MK
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: 	P.O.Box 400400	Charlottesville, VA 22904-4400
Parcels:	Room 102		Gilmer Hall
		McCormick Road	Charlottesville, VA 22903
Office:	B011	+1-434-982-4729
Lab:		B019	+1-434-982-4751
Fax:		+1-434-982-4766
WWW:	http://www.people.virginia.edu/~mk9y/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem with just-installed Emacs on Mac OS X
       [not found] <mailman.1568.1109299992.32256.help-gnu-emacs@gnu.org>
@ 2005-02-25  3:48 ` Tim McNamara
  2005-02-25 13:54 ` Stefan Monnier
  1 sibling, 0 replies; 4+ messages in thread
From: Tim McNamara @ 2005-02-25  3:48 UTC (permalink / raw)


Kubovy Michael <mk9y@mac.com> writes:

> When I launch Emacs, it complains and asks me to start up with
>
> emacs --debug-init
>
> When I do, I get:
>
> Debugger entered--Lisp error: (file-error "Opening directory" "no
> such file or directory"

<snip>

> Any advice would be appreciated. Please cc the reply to me, since I
> receive the digest, and would be happy to make progress soon.

Do you have a .emacs configuration file in your home directory?  It
looks like it is complaining that it can't find one.

Did you compile this yourself, or download a precompiled binary?  If
you compiled it yourself, what did you use for ./configure?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem with just-installed Emacs on Mac OS X
  2005-02-25  2:21 Kubovy Michael
@ 2005-02-25 11:03 ` Peter Dyballa
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Dyballa @ 2005-02-25 11:03 UTC (permalink / raw)
  Cc: help-gnu-emacs


Am 25.02.2005 um 03:21 schrieb Kubovy Michael:

>   (if (boundp (quote darwinp)) nil (load-local-site-start 
> "/Applications/Emacs.app/Contents/Resources/site-lisp"))
>   (unless (boundp (quote darwinp)) (load-local-site-start 
> "/Applications/Emacs.app/Contents/Resources/site-lisp"))
>   eval-buffer(#<buffer  *load*> nil "~/.emacs" nil t)
>   load-with-code-conversion("/Users/mk9y/.emacs" "~/.emacs" t t)
>   load("~/.emacs" t t)

This Carbon Emacs seems to be a bit mis-configured, probably --prefix 
was not correctly set.

When Emacs launches it finds your .emacs sees that it has load files 
from the directory 
/Applications/Emacs.app/Contents/Resources/site-lisp, that's *inside* 
the Carbon Emacs bundle, but this directory is not there (it's probably 
at it's usual place /usr/local/share/emacs/21.3.50/site-lisp or 
/usr/local/share/emacs/site-lisp).

There are a few ways to correct this:

./configure ... --prefix=/Applications/Emacs.app/Contents/Resources

ln -s /usr/local/share/emacs/21.3.50/site-lisp 
/Applications/Emacs.app/Contents/Resources (you would need a few more 
of them!)

copy or move the misplaced software into the Carbon Emacs bundle

I'd recommend to re-configure and re-compile and re-install! If you do 
all this in Emacs you'll have buffers with logs of all this to check 
was has happened and what was installed where.


There is also:
------------------------------- Info --------------------------------
List Post: <mailto:macosx-emacs@email.esm.psu.edu>
List Archives: <http://www.esm.psu.edu/mac-tex/MacOSX-Emacs-Digests/>

--
Greetings

   Pete

For some reason, this fortune reminds everyone of Marvin Zelkowitz.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Problem with just-installed Emacs on Mac OS X
       [not found] <mailman.1568.1109299992.32256.help-gnu-emacs@gnu.org>
  2005-02-25  3:48 ` Problem with just-installed Emacs on Mac OS X Tim McNamara
@ 2005-02-25 13:54 ` Stefan Monnier
  1 sibling, 0 replies; 4+ messages in thread
From: Stefan Monnier @ 2005-02-25 13:54 UTC (permalink / raw)


> When I launch Emacs, it complains and asks me to start up with

As the INSTALL.CVS file explains, questions/discussions relative to the CVS
version of Emacs should take place on emacs-devel or emacs-pretest-bug.
You'll get better answers there,


        Stefan

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-02-25 13:54 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.1568.1109299992.32256.help-gnu-emacs@gnu.org>
2005-02-25  3:48 ` Problem with just-installed Emacs on Mac OS X Tim McNamara
2005-02-25 13:54 ` Stefan Monnier
2005-02-25  2:21 Kubovy Michael
2005-02-25 11:03 ` Peter Dyballa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).