Subject: | perl Makefile.PL core dumps |
% uname -a
SunOS fury 5.8 Generic_108529-01 i86pc i386 i86pc
% perl -v
This is perl, version 5.005_03 built for i86pc-solaris
% perl Makefile.PL
running xml2-config...ok
looking for -lxml2... yes
Writing Makefile for XML::LibXML
Segmentation Fault (core dumped)
same also happens for Perl 5.8.1.
If line 27 is removed from Makefile.PL (the XML::LibXML::Common
element of PREREQ_PM), then it does not core dump.
I then build the module, and all tests pass, except a bunch of
warnings:
Use of uninitialized value in subroutine entry at /files/share/home/curtis/build/perl/5.8.1/XML-LibXML-1.56/blib/lib/XML/LibXML.pm line 633.
are generated.
the line is:
return $self->_toStringC14N( $comments, $xpath );
That probably should be filed as a separate bug, but I don't know if somehow it could be related to the module not building correctly due to the removal of the item from PREREQ_PM.
I have not tried this on Solaris for sparc.