Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1im1-0007tN-78 for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Dec 2014 21:38:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Y1im0-0001N8-Fp for pgsql-bugs@arkaria.postgresql.org; Thu, 18 Dec 2014 21:38:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1Y1ilz-0001Mf-IZ for pgsql-bugs@postgresql.org; Thu, 18 Dec 2014 21:38:15 +0000 Received: from outmail148100.authsmtp.co.uk ([62.13.148.100]) by magus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Y1ilu-0002ur-Rl for pgsql-bugs@postgresql.org; Thu, 18 Dec 2014 21:38:14 +0000 Received: from mail-c237.authsmtp.com (mail-c237.authsmtp.com [62.13.128.237]) by punt15.authsmtp.com (8.14.2/8.14.2/) with ESMTP id sBILc8CP024814; Thu, 18 Dec 2014 21:38:08 GMT Received: from alvin.alvh.no-ip.org (client-186-37-118-100.imovil.entelpcs.cl [186.37.118.100] (may be forged)) (authenticated bits=0) by mail.authsmtp.com (8.14.2/8.14.2/) with ESMTP id sBILc4Ok093047; Thu, 18 Dec 2014 21:38:06 GMT Received: by alvin.alvh.no-ip.org (Postfix, from userid 1000) id AFAAD782; Thu, 18 Dec 2014 18:20:05 -0300 (CLST) Date: Thu, 18 Dec 2014 18:20:05 -0300 From: Alvaro Herrera To: greg.davidson@gmail.com Cc: pgsql-bugs@postgresql.org Subject: Re: BUG #12275: configure incorrectly tests libxml2 version Message-ID: <20141218212005.GB1769@alvh.no-ip.org> References: <20141218202423.1905.88366@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20141218202423.1905.88366@wrigleys.postgresql.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-Server-Quench: 279eb77c-86fe-11e4-9f74-002590a135d3 X-AuthReport-Spam: If SPAM / abuse - report it at: http://www.authsmtp.com/abuse X-AuthRoute: OCdxZQATClZcSBoa BzkeAQdJTRslYBtL RB4bawxAL0wMSABN M15eIxoJcUtFFRZ1 VjUUWVRVVE1zWGl2 YwBRaktcakxQXAJ0 UUlBXFNSFBptCRse BlBdIGAOJAE5I355 ZkZmWT5eX01yO0R6 SxsGEmpVeG9mPjUC UUENcx5dJgROYx9F aFV2VCIMYmBTZTQC El17FQ0edX4Gcn4K H1NFJlUUT0cEAyQx DxEEFjI1B0AOWyEi ZwArMUIHVEIQOFU3 NQFpR18CKB4VDGUA X-Authentic-SMTP: 61633235383639.1024:706 X-AuthFastPath: 0 (Was 255) X-AuthSMTP-Origin: 186.37.118.100/587 X-AuthVirus-Status: No virus detected - but ensure you scan with your own anti-virus system. X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org 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