Skip Menu |
 
rt.cpan.org will be shut down on March 1st, 2021.

This queue is for tickets about the XML-LibXML CPAN distribution.

Report information
The Basics
Id: 80332
Status: resolved
Priority: 0/
Queue: XML-LibXML

People
Owner: Nobody in particular
Requestors: lrw4400 [...] att.net
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



From lrw4400 [...] att.net Mon Oct 22 06: 00:48 2012
MIME-Version: 1.0 (Apple Message framework v1084)
X-Ymail-Osg: 8v6zEJMVM1lRSNAxgGdMgElTIhZ82amgWivARYPmW.uzPah _bsyb9QbCh457n8aif4wj3OWKSk5zt6kiBvOQwqwQBmD3bjjj_NrPKZARrw8 WiRurGmk23blYKWljCx_d_Ybx0QtA2pBvqdq6HVmbA7Gj8dIfrxBcs2YiRku xD2lDTaoq7QSZsRb9fA.re3pRVcvV3gpGCNhGsn7SUVjx7ncb.ECVri31TzA HWFi7U7t3psQcaz_mlpZBh4vLsA_HuXTOVNXpBdQV79N4NJTNzdSaDLEzWc7 IwqiToCo4Pi6D6pHAiRgqDnKvyQyWu.fyx9IR1WriVA.vUdIunYh5HCJTvFD t8aFhdjy0H9nr_YWVr8QR7UYoe7HWiT83xT8cBpaJjqrgivGrSTPWRgdxf91 jVrLa3AMRjgucEP_u7DBjb_yLYGpXPs1lVFNcq51FkgPVJbebtYsPJeXMNNk Jc3gj6qt31kENiJDECDWLMB6DvUP_4cS7JXoclUg_8bQfsz0X0ETtRzDY4ik jWswO.ZhILz.LKyCPSCb3Ho9jsNJWggAJnct7KxsDJFMlHBcLAUq1F5s-
X-Spam-Status: No, score=-6.749 tagged_above=-99.9 required=10 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_HI=-5] autolearn=ham
X-Mailer: Apple Mail (2.1084)
X-Yahoo-Newman-ID: 878836.88600.bm [...] smtp114.sbc.mail.bf1.yahoo.com
X-Spam-Flag: NO
X-Yahoo-SMTP: iXpGof.swBATrOaicn.4iWSft3SpiOu9cheNoA--
Message-ID: <2B9BE4DD-3F81-4647-AD44-9D5DCE841037 [...] att.net>
content-type: text/plain; charset="utf-8"
X-Yahoo-Newman-Property: ymail-3
X-Virus-Scanned: Debian amavisd-new at bestpractical.com
X-Spam-Score: -6.749
Received: from localhost (localhost [127.0.0.1]) by hipster.bestpractical.com (Postfix) with ESMTP id 98CAE2408C1 for <cpan-bug+XML-LibXML [...] hipster.bestpractical.com>; Mon, 22 Oct 2012 06:00:46 -0400 (EDT)
Received: from hipster.bestpractical.com ([127.0.0.1]) by localhost (hipster.bestpractical.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 04iLoNoVNbub for <cpan-bug+XML-LibXML [...] hipster.bestpractical.com>; Mon, 22 Oct 2012 06:00:41 -0400 (EDT)
Received: from la.mx.develooper.com (x1.develooper.com [207.171.7.70]) by hipster.bestpractical.com (Postfix) with SMTP id E57BB240272 for <bug-XML-LibXML [...] rt.cpan.org>; Mon, 22 Oct 2012 06:00:39 -0400 (EDT)
Received: (qmail 21332 invoked by uid 103); 22 Oct 2012 10:00:39 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 22 Oct 2012 10:00:39 -0000
Received: from nm29.bullet.mail.bf1.yahoo.com (HELO nm29.bullet.mail.bf1.yahoo.com) (98.139.212.188) by 16.mx.develooper.com (qpsmtpd/0.84/v0.84-167-g4ed6cab) with SMTP; Mon, 22 Oct 2012 03:00:30 -0700
Received: from [98.139.212.145] by nm29.bullet.mail.bf1.yahoo.com with NNFMP; 22 Oct 2012 10:00:26 -0000
Received: from [98.139.244.52] by tm2.bullet.mail.bf1.yahoo.com with NNFMP; 22 Oct 2012 10:00:26 -0000
Received: from [127.0.0.1] by smtp114.sbc.mail.bf1.yahoo.com with NNFMP; 22 Oct 2012 10:00:26 -0000
Received: from [192.168.14.9] (lrw4400 [...] 99.173.25.115 with plain) by smtp114.sbc.mail.bf1.yahoo.com with SMTP; 22 Oct 2012 03:00:26 -0700 PDT
Authentication-Results: hipster.bestpractical.com (amavisd-new); dkim=pass header.i= [...] att.net
Delivered-To: cpan-bug+XML-LibXML [...] hipster.bestpractical.com
Subject: Build error when using non-standard libxml2 installation
Return-Path: <lrw4400 [...] att.net>
X-RT-Mail-Extension: xml-libxml
X-Original-To: cpan-bug+XML-LibXML [...] hipster.bestpractical.com
X-Spam-Check-BY: 16.mx.develooper.com
Dkim-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=att.net; s=s1024; t=1350900026; bh=ecfleqCXDJExAsgAXfG/zsgqaArF8SFYNmEQz/qKJEc=; h=X-Yahoo-Newman-Id:X-Yahoo-Newman-Property:X-YMail-OSG:X-Yahoo-SMTP:Received:From:Content-Type:Content-Transfer-Encoding:Subject:Date:Message-Id:To:Mime-Version:X-Mailer; b=iN/nubOD82/QvTu0nQeqShlHr1uDPI5qz4JhEEH1ylDJzxXIayFa74vRwX3l5Z4mNK9IgcRkr6AT8DASVtnX7tEIj4wqHSAYxYSqDn8jTCURd49T67XPsRQdJjJNRiHLo+R5o/fKYsDmP9emw/TnLavAgXEm9i1X2QqL3lipilY=
Date: Mon, 22 Oct 2012 03:00:25 -0700
X-Spam-Level:
To: bug-XML-LibXML [...] rt.cpan.org
Content-Transfer-Encoding: quoted-printable
From: L RW <lrw4400 [...] att.net>
X-RT-Original-Encoding: us-ascii
Content-Length: 1279
Download (untitled) / with headers
text/plain 1.2k
I ran into a build problem when trying to link to a libxml2 that had been installed into a non-standard location. XML::LibXML version 2.00007 uname: Linux 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux Perl: 5.10.1 The error I got upon running perl Makefile.PL was: libxml2, zlib, and/or the Math library (-lm) have not been found. Try setting LIBS and INC values on the command line Or get libxml2 from http://xmlsoft.org/ If you install via RPMs, make sure you also install the -devel RPMs, as this is where the headers (.h files) are. After various efforts to rebuild libxml2, I started to think that it was actually installed correctly all along and that the Makefile.PL wasn't finding it properly for some reason. After digging a bit I found that adding "LIBS => $config{LIBS}" to the call to check_lib fixed the problem. The call to Devel::CheckLib::check_lib was returning false because it didn't know to look in the right directory for the library. I also added "debug => $config{DEBUG}" to the same call FYI, it might come in handy as well. Not sure if this is really a Makefile bug or if there was a different way I could have resolved the issue, but I figured I'd mention it just in case. Thanks for a great module!
MIME-Version: 1.0
In-Reply-To: <2B9BE4DD-3F81-4647-AD44-9D5DCE841037 [...] att.net>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
References: <2B9BE4DD-3F81-4647-AD44-9D5DCE841037 [...] att.net>
Content-Type: text/plain; charset="UTF-8"
Message-ID: <rt-3.8.HEAD-17619-1350901045-494.80332-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 1624
Download (untitled) / with headers
text/plain 1.5k
Hi L, thanks for reporting it. I now fixed it in XML-LibXML-2.0008 . I did not add the "debug" thing because I saw no mentions of it in the Devel::CheckLib document. Regards, -- Shlomi Fish On Mon Oct 22 06:00:49 2012, lrw4400@att.net wrote: Show quoted text
> > I ran into a build problem when trying to link to a libxml2 that had > been installed into a non-standard location. > > XML::LibXML version 2.00007 > uname: Linux 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 > x86_64 x86_64 GNU/Linux > Perl: 5.10.1 > > The error I got upon running perl Makefile.PL was: > > libxml2, zlib, and/or the Math library (-lm) have not been found. > Try setting LIBS and INC values on the command line > Or get libxml2 from > http://xmlsoft.org/ > If you install via RPMs, make sure you also install the -devel > RPMs, as this is where the headers (.h files) are. > > After various efforts to rebuild libxml2, I started to think that it > was actually installed correctly all along and that the Makefile.PL > wasn't finding it properly for some reason. After digging a bit I > found that adding "LIBS => $config{LIBS}" to the call to check_lib > fixed the problem. The call to Devel::CheckLib::check_lib was > returning false because it didn't know to look in the right > directory for the library. I also added "debug => $config{DEBUG}" > to the same call FYI, it might come in handy as well. > > Not sure if this is really a Makefile bug or if there was a different > way I could have resolved the issue, but I figured I'd mention it > just in case. Thanks for a great module! > > >


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.