Table of Contents
If you want to build on Windows using Cygwin, see Building Berkeley DB XML for UNIX/POSIX systems and Cygwin Build Notes.
The Berkeley DB XML distribution comprises several libraries: a base C++ library, three third-party libraries, and optional libraries for additional language interfaces such as Java, Perl, Python, PHP, and Tcl. Instructions for building the base libraries as well as Java, Tcl and PHP interfaces are included here. Instructions for the other language bindings appear in their respective directories:
dbxml-6.0.xx/dbxml/src/{perl,python}.
All bindings require the C++ library and third-party libraries.
Berkeley DB XML makes use of several open source libraries. Each of these packages is freely available and distributed under an Open Source license. The Berkeley DB XML distribution bundles compatible versions of all third-party libraries. No additional downloads are required. Use of other versions may not work. If in doubt ask on the Berkeley DB XML forum. Berkeley DB XML requires the following third-party libraries:
Berkeley DB is a general purpose database toolkit. This release of Berkeley DB XML includes the Berkeley DB 6.1.x release, and requires the Berkeley DB 4.3.28 release or later.
Xerces is the Apache implementation of XML parsing technology and DOM. The build requires a source release of Xerces, not just a binary release. This release of Berkeley DB XML bundles Xerces-C 3.1.2 and requires the Xerces 3.0.1 release or newer.
XQilla is an open source partial implementation of XQuery 3.0 and XPath 2.0. Berkeley DB XML bundles the 2.3 release of XQilla. Later versions of XQilla may work, but are not implicitly supported.
ZLIB is an open source compression library. This release of Berkeley DB XML bundles the binary release of ZLIB 1.2.3. It is not required if wholedoc container compression is not desired.