Subject: | XML::LibXML does not build for ActiveState Perl PPM buildbot anymore |
Since ActiveState Perl 5.18, XML::LibXML does not build as a PPM anymore.
You can have a look at the reports here: http://code.activestate.com/ppm/XML-LibXML/
There is also detailled descriptions why the build fails, if you click the icons in the pass matrix (I wish they would send reports to CPAN testers...), e.g. http://ppm4.activestate.com/MSWin32-x86-64int/5.20/2000/S/SH/SHLOMIF/XML-LibXML-2.0121.d/log-20150504T065807.txt?_ga=1.3866992.1943044981.1421690950
Here is an excerpt of why it does not build (I guess):
[snip]
Applying 1 patch:
C:\cpanfly-5.20\etc\distroprefs\XML-LibXML.patch
C:\cygwin\bin\patch.exe -N -p1 <<EOT
--- XML-LibXML/Makefile.PL.orig 2013-03-07 17:17:28.213834200 -0800
+++ XML-LibXML/Makefile.PL 2013-03-07 17:24:38.870266600 -0800
@@ -305,7 +305,7 @@
$config_LIBS_alternatives = [
map { "$l $_" }
q/ -lxml2 -lzlib/,
- q/ -llibxml2 -lzlib -llibgettextlib.dll/
+ q/ -llibxml2 -lzlib/
];
$config{LIBS} = $config_LIBS_alternatives->[-1];
}
EOT
(Stripping trailing CRs from patch; use --binary to disable.)
patching file Makefile.PL
Hunk #1 succeeded at 315 with fuzz 2 (offset 10 lines).
CPAN.pm: Building S/SH/SHLOMIF/XML-LibXML-2.0121.tar.gz
Show quoted text
>>> C:\Perl-5.20\bin\perl.exe Makefile.PL INC=-I%FLY_LIBS%\include "LIBS=-L%FLY_LIBS%\lib -liconv"
enable native perl UTF8
Checking for ability to link against xml2...no
Checking for ability to link against libxml2...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.
Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter
to see the exact reason why the detection of libxml2 installation
failed or why Makefile.PL was not able to compile a test program.
No 'Makefile' created SHLOMIF/XML-LibXML-2.0121.tar.gz
C:\Perl-5.20\bin\perl.exe Makefile.PL INC=-I%FLY_LIBS%\include "LIBS=-L%FLY_LIBS%\lib -liconv" -- NOT OK
Running make test
Make had some problems, won't test
Could not read metadata file. Falling back to other methods to determine prerequisites
Finished 2015-05-04T06:58:16
[/snip]