unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Can not build Bzr Emacs with libxml2 support on MacOSX
@ 2011-10-19  7:31 CHENG Gao
  2011-10-19 15:59 ` CHENG Gao
  0 siblings, 1 reply; 2+ messages in thread
From: CHENG Gao @ 2011-10-19  7:31 UTC (permalink / raw)
  To: emacs-devel


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




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Can not build Bzr Emacs with libxml2 support on MacOSX
  2011-10-19  7:31 Can not build Bzr Emacs with libxml2 support on MacOSX CHENG Gao
@ 2011-10-19 15:59 ` CHENG Gao
  0 siblings, 0 replies; 2+ messages in thread
From: CHENG Gao @ 2011-10-19 15:59 UTC (permalink / raw)
  To: emacs-devel

Please ignore this. Sorry for the noise.

I forgot while upgrading to 10.7 I did a cleanup of /usr/local, then I
forgot to install some packages, including pkg-config.




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-19 15:59 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-19  7:31 Can not build Bzr Emacs with libxml2 support on MacOSX CHENG Gao
2011-10-19 15:59 ` CHENG Gao

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).