Install fail on fresh Yosemite mac ?

60 views
Skip to first unread message

Brian Beckman

unread,
Mar 5, 2015, 12:58:16 AM3/5/15
to emacs...@googlegroups.com
Hello -- on an absolutely fresh Mac Book Pro running Yosemite, The first thing I do is install homebrew, add /usr/local/bin to my PATH, do

brew install emacs

which is successful, producing this in the window when I run emacs:

GNU Emacs 24.4.1 (x86_64-apple-darwin14.0.0)
 of 2014-11-06 on miniyosemite.local
Copyright (C) 2014 Free Software Foundation, Inc.

then i did the "bash-script" style of installation for emacs-live

bash <(curl -fksSL https://raw.github.com/overtone/emacs-live/master/installer/install-emacs-live.sh)

which seems to succeed, but then I get the bomb when starting emacs. I do emacs --debug-init, and get
a massive traceback. I have read it closely, but I can't quite see what's going wrong. Perhaps someone
with more experience can spot the problem? :

Here is the traceback in a pastebin:

http://pastebin.com/ZepG34nF


gvim

unread,
Mar 5, 2015, 1:03:16 AM3/5/15
to emacs...@googlegroups.com
I think Emacs Live! is intended for use with Carbon Emacs:

http://emacsformacosx.com/

gvim

Brian Beckman

unread,
Mar 5, 2015, 8:45:03 AM3/5/15
to emacs...@googlegroups.com
Just tried that (thanks for the tip) -- but I get the same result -- total death :(

It looks like it's failing trying to load some file, but it's hard to see what file it's looking for.  There is one hint that it's trying to load osx.el, but that's present.

Message has been deleted

gvim

unread,
Mar 5, 2015, 11:54:50 AM3/5/15
to emacs...@googlegroups.com
On 05/03/2015 14:02, Brian Beckman wrote:
> Ok, found out (by bisection) that it is, indeed, missing osx.el and that
> the foundation pack (which tries to load osx.el) is the one throwing the
> error.
>
> Now trying to resolve by searching for osx.el (I was mistaken earlier
> when I thought it was on the machine)
>

This is where it should be:

[.emacs.d]$ find . -name 'osx.el' -print
./packs/dev/foundation-pack/config/osx.el
./packs/stable/foundation-pack/config/osx.el

gvim

Brian Beckman

unread,
Mar 5, 2015, 12:46:03 PM3/5/15
to emacs...@googlegroups.com
This has been resolved. A fresh Yosemite mac (at least as delivered by my corporate IT dept) has SHELL set to /bin/false, which does not even exist.  This causes exec-path-from-shell, called from osx.el and the foundation-pack initializers, to explode. The solution is to export SHELL=/bin/bash or whatever from wherever you like to set your environment variables.

Sam Aaron

unread,
Mar 6, 2015, 8:33:53 AM3/6/15
to emacs...@googlegroups.com

> On 5 Mar 2015, at 06:03, gvim <gvi...@gmail.com> wrote:
>
>
> I think Emacs Live! is intended for use with Carbon Emacs:
>
> http://emacsformacosx.com/
>

Just for the record, Emacs Live is intended for use with Emacs within a Terminal - which means it should run in most Emacs environments on most platforms :-)

Sam

Brian Beckman

unread,
Mar 6, 2015, 12:38:52 PM3/6/15
to emacs...@googlegroups.com
Turn out another thing I had to do (most annoying to discover the need for this) to get it running in a Terminal

iterm2 > Preferences > Profiles > Keys > "Left option (\') key acts as: +Esc"

without that, all kinds of meta commands are completely bouillabaissed .  


--
You received this message because you are subscribed to a topic in the Google Groups "Emacs Live" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/emacs-live/f1TtwIavBPY/unsubscribe.
To unsubscribe from this group and all its topics, send an email to emacs-live+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

emap...@gmail.com

unread,
Mar 6, 2015, 5:16:44 PM3/6/15
to emacs...@googlegroups.com
I find that Emacs-Live runs fine in GUI mode, you'll probably find that more (odd) keyboard combinations work better in GUI mode, since that is where modern Emacs gets developed.  I'm glad that you figured out the missing /bin/false error, that file should exist on POSIX compliant systems.
Reply all
Reply to author
Forward
0 new messages