Build ProLinga-Repository

Prerequisites

ProLinga-Repository 0.0.3 has been built and tested on Fedora Core, Mandriva Linux, Debian, Ubuntu, openSUSE. The product should compile and run successfully on other GNU/Linux distributions as well as UNIX. GNU gcc/g++ >= 3.3 compilers/tools are required for a successful build.

Required 3rd party package(s) for a successful build:

Optional 3rd party package(s):

  • xsltproc. Command line processor. This package is only required to re-generate the HTML pages after making changes to the documentation.

General Download and Installation Instructions 3rd Party Products.

Assuming the directory /opt/builds will be used for 3rd party products, then in general the following steps need to be taken to download and extract a 3rd party product source archive.

  • Download source tar/gz archive to /opt/builds/[product] Example: place libxml2-x.x.x.tar.gz in /opt/builds/libxml2

  • Use 'gunzip' to unzip the archive

  • Use 'tar xvf [product.tar] to extract the archive. Example: tar xvf libxml2-x.x.x.tar.

  • A new sub directory will be created with the new version of the product. Example: /opt/builds/libxml2/libxml2-x.x.x This way several versions of the same products can be installed next to each other.

For product specific installation instructions see following sections.

Berkeley DBXML:

To be able to build Berkeley DBXML, several other products need to be installed as well. These are:

  • Berkeley DB. This product provides a general purpose database.

  • Xerces. This product provides XML libraries.

  • XQilla. XQilla is an implementation of XQuery 1.0 and XPath 2.0 using Xerces DOM. Berkeley DB XML requires a version of XQilla that is not publicly available and is distributed with Berkeley DB XML.

It is recommended to first download all products before installing them because of dependencies.

Berkeley DB:

Product root dir: /opt/builds/db

Current version: 4.8.26

Download: http://download.oracle.com/berkeley-db/db-4.8.26.tar.gz

Build Instructions:

cd /opt/builds/db/db-4.8.26
../dist/configure --enable-cxx 
make
make install

Note

The --enable-cxx option is required.

Xerces-c:

Product root dir: /opt/builds/xerces

Current version: 2.7.0

Download: http://www.apache.org/dist/xml/xerces-c/source/xerces-c-src_2_7_0.tar.gz

Build Instructions:

cd /opt/builds/xerces/xerces-c-src_2_7_0
export XERCESCROOT=`pwd`
cd src/xercesc
./runConfigure -P $XERCESCROOT -plinux -cgcc -xg++ -minmem -nsocket -tnative -rnone [-b64]
make
make install

XQilla:

Product root dir: /opt/builds/xqilla

Current version: 2.2.3 (customized release shipped with dbxml 2.5.16)

Download: Ships with Berkeley DBXML 2.5.16.

Build Instructions:

cd /opt/builds/xqilla/xqilla-2.2.3
mkdir build
cd build
../configure --with-xerces=/opt/builds/xerces/xerces-c-src_2_7_0 
make
make install

Product root dir: /opt/builds/dbxml

Current version: 2.5.16

Download: http://download.oracle.com/berkeley-db/dbxml-2.5.16.tar.gz

Build Instructions:

cd /opt/builds/dbxml/dbxml-2.5.16/build_unix
../dist/configure
make
make install

Note

See file docs/ref/xml_unix/intro.html which ships with dbxml for more installation information.

Note

Check for and apply latest dbxml patches.

Libxml2:

Product root dir: /opt/builds/libxml2

Current version: 2.6.31

Download: ftp://xmlsoft.org/libxml2/libxml2-2.6.31.tar.gz

Build Instructions:

cd /opt/builds/libxml2/libxml2-2.6.31
./configure 
make
make install

ProLinga-Soap:

Product root dir: /opt/builds/prolinga

Current version: 0.0.1

Download: http://download.prolinga.org

Build Instructions:

cd /opt/builds/prolinga/prolinga-soap-0.0.1
./configure --prefix=/opt/builds/prolinga/prolinga-soap-0.0.1
make
make install

Note

See the ProLinga-Soap Project documentation for more installation information.