Folks,

I'm having trouble installing Perl's XML::LibXML module.

I installed the relevant fink packages: libxml2 (which installs libxml2-bin, libxml2-shlibs) and libxslt (and expat for that matter.) I have CFLAGS, CXXFLAGS, and CPPFLAGS set to use -I/sw/include, and LDFLAGS to use -L/sw/lib. I verified these are available using 'printenv' before I launched CPAN.

Installing XML::LibXML from the 'cpan>' prompt, or from the build directory using 'perl Makefile.PL; make; make test' shell commands, fails. Here's the STDOUT from 'make test':

---
t/13dtd..........ok 7/16*** malloc[3829]: Deallocation of a pointer not malloced: 0x114f44; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
*** malloc[3829]: Deallocation of a pointer not malloced: 0x90ef2c7c; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug
t/13dtd..........dubious
Test returned status 0 (wstat 11, 0xb)
DIED. FAILED tests 9-16
Failed 8/16 tests, 50.00% okay
...
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/13dtd.t 0 11 16 8 50.00% 9-16
1 test skipped.
Failed 1/21 test scripts, 95.24% okay. 8/569 subtests failed, 98.59% okay.
make: *** [test_dynamic] Error 35
/usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force
---

I ran 'setenv MallocHelp 1' as suggested by the error output. Running 'perl Makefile.PL' ends with:

---
Running '/usr/bin/perl /System/Library/Perl/ExtUtils/xsubpp temp0002>&1' exits with status 1 at (eval 41) line 43.
---

Note, running without MallocHelp set shows no problem.

'make' doesn't complain, but 'make test' show the same '13dtd' error as above.

Note, the CPAN install of XML::LibXML showed a number of prerequisite modules, like XML::NamespaceSupport, and those installed just fine in CPAN. Install Date::Calc was successful also for that matter, so it's something specific to LibXML.

I'm running MacOS X 10.2 (Jaguar) with Perl 5.6.0, the default, fink -V shows "Package manager version: 0.11.1, Distribution version: 0.5.1.cvs", and "xml2-config --version" shows 2.4.25. I've installed a number of other fink packages with no problem at all. I'm not using the unstable tree.

I didn't see anything pertinent in the fink-beginners list archive. If anyone has suggestions, it would be appreciated. I've been fighting with this much too long. Thanks.

Paul



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Fink-beginners mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-beginners

Reply via email to