900260 Automated Visual Event Detection and Classification : mbarivision Installation - Step 2. Build and Install XML Libraries This page last changed on Jun 09, 2010 by dcline. ### Build and install the Xerces C++ library version 2.7 Xerces C++ is a library allowing AVED to export the results into an XML file. This library provides several utilities to manipulate and to validate XML documents using the DOM and SAX APIs. Check out the code from apache, and install with: #### For mbarivision build, install to /usr/local
    svn co https://svn.apache.org/repos/asf/xerces/c/tags/Xerces-C_2_7_0
    export XERCESCROOT=`pwd`/Xerces-C_2_7_0
    cd $XERCESCROOT/src/xercesc
    ./runConfigure -p linux -cgcc -xg++ -minmem -nsocket -tnative -rpthread -P /usr/local
    gmake
    gmake install
#### For pmbarivision build, install to your shared directory across nodes, e.g. /home/shared/aved:
    svn co https://svn.apache.org/repos/asf/xerces/c/tags/Xerces-C_2_7_0
    export XERCESCROOT=`pwd`/Xerces-C_2_7_0
    cd $XERCESCROOT/src/xercesc
    ./runConfigure -p linux -cgcc -xg++ -minmem -nsocket -tnative -rpthread -P /home/shared/aved
    gmake
    gmake install
And update your dynamic loader across all nodes to find this library
    echo /home/shared/aved/lib >> /etc/ld.so.conf
    cpush /etc/ld.so.conf
    cexec ldconfig -v
### Install the simple XML writer Install CPAN and add XML perl components for writing simple XML files used in the AVED scripts. If you don't plan on using the AVED scripts, you can skip this step. This requires the perl-CPAN installer, if you don't have perl-CPAN installed, install it with:
    yum install perl-CPAN
then, install the Simple and Writer modules with:
    perl -MCPAN -e 'install XML::Simple'
    perl -MCPAN -e 'install XML::Writer'
When you are done, you can skip to step 6, or continue with the next optional step AVED Installation Step 3. Build and Install Transcode Software.

Document generated by Confluence on Feb 03, 2026 14:12