unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: an00na@gmail.com
To: Peter Dyballa <Peter_Dyballa@Web.DE>
Cc: help-gnu-emacs@gnu.org
Subject: Re: How to compile Emacs on Mac OS X with extra libs from MacPorts
Date: Sat, 21 Mar 2009 17:56:29 +0800	[thread overview]
Message-ID: <44259142-5C09-4F68-B2C4-05D4BDF4E51F@gmail.com> (raw)
In-Reply-To: <014A2EFF-3F09-4BAC-8D73-2F74ACB9A6AF@Web.DE>

[-- Attachment #1: Type: text/plain, Size: 2817 bytes --]

Peter,
Thank you, but it does not work with `--with-ns'.

On Mar 21, 2009, at 5:34 PM, Peter Dyballa wrote:

>
> Am 21.03.2009 um 04:20 schrieb an0:
>
>> Have anyone made it on Mac OS X with MacPorts?
>
> It's always useful to invoke
>
> 	./configure --help
>
> One big bug is that the configure script has hardcoded /sw (Fink)  
> related paths. You could substitute that with /opt ...
>
> I am using:
>
> 	env PATH=/opt/local/bin:$PATH CPPFLAGS="" ./configure --without- 
> sound --without-pop --with-dbus --with-libotf --with-xpm --with-jpeg  
> --with-tiff --with-gif --with-png --x-includes=/opt/local/include -- 
> x-libraries=/opt/local/lib --enable-locallisppath=/Library/ 
> Application\ Support/Emacs/calendar23:/Library/Application\ Support/ 
> Emacs PKG_CONFIG_PATH=/opt/local/lib/pkgconfig:/usr/local/lib/ 
> pkgconfig:/usr/lib/pkgconfig CFLAGS="-Wno-pointer-sign -H -pipe - 
> fPIC -mcpu=7450 -mtune=7450 -fast -mpim-altivec -ftree-vectorize - 
> foptimize-register-move -freorder-blocks -freorder-blocks-and- 
> partition -fthread-jumps -fpeephole -fno-crossjumping" LDFLAGS="- 
> dead_strip -multiply_defined suppress -L/opt/local/lib"
>
> The important things are: not using <variable>+ (this does not seem  
> to work, I've seen this fail in a handful of situations) and  
> particularly:
>
> 	 --x-includes=/opt/local/include --x-libraries=/opt/local/lib
>
> (the many --with-<graphics> are probably superfluous, CPPFLAGS=""  
> cancels my Fink based environment) I am not sure whether the final - 
> L/opt/local/lib is necessary. I am testing (on PPC, Tiger 10.4.11)  
> since a few weeks and could not check yet all possible  
> variations ... (MacPorts offers for Tiger an X11R7.3 based X server,  
> quartz-wm, and libraries)
>
>
> To build Emacs.app, the native Aqua client, I am using:
>
> 	env PATH=/opt/local/bin:$PATH ./configure --without-sound --without- 
> pop --with-dbus --with-libotf --with-ns --disable-ns-self-contained  
> --x-includes=/opt/local/include --x-libraries=/opt/local/lib -- 
> enable-locallisppath=/Library/Application\ Support/Emacs/calendar23:/ 
> Library/Application\ Support/Emacs PKG_CONFIG_PATH=/opt/local/lib/ 
> pkgconfig:/usr/local/lib/pkgconfig:/usr/lib/pkgconfig CFLAGS="-Wno- 
> pointer-sign -H -pipe -fPIC -mcpu=7450 -mtune=7450 -fast -mpim- 
> altivec -ftree-vectorize -foptimize-register-move -freorder-blocks - 
> freorder-blocks-and-partition -fthread-jumps -fpeephole -fno- 
> crossjumping" LDFLAGS="-dead_strip -multiply_defined suppress -L/opt/ 
> local/lib"
>
>
> And don't forget to run a final 'sudo make install'! Otherwise  
> Emacs.app won't launch.
>
> --
> Greetings
>
>  Pete
>
> Bake pizza not war!
>
>
>

Welcome to drink some Cocoa, play with my Python pet,  and sing Lisp  
songs, together with a nut, @ http://an00na.blogspot.com/.


[-- Attachment #2: Type: text/html, Size: 4820 bytes --]

  reply	other threads:[~2009-03-21  9:56 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-21  3:20 How to compile Emacs on Mac OS X with extra libs from MacPorts an0
2009-03-21  9:34 ` Peter Dyballa
2009-03-21  9:56   ` an00na [this message]
2009-03-21 12:34   ` Nikolaj Schumacher
2009-03-21 13:11     ` Peter Dyballa
2009-03-21 10:13 ` an00na
2009-03-21 10:41   ` Peter Dyballa
2009-03-21 11:14     ` an00na
2009-03-21 11:24       ` Peter Dyballa
2009-03-21 12:19         ` an00na
2009-03-21 17:04 ` Mike Mattie
2009-03-21 17:47   ` Peter Dyballa

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44259142-5C09-4F68-B2C4-05D4BDF4E51F@gmail.com \
    --to=an00na@gmail.com \
    --cc=Peter_Dyballa@Web.DE \
    --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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).