all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: CHENG Gao <chenggao@royau.me>
To: emacs-devel@gnu.org
Subject: Can not build Bzr Emacs with libxml2 support on MacOSX
Date: Wed, 19 Oct 2011 15:31:48 +0800	[thread overview]
Message-ID: <m2ty75e8t7.fsf@royau.me> (raw)


Since I want to use shr as html renderer, I tried to build Bzr Emacs
with libxml2 support.

Some info:
MacOSX 10.7.2
libxml2 lib in /usr/lib (2.7.3)
libxml2 header files in /usr/include/libxml2

No matter if I add --with-xml2, it seems ./configure never checks xml2
(and other features like png, tiff, jpeg etc.). I took a look at
configure.in and found something as below:

,----
| dnl _ON results in a '--without' option in the --help output, so
| dnl the help text should refer to "don't compile", etc.
| OPTION_DEFAULT_ON([xpm],[don't compile with XPM image support])
| OPTION_DEFAULT_ON([jpeg],[don't compile with JPEG image support])
| OPTION_DEFAULT_ON([tiff],[don't compile with TIFF image support])
| OPTION_DEFAULT_ON([gif],[don't compile with GIF image support])
| OPTION_DEFAULT_ON([png],[don't compile with PNG image support])
| OPTION_DEFAULT_ON([rsvg],[don't compile with SVG image support])
| OPTION_DEFAULT_ON([xml2],[don't compile with XML parsing support])
| OPTION_DEFAULT_ON([imagemagick],[don't compile with ImageMagick image support])
`----

My understanding is they are default to off (--without options.). But
why does explicitly setting --with option not change these?

I don't know if it's problem of Macosx since I can build on Gentoo
without any problem.

Please kindly help me to build Emacs with libxml2 support.

TIA.

-- 
Volo, non valeo




             reply	other threads:[~2011-10-19  7:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-19  7:31 CHENG Gao [this message]
2011-10-19 15:59 ` Can not build Bzr Emacs with libxml2 support on MacOSX CHENG Gao

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=m2ty75e8t7.fsf@royau.me \
    --to=chenggao@royau.me \
    --cc=emacs-devel@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.