Skip to main content

How to compile XML/Ada

The following chapter describes how to compile XML/Ada (http://libre.act-europe.fr/xmlada).

Get the lib #

If you have wget installed then you could try:

 mkdir /work/ada
 cd /work/ada
 wget http://libre.act-europe.fr/xmlada/XmlAda-1.0.tgz
 tar --extract --gzip  --file=xmlada/XmlAda-1.0.tgz

Otherwise just use your favourite browser and download from the XML/Ada side (http://libre.act-europe.fr/xmlada).

Configure #

Nothing special:

 configure --prefix=/opt/ada

Compile #

Delete ADA_INCLUDE_PATH and ADA_OBJECT_PATH because the Compile will fail if an older version is found.

 ADA_INCLUDE_PATH=
 ADA_OBJECTS_PATH=
 make

Install #

Set ADA_INCLUDE_PATH and ADA_OBJECT_PATH to the library’s destination path.

 make install
 declare -x ADA_INCLUDE_PATH=/opt/ada/include/xmlada
 declare -x ADA_OBJECTS_PATH=/opt/ada/include/xmlada