Subject: No way to run 'Emacs.app' in no-window mode ['-nw' mode]: no 'emacs' binary created in installation's 'bin' directory

From: Livin Stephen Sharma <[email-masked]>
Date: Tue, 19 May 2009 12:10:10 +0530

23.0.90; Mac 10.4.11 [PPC] installation does not create "<EMACS_DIR>/ 
bin/emacs" binary when built using "--with-ns", "--enable-ns-self- 
contained=yes"

I built emacs 23 from source using:
1.
./configure --prefix /Applications/Emacs.app/Contents/MacOS --with-ns  
--enable-ns-self-contained=yes
--enable-cocoa-experimental-ctrl-g=yes

2.
make

3.
sudo make install

4. cp ./Emacs.app /Applications

The problem is that there is no 'emacs' binary in the installation's  
'bin' directory: only 'emacsclient'
$ ls /Applications/Emacs.app/Contents/MacOS/bin
b2m                     digest-doc               
etags                   hexl                     
profile                 sorted-doc
ctags                   ebrowse                  
fakemail                mac-fix-env             rcs- 
checkin             update-game-score
cvtmail                 emacsclient             grep- 
changelog          movemail                rcs2log                  
vcdiff

A *serious* drawback of this is that I cannot run emacs in terminal  
(non-windowed) mode.

In GNU Emacs 23.0.90.1 (powerpc-apple-darwin8.11.0, NS apple- 
appkit-824.48)
  of 2009-05-13 on mac
Windowing system distributor `Apple', version 10.3.824
configured using `configure  '--prefix' '/Applications/Emacs.app/ 
Contents/MacOS' '--with-ns' '--enable-ns-self-contained=yes' '-- 
enable-cocoa-experimental-ctrl-g=yes''

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: nil
   value of $XMODIFIERS: nil
   locale-coding-system: nil
   default-enable-multibyte-characters: t

Major mode: Lisp Interaction

Minor modes in effect:
   global-hl-line-mode: t
   show-paren-mode: t
   pair-mode: t
   iswitchb-mode: t
   savehist-mode: t
   tooltip-mode: t
   mouse-wheel-mode: t
   menu-bar-mode: t
   file-name-shadow-mode: t
   global-font-lock-mode: t
   font-lock-mode: t
   global-auto-composition-mode: t
   auto-composition-mode: t
   auto-encryption-mode: t
   auto-compression-mode: t
   size-indication-mode: t
   column-number-mode: t
   line-number-mode: t
   transient-mark-mode: t

Recent input:
<menu-bar> <help-menu> <send-emacs-bug-report>

Recent messages:
Loading /Users/livin/.emacs.d/macros/lss-shebang-python...done
Loading /Users/livin/.emacs.d/macros/lss-shebang-jython...done
Loading /Users/livin/.emacs.d/macros/lss-shebang-bash...done
Loading /Users/livin/.emacs.d/macros/lss-rename-buffer-as- 
CLASSNAME.java...done
Loading /Users/livin/.emacs.d/macros/lss-rename-buffer-shorten-to-LSB- 
part...done
Loading /Users/livin/.emacs.d/macros/lss-rename-buffer-java-style- 
abbreviated...done
Loading /Users/livin/.emacs.d/macros/lss-bind-keys-to-macros...done
[134217848 103 108 111 98 97 108 45 115 101 116 45 107 101 121 13  
201326634 108 115 115 45 105 110 118 101 114 116 45 102 97 99 101 45  
100 101 102 97 117 108 116 13 134217848 103 108 111 98 97 108 45 115  
101 116 45 107 101 121 13 24 134217836 108 115 115 45 108 111 97 100  
45 102 105 108 101 45 46 101 109 97 99 115 46 102 117 108 108 13  
134217848 103 108 111 98 97 108 45 115 101 116 45 107 101 121 13 24  
112 108 108 115 115 45 112 52 45 108 111 103 105 110 13 134217848 103  
108 111 98 97 108 45 115 101 116 45 107 101 121 13 3 32 108 115 115  
45 115 99 114 111 108 108 45 109 111 100 101 45 111 110 13]
All done, livin loading basic LIVIN's .emacs .
For information about GNU Emacs and the GNU system, type C-h C-a.

  Livin Stephen
-- [email-masked]