From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: CHENG Gao Newsgroups: gmane.emacs.devel Subject: Can not build Bzr Emacs with libxml2 support on MacOSX Date: Wed, 19 Oct 2011 15:31:48 +0800 Organization: Royau.Me Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319009547 3676 80.91.229.12 (19 Oct 2011 07:32:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 19 Oct 2011 07:32:27 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 19 09:32:24 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RGQdT-0005Tm-V8 for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2011 09:32:24 +0200 Original-Received: from localhost ([::1]:54184 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGQdT-00060S-Gn for ged-emacs-devel@m.gmane.org; Wed, 19 Oct 2011 03:32:23 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGQdO-0005zo-R6 for emacs-devel@gnu.org; Wed, 19 Oct 2011 03:32:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RGQdI-0007C0-Dv for emacs-devel@gnu.org; Wed, 19 Oct 2011 03:32:18 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:46223) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RGQdI-0007BE-8i for emacs-devel@gnu.org; Wed, 19 Oct 2011 03:32:12 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RGQdD-0005Lo-GM for emacs-devel@gnu.org; Wed, 19 Oct 2011 09:32:07 +0200 Original-Received: from 122.192.43.12 ([122.192.43.12]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Oct 2011 09:32:07 +0200 Original-Received: from chenggao by 122.192.43.12 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 19 Oct 2011 09:32:07 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 38 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 122.192.43.12 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (darwin) Cancel-Lock: sha1:yrxjYFB4GO3N2LFAJhG6VLvERqM= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:145312 Archived-At: 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