Zorba Build Notes for Ubuntu/Debian Linux UsersUbuntu PackagesMost 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.ToolsTo install the gcc compiler and CMake:sudo apt-get install build-essential cmakeTo install Bazaar (for building the latest Zorba source, or for building non-core modules): sudo apt-get install bzr Core Zorba Library DependenciesRequired libraries for core Zorba:sudo apt-get install libxml2-dev uuid-devRecommended libraries for core Zorba: sudo apt-get install libicu-dev libxerces-c-devOptional libraries for core Zorba: sudo apt-get install libxslt-dev libcurl4-openssl-dev libxerces-c-devSWIG and development requirements for Zorba language bindings: sudo apt-get install swig python-dev php5-dev ruby-dev openjdk-6-jdk libaccess-bridge-java-jni Non-Core Module Library DependenciesHTML Module (data-converters package)sudo apt-get install libtidy-dev Geo ModuleTo install libgeos for the Geo Module, first ensure that the version available for your distribution is at least 3.2.2:apt-cache show libgeos-dev | grep Version:
If it is lower than 3.2.2, then you may add our PPA to your list of repositories to get a later version:sudo add-apt-repository ppa:juan457/zorba sudo apt-get updateIn either case, install libgeos with: sudo apt-get install libgeos-dev ImageMagick (for image modules)sudo apt-get install imagemagick libmagick++-dev libmagickwand-dev Email ModuleWe recommend using our PPA to install the C-Client module, as the Ubuntu packages are not built correctly at least on 64-bit platforms.sudo add-apt-repository ppa:juan457/zorba sudo apt-get update sudo sudo apt-get install libc-client2007e libc-client2007e-devOr, you may build it yourself from source, so long as you force the -fPIC option: wget ftp://ftp.cac.washington.edu/imap/imap-2007e.tar.gz tar -xf imap-2007e.tar.gz sudo apt-get install libpam-dev cd imap-2007e make lnp EXTRACFLAGS="-I/usr/include/openssl -fPIC"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.: cmake -DCMAKE_PREFIX_PATH="~/imap-2007e/c-client" ../ make |