Compiling Xerces C++
Xerces C++ is a validating XML parser: Xerces C++ official website
These instructions will install Xerces C++ into your HOME directory.
Download♯
From http://xerces.apache.org/xerces-c/download.cgi
[juser@proteusa01 ~]$ cd src
[juser@proteusa01 src]$ wget
http://apache.cs.utah.edu//xerces/c/3/sources/xerces-c-3.1.1.tar.gz
[juser@proteusa01 src]$ tar xf xerces-c-3.1.1.tar.gz
Configure♯
[juser@proteusa01 src]$ cd xerces-c-3.1.1
[juser@proteusa01 xerces-c-3.1.1]$ ./configure --prefix=$HOME --enable-rpath
#`` ``--enable-rpath`` ``avoids`` ``clashing`` ``with`` ``the`` ``default`` ``system-installed`` ``Xerces`` ``C++
Build♯
[juser@proteusa01 xerces-c-3.1.1]$ make -j 8 | tee Make.out
Test♯
[juser@proteusa01 xerces-c-3.1.1]$ make check | tee Make.check.out
Examine test result by looking at the file
cripts/sanityTest_ExpectedResult.log
. The last line should read:
Test Run Successfully
Install♯
[juser@proteusa01 xerces-c-3.1.1]$ make install | tee Make.install.out
Modify Your Environment♯
Edit ~/.bashrc
:
export LD_LIBRARY_PATH=${HOME}/lib:${LD_LIBRARY_PATH}
export PATH=${HOME}/bin:${PATH}