From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Revilak Newsgroups: gmane.emacs.help Subject: Re: compilation errors of trunk version on mac os x expected? Date: Thu, 20 Jan 2011 22:38:11 -0500 Message-ID: <20110121033811.GK6009@srevilak.net> References: <84893506-22ae-4169-b6df-849d6dc24734@w2g2000yqb.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="QnBU6tTI9sljzm9u" X-Trace: dough.gmane.org 1295581124 23606 80.91.229.12 (21 Jan 2011 03:38:44 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 Jan 2011 03:38:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Jan 21 04:38:40 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pg7pg-00073I-FY for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Jan 2011 04:38:40 +0100 Original-Received: from localhost ([127.0.0.1]:51920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pg7pf-0006VF-Vy for geh-help-gnu-emacs@m.gmane.org; Thu, 20 Jan 2011 22:38:40 -0500 Original-Received: from [140.186.70.92] (port=48470 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pg7pK-0006U0-DS for help-gnu-emacs@gnu.org; Thu, 20 Jan 2011 22:38:19 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pg7pJ-0002La-Ae for help-gnu-emacs@gnu.org; Thu, 20 Jan 2011 22:38:18 -0500 Original-Received: from mail6.sea5.speakeasy.net ([69.17.117.50]:56244) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pg7pJ-0002Kr-1f for help-gnu-emacs@gnu.org; Thu, 20 Jan 2011 22:38:17 -0500 Original-Received: (qmail 26073 invoked from network); 21 Jan 2011 03:38:14 -0000 Original-Received: from pool-108-20-74-145.bstnma.fios.verizon.net (HELO srevilak.net) (srevilak@[108.20.74.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 21 Jan 2011 03:38:14 -0000 Content-Disposition: inline In-Reply-To: <84893506-22ae-4169-b6df-849d6dc24734@w2g2000yqb.googlegroups.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78620 Archived-At: --QnBU6tTI9sljzm9u Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable >hello, Does anyone know if these compilation error messages are a bug >or to be expected? I still get occasional crashes and am wondering if >these are related... cheers, E >gcc -c -Demacs -DHAVE_CONFIG_H -I. -I/usr/local/emacs/trunk/src -I../ >lib -I/usr/local/emacs/trunk/src/../lib -I/opt/local/include/ >libxml2 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ >include -MMD -MF deps/dbusbind.d -I/opt/local/include - The compiler command line uses -I/opt/local/include, which I assume is macports. Does it make a difference if you take macports out of the picture? I don't *think* you'd need dbus on OS X, but perhaps I'm wrong. FWIW, I often use a script like this to create a clean environment for compilations. --------------------------------- #!/bin/sh unset LDFLAGS unset CFLAGS unset CXXFLAGS PATH=3D`echo $PATH | \ sed 's,:/opt/local/bin,, ; s,:/opt/local/sbin,,'` export PATH eval "$@" --------------------------------- If you called this script "clean-compile", then you'd use it like this clean-compile ./configure --with-ns clean-compile make =20 clean-compile make-install Hope that helps. Steve --QnBU6tTI9sljzm9u Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.15 (GNU/Linux) iEYEARECAAYFAk04/6MACgkQX7YJI4BuyDQphwCgnrQiZ5ojR55UmPRhV9lNNhrj RKwAn1FGxq/VzlbfhNPE5MVa+LiAygJp =had0 -----END PGP SIGNATURE----- --QnBU6tTI9sljzm9u--