====== Building in Debian ====== Compiling WDB should be fairly simple, if you have the appropriate libraries and systems installed. The following procedure is based on Ubuntu Lucid; keep in mind that the code changes faster than this wiki page. Install the following debian packages on Precise Pangolin the packages would be: apt-get install g++ make git-core libreadline-dev automake libtool autoconf-archive \ postgresql-9.1 \ postgresql-server-dev-9.1 postgresql-9.1-postgis libpqxx3-dev libboost-dev \ libboost-date-time-dev libboost-program-options-dev libboost-regex-dev \ libboost-filesystem-dev libboost-thread-dev liblog4cpp5-dev libcppunit-dev \ libgrib-api-dev libproj-dev libglib2.0-dev libgeos-dev xmlto \ automake libtool autoconf-archive libreadline-dev Packages from above in a copy-paste friendly format: sudo apt-get install g++ make git-core libreadline-dev automake libtool autoconf-archive postgresql-9.1 postgresql-server-dev-9.1 postgresql-9.1-postgis libpqxx3-dev libboost-dev libboost-date-time-dev libboost-program-options-dev libboost-regex-dev libboost-filesystem-dev libboost-thread-dev liblog4cpp5-dev libcppunit-dev libgrib-api-dev libproj-dev libglib2.0-dev libgeos-dev xmlto automake libtool autoconf-archive libreadline-dev To build debian packages, you will additionally require: apt-get install build-essential cdbs debhelper devscripts dpkg-dev po-debconf To install wdb from the debian package, the following packages are additionally required: apt-get install proj postgresql-client You can then download the latest WDB source from: git clone git@github.com:wdb/wdb.git wdb To get a read-only version of the github repository it is sufficient to have git installed and use the read-only address: apt-get install git git clone git://github.com/wdb/wdb.git If you haven't used GitHub before, see [[http://help.github.com/linux-set-up-git/|Help.GitHub]] for details on how to connect your system. Enter the wdb directory, wdb and run: ./autogen.sh Run configure: ./configure Add --prefix=target-dir to install the software under another directory (recommended if you are not root, or doing this for the first time. This will allow you to easily uninstall/delete the WDB system later). Run make: make This should build the WDB code, assuming everything above has gone to plan. The same procedure can be followed for each of the other WDB packages. The wdb-libwdbload package (used for loading programs) additionally requires libboost-system-dev libboost-test-dev The wdb-gribload package (used for loading programs) additionally requires bc The wdb-locationforecastload application requires cmake libxml++2.6-dev libcurl4-openssl-dev help2man libgtest-dev The wdb-netcdfload application requires libfimex-dev libxml2-dev help2man wdb2ts also requires libboost-iostreams-dev apache2-threaded-dev Several projects require libboost-test-dev Note that due to bugs within the m4 macros used, libboost-test may often not be flagged correctly as the source of the configure error.