[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

`make install' on Mac OS X silently corrupts existing /Applications/Emac

From: Gregory Nathan Price
Subject: `make install' on Mac OS X silently corrupts existing /Applications/Emacs.app
Date: Wed, 19 Sep 2007 02:06:42 -0400
User-agent: Mutt/1.5.12-2006-07-14

I downloaded `emacs-22.1.tar.gz' from gnu.org, and following the
instructions in `mac/INSTALL' ran `./configure --enable-carbon-app';
`./make'; `sudo ./make install'.

Before doing so, I had a working Emacs in `/Applications/Emacs.app',
from Seiji Zenitani's widely-distributed build of a 2006 CVS snapshot.
(Working, but lacking some bugfixes which I was eager to obtain.  Thanks!)

After doing so, I had a chimera:

$ l /Applications/Emacs.app/Contents/
total 12
-rw-r--r--    1 price  admin    25 Aug 19  2006 .cvsignore
-rw-r--r--    1 price  price  3689 Jan 27  2007 Info.plist
drwxr-xr-x    3 price  admin   102 Aug 19  2006 Library
drwxr-xr-x    5 price  price   170 Sep 18 15:55 MacOS
-rw-r--r--    1 price  price     8 Jul 31  2002 PkgInfo
drwxr-xr-x   15 price  price   510 Jun  2 07:19 Resources

This chimera didn't work correctly; for instance, python-send-buffer fails:

Python 2.3.5 (#1, Jan 13 2006, 20:13:11) 
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "/Applications/Emacs.app/Contents/Resources/etc/emacs.py", line 23, in ?
    import os, sys, traceback, inspect, rlcompleter, __main__
 line 42, in ?
    import readline
ImportError: No module named readline
>>> >>> Traceback (most recent call last):
  File "<stdin>", line 1, in ?
NameError: name 'emacs' is not defined
>>> >>> 

The file `/Applications/Emacs.app/Contents/Resources/etc/emacs.py'
does not exist in a clean install from emacs-22.1.tar.gz;
presumably it should not have been loaded.

Of course moving /Applications/Emacs.app out of the way is all it took
to make a clean install.  But Emacs' `make install' should notice an
existing installation, and stop short rather than (a) destroy the
existing installation and (b) produce a part-working chimera.

Thanks, best,
Greg Price

In GNU Emacs 22.1.1 (i386-apple-darwin8.10.1, Carbon Version 1.6.0)
 of 2007-09-18 on whitaker-four-seventy-four.mit.edu
Windowing system distributor `Apple Inc.', version 10.4.10
configured using `configure  '--enable-carbon-app''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Major mode: Python

Minor modes in effect:
  shell-dirtrack-mode: t
  encoded-kbd-mode: t
  show-paren-mode: t
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  unify-8859-on-encoding-mode: t
  utf-translate-cjk-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t

Recent input:
<up> <up> C-c C-c <help-echo> C-x 5 b <return> <help-echo> 
<help-echo> C-x b * <right> <right> <return> <switch-frame> 
C-c C-c <down> <down> <down> <down> <down> <down> <down> 
<return> d e f SPC g ( x ) : <return> <tab> r e t u 
r n SPC f ( f ( x ) ) <return> C-x C-s C-c C-c <switch-frame> 
g ( 3 ) <return> <switch-frame> <switch-frame> <switch-frame> 
<up> <right> <right> <M-right> <M-left> <backspace> 
<tab> <down> <down> <down> <down> <down> <down> C-SPC 
<up> C-c # C-c ; C-x C-x C-x C-x <escape> x p y <tab> 
t h <tab> <tab> <tab> <tab> <tab> <tab> <tab> s w i 
<tab> <return> C-x 0 C-c C-z C-x 0 <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <up> <down> <down> <down> 
<right> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <down> <down> <down> <right> <down> <down> 
<down> <down> <down> <down> <up> <up> <up> <up> <up> 
<up> <up> <up> <up> <up> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<up> <up> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <up> <up> <up> <up> <up> <up> <up> <up> <up> 
<up> <up> <up> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<down> <down> <down> <down> <down> <down> <down> <down> 
<help-echo> <help-echo> C-x C-s M-x e m a <tab> s e 
<tab> n <tab> <backspace> <backspace> <backspace> r 
e p <tab> o <tab> <tab> <tab> <backspace> <backspace> 
<backspace> <backspace> <tab> <tab> <backspace> <backspace> 
<backspace> <backspace> <backspace> <backspace> r e 
p <tab> o <tab> r t - e m <tab> <return>

Recent messages:
(No files need saving)
History item: 1
History item: 2
Wrote /Users/price/tmp/foo.py
Mark set
Making completion list... [2 times]
Wrote /Users/price/tmp/foo.py
Making completion list... [3 times]
Loading emacsbug...done

reply via email to

[Prev in Thread] Current Thread [Next in Thread]