On Jul 31, 2006, at 9:15 PM, Michael Glaesemann wrote:


On Jul 31, 2006, at 14:33 , Michael Glaesemann wrote:

I'm having trouble installing XML::LibXML::XPathContext on a Intel Mini (via CPAN). I had no problem installing it on my Powerbook, so I'm wondering if it has to do with a difference between PowerPC and Intel processors (for lack of any other evidence). Has anyone else had trouble installing XML::LibXML::XPathContext?

I ended up force installing XML::LibXML::XPathContext

Pointless. That will force CPAN to copy the files, but it won't fix the real problem. And with *every* test failing, there's virtually zero chance of it being a problem with the tests - *especially* given that they pass on your PB.

(and XML::RSS::LibXML, which is also a dependency for Plagger, which is my utlimate goal). I noticed in my System.log that perl was actually crashing during the tests. I've included the final crash report from /Library/Logs/CrashReporter/perl.crash.log below. Am I right in thinking I should contact the author of XML::LibXML::XPathContext?

For what purpose? Nothing so far has indicated a bug in the module. Quite the contrary - the crash dump suggests otherwise:

Binary Images Description:
0x605000 - 0x6dafff libiconv.2.dylib /opt/local/lib/ libiconv.2.dylib 0x1008000 - 0x10f0fff libxml2.2.dylib /opt/local/lib/ libxml2.2.dylib
...
0x92a4a000 - 0x92b28fff libxml2.2.dylib /usr/lib/ libxml2.2.dylib 0x92b45000 - 0x92c32fff libiconv.2.dylib /usr/lib/libiconv. 2.dylib

Figure out why this module is linked against both copies of libxml & libiconv, and I'd bet you'll have solved this problem. Try moving / opt aside before building & testing the module. Before you do, use otool to see which of these XML::LibXML::XPathContext is linked against - it may also be that one (or more) of its prerequisites (XML::LibXML for instance) is also linked the one in /opt.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


Reply via email to