wiki:PackageDependencies

Package Dependencies for SciDB

The following prerequisite packages are needed to build SciDB:

Package Minimum version Download URL
gcc 4.1.2  http://gcc.gnu.org/mirrors.html
cmake 2.6  http://www.cmake.org/cmake/resources/software.html
boost 1.37.0 (see note 1)  http://www.boost.org/users/download/
xerces-c 3.0.1  http://xerces.apache.org/xerces-c/download.cgi
m4 1.4.5  http://ftp.gnu.org/gnu/m4/
bison 2.3  http://ftp.gnu.org/gnu/bison/
flex 2.5.35  http://flex.sourceforge.net/
log4cxx 0.10.0 (see note 2)  http://logging.apache.org/log4cxx/download.html
postgresql 8.4  http://www.postgresql.org/download/
libpqxx 3.0 Client libraries for postgres
protobuf-cpp 2.3  http://code.google.com/p/protobuf/
apr 1.0  http://apr.apache.org/download.cgi
apr-util 1.0  http://apr.apache.org/download.cgi
libbz2-dev 1.0.5  http://www.bzip.org/
libconfig-devel 1.3.2

The following packages are 'nice to have':

Package Minimum version Download URL
doxygen 1.6.2  http://www.icewalkers.com/Linux/Software/57870/Doxygen.html

Note 1: For each of the platforms we currently build on, we have documented methods for obtaining all of the dependencies. Please refer to Ubuntu 9.4, Ubunto 10, ArchLinux and MacOS.

Note 1. Boost 1.37.0 requires a patch to work with gcc 4.4. (Please apply this change on boost fusion:  https://svn.boost.org/trac/boost/changeset/53029)

Note 2. log4cxx can be built using autotools (./configure; make; make install) instead of ant if desired. It may require the following patch to compile cleanly:  http://www.slac.stanford.edu/~ktl/log4cxx.patch

Note 3: For those folk using Macs, our recommended approach is to use Virtual Box on your Mac OS, and to set up one of the Linux images running as a client OS.

Note 4: Make sure your libpqxx is 3.0 or later. For example, 2.8.6 causes a compilation problem (undefined reference to pqxx::bluhbluh) because of PQXX_PRIVATE and gcc4.0's 'new feature'. (see  http://www.mail-archive.com/libpqxx-general@gborg.postgresql.org/msg00026.html for more detail).