This is an old revision of the document!
Building Metlibs and Diana with Autotools
- Download source 3.25.0
They both use a number of specially-written autoconf macros, which can be found in metlibs' m4 subdirectory.
Prerequisites
On a clean stock Ubuntu Hardy install, you will first need to install build tools:
build-essentialgfortranautoconfautomakelibtoolsubversion
Next, you will need to install various third-party libraries that Metlibs and Diana depend on:
Metlibs
flexbisonftgl-devlibhdf4g-devlibhdf5-serial-dev(XXX actually optional)libtiff4-devlibqt4-devprojlibboost-dev(*)libboost-date-time-devlibboost-serialization-devlibboost-thread-devlibgeotiff-dev(Optional)libfimex-dev(Optional)libmysqlclient-dev(*)libpqxx-dev(*) (Optional)libomniorb4-dev(Optional)omniidl4(Optional)libldap2-dev(optional)liblog4cpp5-devlibcurl4-gnutls-dev
Diana
libshp-devlibavformat-dev(Optional)- libxt-dev
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 fimex support in Metlibs and Diana:
libfimex-dev(no package; install manually from source)
Except for those marked with (*), configure will terminate with an error message if any required package is absent.
Installation
Metlibs
By default, all modules are enabled except for GribAPI, “geotiff”, “fimex”, pods, profet and proFunctions.
Diana
By default, support for profet and observation buffers is disabled, while video export is enabled.