From: Steve Revilak <steve@srevilak.net>
To: emacs-devel@gnu.org
Subject: Re: Trouble building against Emacs23 OSX
Date: Mon, 14 Dec 2009 10:06:16 -0500 [thread overview]
Message-ID: <20091214150615.GB643@srevilak.net> (raw)
In-Reply-To: <77BFD78F-B7D8-448B-A499-140829ADC435@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1121 bytes --]
>Subject: Re: Trouble building against Emacs23 OSX
>> Warning: Could not find simple.el nor simple.elc
>> Cannot open load file: cl
>> configure: error: Process couldn't proceed. See the above messages.
>Could you try to set the appropriate environment variable rather than creating a symlink into the application bundle?
>
>Usually, it is something like
>
>export EMACS=/Applications/Emacs.app/Contents/MacOS/Emacs
There is another strategy that I've found helpful for OS X. I have a
one-line shell script installed as
/Applications/Emacs.app/Contents/MacOS/bin/emacs:
$ cat /Applications/Emacs.app/Contents/MacOS/bin/emacs
#!/bin/sh
exec /Applications/Emacs.app/Contents/MacOS/Emacs -nw "$@"
Then, I prepend /Applications/Emacs.app/Contents/MacOS/bin to PATH.
With these two steps, you should be able to build any extra lisp
packages "out of the box", and you'll get the correct versions of
helper programs like emacsclient and etags.
When you want to run emacs as a windowed application, use
"open /Applications/Emacs.app". Open will propagate your shell's
environment to the windowed emacs.
Steve
[-- Attachment #2: Type: application/pgp-signature, Size: 195 bytes --]
prev parent reply other threads:[~2009-12-14 15:06 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-13 23:06 Trouble building against Emacs23 OSX defn
2009-12-13 23:24 ` David Reitter
2009-12-13 23:32 ` Devin Walters
2009-12-14 15:06 ` Steve Revilak [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20091214150615.GB643@srevilak.net \
--to=steve@srevilak.net \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.