Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42122 - XML::LibXML doesn't work with 2.6 libxml
Summary: XML::LibXML doesn't work with 2.6 libxml
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Perl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-19 01:32 UTC by Martin Mokrejš
Modified: 2004-06-12 05:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Mokrejš 2004-02-19 01:32:41 UTC
I believe someone should make sure gentoo uses some snapshot from cvs. :(
Many packages use XML::LibXML, but when it doesn't get installed ...:((


From: Christian Glahn <christian.glahn@uibk.ac.at>
To: Martin MOKREJ
Comment 1 Martin Mokrejš 2004-02-19 01:32:41 UTC
I believe someone should make sure gentoo uses some snapshot from cvs. :(
Many packages use XML::LibXML, but when it doesn't get installed ...:((


From: Christian Glahn <christian.glahn@uibk.ac.at>
To: Martin MOKREJ <mmokrejs@natur.cuni.cz>
Date: Wed, 18 Feb 2004 22:08:37 +0100
Subject: Re: cannot compile XML-LibXML-1.56


Hi martin,

The current cvs version compiles with 2.6.x libxml2 releases. Check the
README for the cvs root. 

The current release of XML::LibXML is far too old and I work on a new
release at the moment. I hope it will be out by the end of the month...

Hope the cvs helps you a bit until then.
Christian

On Sun, 2004-02-15 at 14:26, Martin MOKREJ wrote:
> Hi,
>   can you help with this error?
> 
> cp LibXML.pod blib/lib/XML/LibXML.pod
> cp lib/XML/LibXML/Text.pod blib/lib/XML/LibXML/Text.pod
> cp lib/XML/LibXML/Boolean.pm blib/lib/XML/LibXML/Boolean.pm
> cp lib/XML/LibXML/PI.pod blib/lib/XML/LibXML/PI.pod
> cp lib/XML/LibXML/NodeList.pm blib/lib/XML/LibXML/NodeList.pm
> cp lib/XML/LibXML/Dtd.pod blib/lib/XML/LibXML/Dtd.pod
> cp lib/XML/LibXML/Comment.pod blib/lib/XML/LibXML/Comment.pod
> /usr/bin/perl /usr/lib/perl5/5.8.2/ExtUtils/xsubpp  -typemap /usr/lib/perl5/5.8.2/ExtUtils/typemap -typemap typemap 
LibXML.xs > LibXML.xsc && mv LibXML.xsc LibXML.c
> gcc -c  -I/usr/include/libxml2 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -mcpu=pentium4
-march=pentium4 -pipe   -DVERSION=\"1.56\" -DXS_VERSION=\"1.56\" -fPIC "-I/usr/lib/perl5/5.8.2/i686-linux/CORE"  -DHAVE_UTF8
-DHAVE_BLANK LibXML.c
> In file included from LibXML.xs:31:
> /usr/include/libxml2/libxml/DOCBparser.h:19:2: warning: #warning "The DOCBparser module has been deprecated in
libxml2-2.6.0"
> LibXML.xs:73: error: duplicate `extern'
> LibXML.xs:74: error: duplicate `extern'
> LibXML.xs:76: error: duplicate `extern'
> LibXML.xs:77: error: duplicate `extern'
> LibXML.xs:78: error: duplicate `extern'
> LibXML.xs:79: error: duplicate `extern'
> make: *** [LibXML.o] Error 1
> 
> 
> # xml2-config --version
> 2.6.4
> #


Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 2 Michael Cummings (RETIRED) gentoo-dev 2004-06-12 05:10:57 UTC
This should be resolved with recent updates to the tree (newer versions of just about everything including 2.6 support). Please reopen if this persists, but I believe this has been corrected.