From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: greg.davidson@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #12275: configure incorrectly tests libxml2 version
Date: Thu, 18 Dec 2014 18:20:05 -0300
Message-ID: <20141218212005.GB1769@alvh.no-ip.org> (raw)
In-Reply-To: <20141218202423.1905.88366@wrigleys.postgresql.org>
References: <20141218202423.1905.88366@wrigleys.postgresql.org>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
greg.davidson@gmail.com wrote:
> I had to comment out the libxml2 version check to get 9.4.0 to build.
> Perhaps it's because of the suffix on the version number?
> $ ./configure --with-libxml --with-libxslt --enable-debug --enable-cassert
> \
> --with-tcl --with-tclconfig=/usr/lib/tcl8.6 --prefix=/usr/local/pgsql-9.4.0
> ...
> checking for xmlSaveToBuffer in -lxml2... no
> configure: error: library 'xml2' (version >= 2.6.23) is required for XML
> support
I have 2.9.1 Debian-packaged here, and it works fine for me. config.log
says:
configure:8767: checking for xmlSaveToBuffer in -lxml2
configure:8801: result: yes
> $ dpkg-query -l '*xml2*'
> ||/ Name Version Arch Description
> +++-==================-=======================-======-===========================================
> ii libxml2:amd64 2.9.1+dfsg1-3ubuntu4.4 amd64 GNOME XML library
> ii libxml2:i386 2.9.1+dfsg1-3ubuntu4.4 i386 GNOME XML library
> ii libxml2-dev:amd64 2.9.1+dfsg1-3ubuntu4.4 amd64 Development files for
> the GNOME XML library
> ii libxml2-doc 2.9.1+dfsg1-3ubuntu4.4 all Documentation for the
> GNOME XML library
> ii libxml2-utils 2.9.1+dfsg1-3ubuntu4.4 amd64 XML utilities
I don't have the :i386 packages installed here; maybe your compiler is
picking up those instead of the amd64 ones.
ii libxml2:amd64 2.9.1+dfsg1-4 amd64 GNOME XML library
ii libxml2-dev:amd64 2.9.1+dfsg1-4 amd64 Development files for the GNOME XML library
ii libxml2-utils 2.9.1+dfsg1-4 amd64 XML utilities
> P.S. I hope that the appearance of line clipping I'm seeing above is an
> illusion. Perhaps the bug report textentry widget should have room for 80
> character wide pastes from terminals?
No such luck, but I don't think it's all that critical anyway.
--
Álvaro Herrera http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-bugs@postgresql.org
Cc: alvherre@2ndquadrant.com, greg.davidson@gmail.com
Subject: Re: BUG #12275: configure incorrectly tests libxml2 version
In-Reply-To: <20141218212005.GB1769@alvh.no-ip.org>
References: <20141218202423.1905.88366@wrigleys.postgresql.org> <20141218212005.GB1769@alvh.no-ip.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox