From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andrew Choi Newsgroups: gmane.emacs.devel Subject: Re: MacOS X Emacs Date: Tue, 18 Jun 2002 13:11:47 -0600 Sender: emacs-devel-admin@gnu.org Message-ID: References: Reply-To: akochoi@shaw.ca NNTP-Posting-Host: localhost.gmane.org Content-Transfer-Encoding: 7BIT X-Trace: main.gmane.org 1024428078 14974 127.0.0.1 (18 Jun 2002 19:21:18 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 18 Jun 2002 19:21:18 +0000 (UTC) Cc: emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17KOXW-0003tP-00 for ; Tue, 18 Jun 2002 21:21:18 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17KOyM-0008QG-00 for ; Tue, 18 Jun 2002 21:49:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17KOWB-0006JB-00; Tue, 18 Jun 2002 15:19:55 -0400 Original-Received: from h24-71-223-10.cg.shawcable.net ([24.71.223.10] helo=pd3mo3so.prod.shaw.ca) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17KOOX-0005w0-00 for ; Tue, 18 Jun 2002 15:12:01 -0400 Original-Received: from pd3mr3so.prod.shaw.ca (pd3mr3so-ser.prod.shaw.ca [10.0.141.179]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0GXX00K9G1BQRD@l-daemon> for emacs-devel@gnu.org; Tue, 18 Jun 2002 13:11:50 -0600 (MDT) Original-Received: from pn2ml5so.prod.shaw.ca (pn2ml5so-qfe0.prod.shaw.ca [10.0.121.149]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0GXX00CAX1BQZW@l-daemon> for emacs-devel@gnu.org; Tue, 18 Jun 2002 13:11:50 -0600 (MDT) Original-Received: from localhost.shawmail (h24-71-203-212.cg.shawcable.net [24.71.203.212]) by l-daemon (iPlanet Messaging Server 5.1 HotFix 0.8 (built May 12 2002)) with ESMTP id <0GXX00JMH1BPZR@l-daemon> for emacs-devel@gnu.org; Tue, 18 Jun 2002 13:11:50 -0600 (MDT) In-Reply-To: Original-To: schwab@suse.de Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4968 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4968 > I just tried to build Emacs under Darwin with $srcdir != $builddir > and had some problems with ${emacsapp}. Is the following patch > correct? Then I tried to run the emacs in the build directory, but > I got an abort in macterm, because GetNewCWindow returned 0. Any > idea? (emacs -nw works fine.) > > Andreas. > > 2002-06-18 Andreas Schwab > > * Makefile.in (${emacsapp}Contents/MacOS/Emacs): Support building > outside source directory. > (${emacsapp}Contents/Resources/Emacs.rsrc): Likewise. > > [...] Hi Andreas, The entire directory under `mac/Emacs.app/' must remain intact for Emacs to run in GUI mode under Mac OS X. Otherwise Emacs won't be able to find the resources it requires to run. That's probably what happened. Also, currently it can only be started from the Finder (see mac/INSTALL). You can copy Emacs.app to another location (which shows up simply as the application `Emacs' in the Finder), but you must copy the whole thing (use drag-and-drop in the Finder or `cp -r'). Andrew.