From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Revilak Newsgroups: gmane.emacs.devel Subject: Re: Trouble building against Emacs23 OSX Date: Mon, 14 Dec 2009 10:06:16 -0500 Message-ID: <20091214150615.GB643@srevilak.net> References: <20091214041725.02EB487870@mxperim1.sea5.speakeasy.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aM3YZ0Iwxop3KEKx" X-Trace: ger.gmane.org 1260804068 5710 80.91.229.12 (14 Dec 2009 15:21:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Dec 2009 15:21:08 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 14 16:21:01 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NKCjM-00068g-F0 for ged-emacs-devel@m.gmane.org; Mon, 14 Dec 2009 16:21:00 +0100 Original-Received: from localhost ([127.0.0.1]:41006 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKCjM-0007IC-8d for ged-emacs-devel@m.gmane.org; Mon, 14 Dec 2009 10:21:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NKCVH-0006Eh-Im for emacs-devel@gnu.org; Mon, 14 Dec 2009 10:06:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NKCVC-0006Aw-8M for emacs-devel@gnu.org; Mon, 14 Dec 2009 10:06:26 -0500 Original-Received: from [199.232.76.173] (port=37619 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NKCVC-0006Ak-32 for emacs-devel@gnu.org; Mon, 14 Dec 2009 10:06:22 -0500 Original-Received: from mail7.sea5.speakeasy.net ([69.17.117.9]:43976) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NKCVB-0008E7-HD for emacs-devel@gnu.org; Mon, 14 Dec 2009 10:06:21 -0500 Original-Received: (qmail 4850 invoked from network); 14 Dec 2009 15:06:18 -0000 Original-Received: from pool-96-233-67-219.bstnma.fios.verizon.net (HELO srevilak.net) (srevilak@[96.233.67.219]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 14 Dec 2009 15:06:18 -0000 Content-Disposition: inline In-Reply-To: <77BFD78F-B7D8-448B-A499-140829ADC435@gmail.com> User-Agent: Mutt/1.5.19 (2009-01-05) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:118612 Archived-At: --aM3YZ0Iwxop3KEKx Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline >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 --aM3YZ0Iwxop3KEKx Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (Darwin) iEYEARECAAYFAksmVGcACgkQX7YJI4BuyDRE+ACg7FT22wMWVQRybR3n4km+T1BZ 00UAoMFudj/3J5MOXRoeFkUAgMuXhbFT =XViI -----END PGP SIGNATURE----- --aM3YZ0Iwxop3KEKx--