This is an old revision of the document!


Building Metlibs and Diana with Autotools

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

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

  • build-essential
  • gfortran
  • autoconf
  • automake
  • libtool
  • subversion

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

Metlibs
  • flex
  • bison
  • ftgl-dev
  • libhdf4g-dev
  • libhdf5-serial-dev (XXX actually optional)
  • libtiff4-dev
  • libqt4-dev
  • proj
  • libboost-dev (*)
  • libboost-date-time-dev
  • libboost-serialization-dev
  • libboost-thread-dev
  • libgeotiff-dev (Optional)
  • libfimex-dev (Optional)
  • libmysqlclient15-dev (*)
  • libpqxx-dev (*) (Optional)
  • libomniorb4-dev (Optional)
  • omniidl4 (Optional)
  • libldap2-dev (optional)
  • liblog4cpp5-dev
  • libcurl4-gnutls-dev
  • libmysqlclient-dev
  • libpqxx-dev
Diana
  • libshp-dev
  • libavformat-dev (Optional)
  • libxt-dev

For observation buffer support in Diana:

For GRIB support in Metlibs and Diana:

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.

By default, all modules are enabled except for GribAPI, “geotiff”, “fimex”, pods, profet and proFunctions.

By default, support for profet and observation buffers is disabled, while video export is enabled.

This website uses cookies. By using the website, you agree with storing cookies on your computer. Also you acknowledge that you have read and understand our Privacy Policy. If you do not agree leave the website.More information about cookies
  • diana/autotools.1314957463.txt.gz
  • Last modified: 2022-05-31 09:23:13
  • (external edit)