Most of the tools and libraries you might need to build Zorba are available in the standard Ubuntu/Debian repositories. Here we list the packages that you should install to meet the requirements specified at Prerequisites for Building Zorba.
To install the gcc compiler and CMake:
To install Bazaar (for building the latest Zorba source, or for building non-core modules):
Required libraries for core Zorba:
Recommended libraries for core Zorba:
Optional libraries for core Zorba:
SWIG and development requirements for Zorba language bindings:
To install libgeos for the Geo Module, first ensure that the version available for your distribution is at least 3.2.2:
If it is lower than 3.2.2, then you may add our PPA to your list of repositories to get a later version:
In either case, install libgeos with:
We recommend using our PPA to install the C-Client module, as the Ubuntu packages are not built correctly at least on 64-bit platforms.
Or, you may build it yourself from source, so long as you force the -fPIC option:
Note: In case of errors, delete all, untar and make again, don't trust make clean.
If you do this, be sure to pass the path to the "c-client"
subdirectory of your build to CMake when configuring Zorba, e.g.: