Xerces-C++

From CBLFS
Jump to navigationJump to search
Download Source: http://www.apache.org/dist/xerces/c/sources/xerces-c-src_2_8_0.tar.gz

Introduction to Xerces-C++

Xerces-C++ is a validating XML parser written in a portable subset of C++. Xerces-C++ makes it easy to give your application the ability to read and write XML data. A shared library is provided for parsing, generating, manipulating, and validating XML documents using the DOM, SAX, and SAX2 APIs.

Project Homepage: http://xerces.apache.org/xerces-c/

Dependencies

Non-Multilib

Caution.png

Note

On Pure64 systems add "-b64" to the runConfigure line.

Compile the package:

export XERCESCROOT=$PWD &&
cd src/xercesc &&
./runConfigure -plinux -cgcc -xg++ -P/usr \
    -minmem -nsocket -tnative -rpthread &&
make

Install the package:

make install

Multilib

32bit

Compile the package:

export XERCESCROOT=$PWD &&
cd src/xercesc &&
./runConfigure -plinux -cgcc -xg++ -b32 -P/usr \
    -minmem -nsocket -tnative -rpthread \
    -z "${BUILD32}" -l "${BUILD32}" &&
make

Install the package:

make install &&
unset XERCESCROOT

N32

ToDo

64Bit

Compile the package:

export XERCESCROOT=$PWD &&
sed -i "s:/lib:&64:g" obj/Makefile.in &&
sed -i "s:{XERCESCROOT}/lib64:{XERCESCROOT}/lib:g"
cd src/xercesc &&
./runConfigure -plinux -cgcc -xg++ -b64 -P/usr \
    -minmem -nsocket -tnative -rpthread \
    -z "${BUILD64}" -l "${BUILD64}" &&
make

Install the package:

make install &&
unset XERCESCROOT