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 ...
See CPAN Bugzilla: http://rt.cpan.org/NoAuth/Bug.html?id=4355
The fix Guido gives works for me.
the fix worked for me as well
fix also worked for me
This fix also works for me. I've created ebuild and patch for this. Also bug 36493 seems to be the same problem.
Created attachment 23097 [details] New Ebuild for 1.56 version
Created attachment 23098 [details, diff] Patch to make 1.56 compile
Fixed in 1.56-r1. Thanks.
*** Bug 36493 has been marked as a duplicate of this bug. ***