Bug 33651 - Compile problem with dev-perl/XML-LibXML-1.56 with libxml2-2.6.0
|
Bug#:
33651
|
Product: Gentoo Linux
|
Version: 1.4
|
Platform: x86
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: perl@gentoo.org
|
Reported By: guido@sohne.net
|
|
Component: Ebuilds
|
|
|
URL:
http://rt.cpan.org/NoAuth/Bug.html?id=4355
|
|
Summary: Compile problem with dev-perl/XML-LibXML-1.56 with libxml2-2.6.0
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2003-11-16 19:32 0000
|
Emerging XML-LibXML-1.55 or XML-LibXML-1.56 give the following error:
gcc -c -I/usr/include/libxml2 -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -s -march=pentium4 -fomit-frame-pointer -pipe -DVERSION=\"1.55\" -DXS_VERSION=\"1.55\" -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:16: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
Bugzilla on CPAN has a bug filed on this as well with an attached fix. To get XML-LibXML to compile and install cleanly, you need to remove the lines mentioning the duplicate extern (as above) from LibXML.xs ...
The fix Guido gives works for me.
the fix worked for me as well
This fix also works for me. I've created ebuild and patch for this. Also bug
36493 seems to be the same problem.
Fixed in 1.56-r1. Thanks.
*** Bug 36493 has been marked as a duplicate of this bug. ***