How To Build Arabica

Building Arabica isn't hard, but it can be a little fiddly.

First, you will need to have at least one of the following parsers installed - Expat, Libxml2, Xerces or if you're on a Windows platform MSXML. If you're working on a Linux box, you probably have libxml or expat already installed. If you're working on Windows, using MSXML is the easiest choice. It's entirely possible to build in support for several parsers, but you'll probably only want one. Depending on exactly which parts of Arabica you are using, you will also need Boost, release 1.33 or later.

Next you need to build the SAX library, configuring it for your choice of parser, or parsers. If you're on some kind of Unix-like platform look here, and if you're using Windows go here. For other platforms you'll have to wing it I'm afraid, but hopefully these instructions and the various Makefiles should provide sufficient clues to get you going. I'm also happy to help as best I can, so do ask. I'd also be delighted to recieve Makefiles or project files for other platform+compiler combinations.

Once the SAX library is built, the DOM and XPath libraries is simplicity itself. You don't have to do anything! They're all headers files. If you want to use it, just include the appropriate parts, link the SAX library, and you're done.

Building on Unix


Building on Windows

I have access to Visual C++ 2003, so the distribution includes project files for that IDE. Unfortunately my clients don't seem to use Borland tools any more, so I'm not up to date with C++Builder, or any of the other IDEs about.

Visual C++ 2003 and 2005
SourceForge Project Page

Jez Higgins