From: emacs user <user.emacs@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: compilation errors of trunk version on mac os x expected?
Date: Sat, 5 Mar 2011 04:36:12 -0800 (PST) [thread overview]
Message-ID: <455fe7bc-b63e-4832-a992-d2001fe6d32e@a11g2000pro.googlegroups.com> (raw)
In-Reply-To: mailman.9.1295581100.21031.help-gnu-emacs@gnu.org
On Jan 20, 10:38 pm, Steve Revilak <st...@srevilak.net> wrote:
> >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=`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
> clean-compile make-install
>
> Hope that helps.
>
> Steve
>
> application_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/ffec5839b1b859c5
I wish one of the developers on Mac would look into this and ask for
more details etc...
cheers, E
next parent reply other threads:[~2011-03-05 12:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.9.1295581100.21031.help-gnu-emacs@gnu.org>
2011-03-05 12:36 ` emacs user [this message]
2011-03-05 15:43 ` compilation errors of trunk version on mac os x expected? Matthew L Daniel
[not found] ` <mailman.9.1299339797.13665.help-gnu-emacs@gnu.org>
2011-03-05 18:10 ` emacs user
2011-01-20 7:35 emacs user
2011-01-21 3:38 ` Steve Revilak
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=455fe7bc-b63e-4832-a992-d2001fe6d32e@a11g2000pro.googlegroups.com \
--to=user.emacs@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.