Building Metlibs and Diana with Autotools

The autotooled versions are in separate branches:

metlibs: https://svn.met.no/metlibs/branches/autotools

diana: https://svn.met.no/diana/branches/autotools

They both use a number of specially-written autoconf macros, which can be found in metlibs' m4 subdirectory.

Installation

On a clean stock Ubuntu Hardy install, you will first need to install build tools:

build-essentials

gfortran

autoconf

automake

libtool

Next, you will need to install various third-party libraries that Metlibs and Diana depend on:

ftgl-dev

libhdf4g-dev

libhdf5-serial-dev

libtiff4-dev

libqt4-dev

libqt4-opengl-dev

proj

libboost-dev (*)

libboost-date-time-dev

libboost-serialization-dev

libboost-thread-dev

libmysqlclient15-dev (*)

libpqxx-dev (*)

libomniorb4-dev (XXX actually optional)

omniidl4

For observation buffer support in Diana:

EMOSLIB (no package; install manually from source)

For GRIB support in Metlibs and Diana:

GRIB API (no package; install manually from source)

For NetCDF support in Metlibs and Diana:

libnetcdf-dev

UDUNITS (no package; install manually from source)

Except for those marked with (*), configure will terminate with an error message if any required package is absent.