This is an old revision of the document!
Building Metlibs and Diana with Autotools
The autotooled versions are in separate branches:
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-essentialsgfortranautoconfautomakelibtool
Next, you will need to install various third-party libraries that Metlibs and Diana depend on:
ftgl-devlibhdf4g-devlibhdf5-serial-devlibtiff4-devlibqt4-devlibqt4-opengl-devprojlibboost-dev(*)libboost-date-time-devlibboost-serialization-devlibboost-thread-devlibmysqlclient15-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-devUDUNITS(no package; install manually from source)
Except for those marked with (*), configure will terminate with an error message if any required package is absent.