Difference between revisions of "Xerces-C++"

From CBLFS
Jump to navigationJump to search
(New page: {| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | http://www.apache.org/dist/xml/xerces-c/source/xerces-c-src_2_7_0.tar.gz |} ---- == Introduction to Xerce...)
 
 
(20 intermediate revisions by 5 users not shown)
Line 2: Line 2:
 
|-
 
|-
 
!Download Source:
 
!Download Source:
| http://www.apache.org/dist/xml/xerces-c/source/xerces-c-src_2_7_0.tar.gz
+
| http://www.apache.org/dist/xerces/c/sources/xerces-c-src_{{Xerces-C++-Version}}.tar.gz
 
|}
 
|}
  
 
----
 
----
  
== Introduction to Xerces-C++ ==
+
{{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 18: Line 20:
 
  export XERCESCROOT=$PWD &&
 
  export XERCESCROOT=$PWD &&
 
  cd src/xercesc &&
 
  cd src/xercesc &&
  ./configure --prefix=/usr &&
+
  ./runConfigure -plinux -cgcc -xg++ -P/usr \
 +
    -minmem -nsocket -tnative -rpthread &&
 
  make
 
  make
  
Line 29: Line 32:
 
=== 32bit ===
 
=== 32bit ===
  
  ToDo
+
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 ===
 
=== N32 ===
Line 37: Line 52:
 
=== 64Bit ===
 
=== 64Bit ===
  
  ToDo
+
 
 +
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
 +
 
 +
[[Category:General Libs]]

Latest revision as of 10: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