[sf-perl] XML::Xerces and OS X 10.6

Francisco Obispo fobispo at isc.org
Thu Jan 20 21:33:53 PST 2011

Tried to compile it myself, and the latest CPAN version of XML::Xerces expects to use Xerces 2.7 not 2.8 which is the one available in ports

Since you don't want to use another parser (which should be a trivial work), I would recommend you to download and compile xerces-c 2.7 and link the Perl library to it.

On Jan 20, 2011, at 9:10 PM, Michael Friedman wrote:

> I've been tearing my hair out trying to get XML::Xerces compiled on my Snow Leopard Intel MacBook running perl 5.12.2. Every time I try, there seems to be some incompatibility between versions of xercesc and XML::Xerces such that, while xercesc 2.8 runs just fine, XML::Xerces can't use it. 
> Google searching has led me to believe that there may be a way to get it to work, but it seems to require stronger magic than I have available.
> Has anyone else got XML::Xerces working on OS X 10.6? 
> If so, would you share it with me? (Either the secret or the binary, either would be fine.)
> Thanks much!
> -- Mike
> PS - Yes, yes, "use a different XML parser." I have some legacy code that uses Xerces and I don't have time to rewrite it. New code that my group is writing uses either XML::LibXML or XML::XPath, depending on individual needs, and those modules both installed just fine on OS X. :-)
> ______________________________________________________________________________
> Mike Friedman | HighWire Press, Stanford Univ | friedman at highwire.stanford.edu
> _______________________________________________
> SanFrancisco-pm mailing list
> SanFrancisco-pm at pm.org
> http://mail.pm.org/mailman/listinfo/sanfrancisco-pm

Francisco Obispo 
Hosted@ Programme Manager
email: fobispo at isc.org
Phone: +1 650 423 1374 || INOC-DBA *3557* NOC
Key fingerprint = 532F 84EB 06B4 3806 D5FA  09C6 463E 614E B38D B1BE

More information about the SanFrancisco-pm mailing list