I am running into trouble trying to build XML-Xerces-2.7.0-0 with perl 5.8.9. I am running into the same problem as this guy: http://groups.google.com/group/comp.lang.perl.modules/browse_thread/thread/3c7dc3c3bdc0078/2bf3e8841a90de32?lnk=gst&q=Fergus+McMenemie+XML+Xerces#2bf3e8841a90de32

Here is my build script:

#!/bin/sh set -e set -v BUILD_DIR=/tmp/build-xerces INSTALL_BASE=$BUILD_DIR/install XERCES_INSTALL=$INSTALL_BASE/xerces-2.7.0 PERL589=/apps/perl-5.8.9/bin/perl export XERCESCROOT=$BUILD_DIR/Xerces-C_2_7_0 export XERCES_INCLUDE=$XERCES_INSTALL/include export XERCES_LIB=$XERCES_INSTALL/lib /bin/rm -rf $BUILD_DIR mkdir $BUILD_DIR # Build Xerces-C-2.7.0 cd $BUILD_DIR svn co https://svn.apache.org/repos/asf/xerces/c/tags/Xerces-C_2_7_0 mkdir -p $XERCES_INSTALL cd $XERCESCROOT/src/xercesc ./runConfigure -plinux -cgcc -xg++ -minmem -nsocket -tnative -rpthread + -P$XERCES_INSTALL make make install cd $BUILD_DIR wget http://search.cpan.org/CPAN/authors/id/J/JA/JASONS/XML-Xerces-2.7 +.0-0.tar.gz tar zxf XML-Xerces-2.7.0-0.tar.gz cd $BUILD_DIR/XML-Xerces-2.7.0-0 $PERL589 Makefile.PL make
Any ideas? Update: I running this on Centos 5.2. uname -s -r -m -i reports:

Linux 2.6.18-92.1.17.el5 i686 i386

Update: I think I figured it out. The swig files need to be regenerated, so the latest version of SWIG needs to be installed, then:

export SWIG=path/to/swig/binary export XERCES_DEVEL=1 ... continue with build ...

In reply to building XML::Xerces for perl 5.8.9 by perl5ever

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.