Prerequisites for Building ZorbaThe following tools and libraries are utilized by Zorba.Configuration SystemIn order to build Zorba, you need the cross-platform build system CMake, version 2.6 or later (except CMake 2.6.3 that has a serious bug preventing Zorba from building). CMake's homepage is http://www.cmake.org/ and this is the best source for the Windows CMake installer. It is also available packaged for most Linux distributions, as well as in Macports for MacOS builds.CompilersZorba is tested with the following compilers:
Library DependenciesZorba uses a number of libraries from third parties. A few of these are required for all Zorba installations, but we have tried to keep this number as low as possible. Several others are required to enable certain Zorba features.The following descriptions sometimes reference "CMake
configuration parameters". These are passed to CMake during the configuration step; see Configuring a Zorba Build Using CMake.
Required for Core ZorbaThe following packages are mandatory to build the core part of Zorba.
Recommended for Core ZorbaThe following packages are necessary to enable certain features in Zorba. These features are normally desired, so you will need to explicitly disable them in order to build without these libraries.
Optional for Core ZorbaThe following packages are also necessary to enable certain features in Zorba. These features will automatically be disabled (or are not enabled by default) if the corresponding dependencies are not detected by CMake.
Required for Language BindingsIn order to build the various language bindings that come with Zorba, you need at least Swig 1.3.40 or later (http://www.swig.org/download.html). All bindings are generated using Swig.There is a known bug in many versions of Swig that affects a small number of platforms, including at least FreeBSD. If you get compilation errors that look similar to this:
build/swig/php/zorba_apiPHP5_wrap.cxx:953: error: invalid conversion from 'const char*' to 'char*'then you may have run into this bug. Our experience is that Swig version at least 2.0.7 has corrected this bug, so please try upgrading to that version.For a particular language binding, you need the corresponding language tools and development headers. CMake will automatically enable the language bindings for any language that is detected.
Non-core Module RequirementsFor 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:
What's Next?Once you have obtained all the prerequisite tools and libraries for your installation, move on to Preparing to Build Zorba. |