Currently, the Zorba team does not provide source downloads for the non-core modules. However, there is a simple CMake script inside Zorba which will allow you to check out these modules from source control easily. Note that this requires having the Subversion utility available on your system.
From your [ZORBA] directory, type
cmake -Doutdir=../zorba_modules -Dmodname=NAME -P modules/DownloadModules.cmake
to download the particular module package NAME (see Non-core Modules for a complete list of module packages and their contents), or
cmake -Doutdir=../zorba_modules -Dallmodules=1 -P modules/DownloadModules.cmake
to download all the modules. (On Windows, you will need to use backslashes instead of forward slashes in the above paths.)
This will place the downloaded module source code in the directory ../zorba_modules, which is where the Zorba build will look for them by default. If you wish to download them to some other location, you may do so; in that case, when you configure the Zorba build with CMake, provide the
-DZORBA_MODULES_DIR=/full/path/to/modules
argument.
Please note that some of these modules depend on other modules. Most notably, the EXPath http-client module (in the http-client
module package) depends on the tidy
module, which is in the data-converters
module package. So, if you download the http-client
package, you must also download the data-converters
package (and ensure that libtidy is installed, as mentioned below).
Please see our module-interdependency graph for details.
For many of the non-core modules, you need additional libraries. All such modules are not built if the library (and development headers) they require are not available. Here is a list of the libraries required by the current non-core modules packages:
In many cases you can find binary packages for these dependencies, which will be the quickest and easiest way to meet the requirements. We have provided links or instructions for downloading binary packages for these libraries below, along with some instructions that we have found when building these libraries from source.
Zorba provides email support using the CClient library part of the UW IMAP toolkit.
Notes:
Linking CXX shared library libsmtp.so /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libc-client.a(osdep.o): relocation R_X86_64_32 against `server_input_wait' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../../../lib/libc-client.a: could not read symbols: Bad value
cd <some_directory> wget ftp://ftp.cac.washington.edu/imap/imap-2007e.tar.gz tar -xf imap-2007e.tar.gz cd imap-2007e make slx EXTRACFLAGS="-I/usr/include/openssl -fPIC"
lib
and suffixed with
.a (for example libc-client.a
on Linux/Unix or libc-client4.a
on Mac OS X).Use the following extra CMake arguments when building Zorba:
-D "CCLIENT_INCLUDE=path_to_imap-2007e/c-client" -D "CCLIENT_LIBRARY=path_to_imap-2007e/c-client/libc-client.a"
Here are some quick suggestions to build CClient on Linux:
make lnp
make lnp EXTRACFLAGS="-I/usr/include/openssl -fPIC" EXTRAAUTHENTICATORS=gss
in order to build with SSL and Kerberos support.For more detailed build instructions, please see the UW IMAP toolkit "Server Documentation" and the UW IMAP FAQs.
You must build the UW IMAP toolkit.
Use the following extra CMake arguments when building Zorba:
-D "CCLIENT_INCLUDE=path_to_imap-2007e\c-client" -D "CCLIENT_LIBRARY=path_to_imap-2007e\c-client\release\cclient.lib"
Zorba provides Json manipulation support using the Jansson Library (http://www.digip.org/jansson/).
For Linux/Unix systems, download the Jansson library from http://www.digip.org/jansson/releases/. Then follow the instructions from http://www.digip.org/jansson/doc/2.0/gettingstarted.html#compiling-and-installing-jansson.
The source use GNU Autotools (autoconf, automake, libtool), so compiling and installing is extremely simple:
./configure make make check make install
On Fedora starting with version 12, Jansson is also available as a package, so (as root) you can simply run:
yum install -y jansson-devel
Ubuntu packages are available from PPA of https://launchpad.net/~petri/+archive/ppa
For Windows please follow these steps:
snprintf
with _snprintf
in src/dump.c
lines 188 and 202 and load.c
lines 96 and 108json_strtoint
with strtol
in load.c
line 481There will be a new Jansson 2.0.1 release that will include the fixed described above.
Zorba provides image manipulation support using the ImageMagick Library (http://www.imagemagick.org).
For Linux/Unix systems, just use the package manager to install the magick++, magickwand, magickcore packages including the developer versions of these packages (that inlcude the header files).
On OSX, use macports to install imagemagick.
For Windows, just download the ImageMagick windows binary (Q8-windows-dll) and install it.
A binary installer for Tidy is available at: http://dev.int64.org/tidy.html