unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: an0 <an00na@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: How to compile Emacs on Mac OS X with extra libs from MacPorts
Date: Fri, 20 Mar 2009 20:20:27 -0700 (PDT)	[thread overview]
Message-ID: <999bfc30-b636-4a59-b8fa-1679b0e55be3@d2g2000pra.googlegroups.com> (raw)

I've been using Emacs 23 cvs on Mac OS X, but never succeeded in
compiling it with extra libraries such as jpeg and png which are
installed via MacPorts(MacPorts itself is installed under /opt/
local/).

Here is how I configure Emacs before compiling:
PKG_CONFIG_PATH=/opt/local/lib/pkgconfig/ CPPFLAGS+='-I/opt/local/
include' LDFLAGS+='-L/opt/local/lib' ./configure --with-ns --with-jpeg
--with-png

And here is the summary of configure output:
What operating system and machine description files should Emacs use?
        `s/darwin.h' and `m/intel386.h'
  What compiler should emacs be built with?               gcc -I/opt/
local/include
  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?                /usr/X11/
include
  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?                                no
  Does Emacs use -lgpm?                                   no
  Does Emacs use -ldbus?                                  no
  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

Have anyone made it on Mac OS X with MacPorts? Any hints are
appreciated.


             reply	other threads:[~2009-03-21  3:20 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-21  3:20 an0 [this message]
2009-03-21  9:34 ` How to compile Emacs on Mac OS X with extra libs from MacPorts Peter Dyballa
2009-03-21  9:56   ` an00na
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=999bfc30-b636-4a59-b8fa-1679b0e55be3@d2g2000pra.googlegroups.com \
    --to=an00na@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.
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).