From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mario Lassnig Newsgroups: gmane.emacs.bugs Subject: bug#10155: bug#9772: bug#10155: OSX breakage Date: Wed, 30 Nov 2011 12:15:10 +0100 Message-ID: <4ED6103E.1030405@lassnig.net> References: <4ED3AA79.8060605@lassnig.net> <838vn06swa.fsf@gnu.org> <4ED3DA30.1050006@cs.ucla.edu> <871usrh69t.fsf@gnu.org> <4ED4A5BE.80008@cs.ucla.edu> <4ED50F3A.8040207@cs.ucla.edu> <83k46i6dl5.fsf@gnu.org> <4ED522DB.3080005@cs.ucla.edu> <87sjl6iazt.fsf@gnu.org> <83ehwq5k8r.fsf@gnu.org> <874nxm10yj.fsf@gnu.org> Reply-To: mario@lassnig.net NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1322675602 3476 80.91.229.12 (30 Nov 2011 17:53:22 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 30 Nov 2011 17:53:22 +0000 (UTC) Cc: eggert@cs.ucla.edu, 9772@debbugs.gnu.org, 9960@debbugs.gnu.org, 10155@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Nov 30 18:53:18 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RVoLN-0006V2-Gt for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Nov 2011 18:53:17 +0100 Original-Received: from localhost ([::1]:41991 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVoLM-0007KP-V6 for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Nov 2011 12:53:16 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:49159) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVoK8-0007Ce-0Q for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 12:52:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RVoK6-0003IB-5m for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 12:51:59 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46186) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RVoK6-0003I5-1I for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 12:51:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1RVoK9-0005gr-SV for bug-gnu-emacs@gnu.org; Wed, 30 Nov 2011 12:52:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mario Lassnig Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Nov 2011 17:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10155 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10155-submit@debbugs.gnu.org id=B10155.132267548121819 (code B ref 10155); Wed, 30 Nov 2011 17:52:01 +0000 Original-Received: (at 10155) by debbugs.gnu.org; 30 Nov 2011 17:51:21 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVoJS-0005fm-A7 for submit@debbugs.gnu.org; Wed, 30 Nov 2011 12:51:19 -0500 Original-Received: from mail-ey0-f172.google.com ([209.85.215.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1RVi8D-0003lx-Ed; Wed, 30 Nov 2011 06:15:18 -0500 Original-Received: by eabm6 with SMTP id m6so572227eab.3 for ; Wed, 30 Nov 2011 03:15:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=1sVkLymGjilbix40GGEK9+q/6I4v7QmSDw6WT3jhGwo=; b=TaoyFsGyaqRFCiEY5BTkoF/NKaDZf+uFBPaBy+rI1vNmgTAh2iLJFrxy187PtYt287 LyccluNL6nVke6Ky4FcvJBa5uTbS7PYB7QwpsuBTKbF1Ofe1L4IdRnmWr+uaHlILsjQB JcRZ9ZzBdF7Np3448u1HWgISmU3pLRVxrZXH4= Original-Received: by 10.180.74.141 with SMTP id t13mr1301004wiv.68.1322651713318; Wed, 30 Nov 2011 03:15:13 -0800 (PST) Original-Received: from macatlas666.cern.ch (macatlas666.cern.ch. [137.138.205.22]) by mx.google.com with ESMTPS id dw6sm447088wib.12.2011.11.30.03.15.11 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 30 Nov 2011 03:15:11 -0800 (PST) User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:8.0) Gecko/20111105 Thunderbird/8.0 In-Reply-To: <874nxm10yj.fsf@gnu.org> X-Mailman-Approved-At: Wed, 30 Nov 2011 12:51:14 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 30 Nov 2011 12:52:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-Mailman-Approved-At: Wed, 30 Nov 2011 12:53:15 -0500 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:54502 Archived-At: On 11-11-30 9:14 , Chong Yidong wrote: > Eli Zaretskii writes: > >>> OK, then let's go with the ifdef conditioning directly in the Emacs >>> sources. >>> >>> But is conditioning on OS X and FreeBSD the right thing? We don't know >>> if it fails on other BSDs. Since revno 106533 was intended to fix the >>> MS-WINDOWS build, I think it's better to condition it for WINDOWSNT for >>> now, as below: >>> >>> Eli, WDYT? >> >> Fine with me. > > Done. Could someone check if compilation on Mac OS X works now? Looks good to me. Compiles, installs, runs. :-) Thanks, Mario Mario@shodan:~/Development/emacs$ bzr clone bzr://bzr.savannah.gnu.org/emacs/trunk/ The command 'bzr clone' has been deprecated in bzr 2.4. Please use 'bzr branch' instead. Branched 106554 revision(s). Mario@shodan:~/Development/emacs$ cd trunk/ Mario@shodan:~/Development/emacs/trunk$ echo $CFLAGS -march=core2 -msse4.1 Mario@shodan:~/Development/emacs/trunk$ echo $CC Mario@shodan:~/Development/emacs/trunk$ which gcc /usr/bin/gcc Mario@shodan:~/Development/emacs/trunk$ gcc --version i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00) Copyright (C) 2007 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Mario@shodan:~/Development/emacs/trunk$ sh autogen.sh Checking whether you have the necessary tools... (Read INSTALL.BZR for more details on building Emacs) Checking for autoconf (need at least version 2.65)... ok Checking for automake (need at least version 1.11)... ok Your system has the required tools, running autoreconf... configure.in:635: installing `build-aux/compile' configure.in:379: installing `build-aux/config.guess' configure.in:379: installing `build-aux/config.sub' configure.in:29: installing `build-aux/install-sh' configure.in:29: installing `build-aux/missing' lib/Makefile.am: installing `build-aux/depcomp' You can now run `./configure'. Mario@shodan:~/Development/emacs/trunk$ ./configure --with-ns Configured for `x86_64-apple-darwin11.2.0'. Where should the build process find the source code? /Users/Mario/Development/emacs/trunk What operating system and machine description files should Emacs use? `s/darwin.h' and `m/amdx86-64.h' What compiler should emacs be built with? gcc -std=gnu99 -march=core2 -msse4.1 Should Emacs use the GNU version of malloc? no (The GNU allocators don't work with this system configuration.) Should Emacs use a relocating allocator for buffers? no Should Emacs use mmap(2) for buffer allocation? no What window system should Emacs use? nextstep What toolkit should Emacs use? none Where do we find X Windows header files? Standard dirs Where do we find X Windows libraries? /usr/X11/lib Does Emacs use -lXaw3d? no Does Emacs use -lXpm? no Does Emacs use -ljpeg? no Does Emacs use -ltiff? no Does Emacs use a gif library? no Does Emacs use -lpng? no Does Emacs use -lrsvg-2? yes Does Emacs use imagemagick? no Does Emacs use -lgpm? no Does Emacs use -ldbus? no Does Emacs use -lgconf? no Does Emacs use GSettings? no Does Emacs use -lselinux? no Does Emacs use -lgnutls? yes Does Emacs use -lxml2? yes Does Emacs use -lfreetype? no Does Emacs use -lm17n-flt? no Does Emacs use -lotf? no Does Emacs use -lxft? no Does Emacs use toolkit scroll bars? yes