From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: emacs user Newsgroups: gmane.emacs.help Subject: Re: compilation errors of trunk version on mac os x expected? Date: Sat, 5 Mar 2011 04:36:12 -0800 (PST) Organization: http://groups.google.com Message-ID: <455fe7bc-b63e-4832-a992-d2001fe6d32e@a11g2000pro.googlegroups.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1299328832 16529 80.91.229.12 (5 Mar 2011 12:40:32 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 5 Mar 2011 12:40:32 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Mar 05 13:40:28 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 1PvqmY-0003ho-RM for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Mar 2011 13:40:27 +0100 Original-Received: from localhost ([127.0.0.1]:56896 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PvqmY-00070D-Aw for geh-help-gnu-emacs@m.gmane.org; Sat, 05 Mar 2011 07:40:26 -0500 Original-Path: usenet.stanford.edu!postnews.google.com!a11g2000pro.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 56 Original-NNTP-Posting-Host: 71.232.15.43 Original-X-Trace: posting.google.com 1299328572 8952 127.0.0.1 (5 Mar 2011 12:36:12 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Sat, 5 Mar 2011 12:36:12 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a11g2000pro.googlegroups.com; posting-host=71.232.15.43; posting-account=2cK20QoAAADjnST9XNG61hcFIwKD5YpP User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US) AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.107 Safari/534.13, gzip(gfe) Original-Xref: usenet.stanford.edu gnu.emacs.help:185624 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:79779 Archived-At: On Jan 20, 10:38=A0pm, Steve Revilak wrote: > >hello, =A0Does anyone know if these compilation error messages are a bug > >or to be expected? =A0I still get occasional crashes and am wondering if > >these are related... =A0cheers, E > >gcc -c =A0-Demacs -DHAVE_CONFIG_H =A0-I. -I/usr/local/emacs/trunk/src -I= ../ > >lib -I/usr/local/emacs/trunk/src/../lib =A0 =A0 =A0 =A0-I/opt/local/incl= ude/ > >libxml2 =A0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/ > >include =A0 =A0 =A0 =A0-MMD -MF deps/dbusbind.d =A0-I/opt/local/include = =A0 - > > 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? =A0I > 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 | \ > =A0 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 > > =A0 =A0clean-compile ./configure --with-ns > =A0 =A0clean-compile make =A0 > =A0 =A0clean-compile make-install > > Hope that helps. > > Steve > > =A0application_pgp-signature_part > < 1KViewDownload thanks steve! sounds like a good idea and I switched to compiling this way. it seems, unfortunately, that this does not eliminate the crashes I see. for example, http://groups.google.com/group/gnu.emacs.bug/browse_thread/thread/ffec5839b= 1b859c5 I wish one of the developers on Mac would look into this and ask for more details etc... cheers, E