Difference between revisions of "Xerces-C++"

From CBLFS
Jump to navigationJump to search
 
(10 intermediate revisions by 5 users not shown)
Line 7: Line 7:
 
----
 
----
  
{{Blank-Package-Introduction}}
+
{{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 ==
 
== Dependencies ==
 +
  
 
== Non-Multilib ==
 
== Non-Multilib ==
 +
 +
{{Note|On Pure64 systems add "-b64" to the runConfigure line.}}
  
 
Compile the package:
 
Compile the package:
Line 35: Line 38:
 
  ./runConfigure -plinux -cgcc -xg++ -b32 -P/usr \
 
  ./runConfigure -plinux -cgcc -xg++ -b32 -P/usr \
 
     -minmem -nsocket -tnative -rpthread \
 
     -minmem -nsocket -tnative -rpthread \
     -z "${BUILD32}" -l "${BUILD32}"
+
     -z "${BUILD32}" -l "${BUILD32}" &&
 
  make
 
  make
  
Line 54: Line 57:
 
  export XERCESCROOT=$PWD &&
 
  export XERCESCROOT=$PWD &&
 
  sed -i "s:/lib:&64:g" obj/Makefile.in &&
 
  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 \
 
  ./runConfigure -plinux -cgcc -xg++ -b64 -P/usr \
 
     -minmem -nsocket -tnative -rpthread \
 
     -minmem -nsocket -tnative -rpthread \
     -z "${BUILD64}" -l "${BUILD64}"  
+
     -z "${BUILD64}" -l "${BUILD64}" &&
 
  make
 
  make
  
Line 64: Line 68:
 
  make install &&
 
  make install &&
 
  unset XERCESCROOT
 
  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

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