Difference between revisions of "Xerces-C++"
From CBLFS
Jump to navigationJump to search(19 intermediate revisions by 5 users not shown) | |||
Line 2: | Line 2: | ||
|- | |- | ||
!Download Source: | !Download Source: | ||
− | | http://www.apache.org/dist/ | + | | http://www.apache.org/dist/xerces/c/sources/xerces-c-src_{{Xerces-C++-Version}}.tar.gz |
|} | |} | ||
---- | ---- | ||
− | + | {{Package-Introduction|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.|http://xerces.apache.org/xerces-c/}} | |
+ | == Dependencies == | ||
− | |||
== Non-Multilib == | == Non-Multilib == | ||
+ | |||
+ | {{Note|On Pure64 systems add "-b64" to the runConfigure line.}} | ||
Compile the package: | Compile the package: | ||
Line 18: | Line 20: | ||
export XERCESCROOT=$PWD && | export XERCESCROOT=$PWD && | ||
cd src/xercesc && | cd src/xercesc && | ||
− | ./ | + | ./runConfigure -plinux -cgcc -xg++ -P/usr \ |
+ | -minmem -nsocket -tnative -rpthread && | ||
make | make | ||
Line 33: | Line 36: | ||
export XERCESCROOT=$PWD && | export XERCESCROOT=$PWD && | ||
cd src/xercesc && | cd src/xercesc && | ||
− | + | ./runConfigure -plinux -cgcc -xg++ -b32 -P/usr \ | |
− | + | -minmem -nsocket -tnative -rpthread \ | |
+ | -z "${BUILD32}" -l "${BUILD32}" && | ||
make | make | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
+ | unset XERCESCROOT | ||
=== N32 === | === N32 === | ||
− | + | ToDo | |
− | + | === 64Bit === | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Compile the package: | Compile the package: | ||
export XERCESCROOT=$PWD && | export XERCESCROOT=$PWD && | ||
+ | sed -i "s:/lib:&64:g" obj/Makefile.in && | ||
+ | sed -i "s:{XERCESCROOT}/lib64:{XERCESCROOT}/lib:g" | ||
cd src/xercesc && | cd src/xercesc && | ||
− | + | ./runConfigure -plinux -cgcc -xg++ -b64 -P/usr \ | |
− | + | -minmem -nsocket -tnative -rpthread \ | |
+ | -z "${BUILD64}" -l "${BUILD64}" && | ||
make | make | ||
Install the package: | Install the package: | ||
− | make install | + | make install && |
+ | unset XERCESCROOT | ||
+ | |||
+ | [[Category:General Libs]] |
Latest revision as of 09:28, 20 September 2009
Download Source: | http://www.apache.org/dist/xerces/c/sources/xerces-c-src_2_8_0.tar.gz |
---|
Contents
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
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