eccodes/INSTALL

41 lines
1.2 KiB
Plaintext
Raw Normal View History

2013-03-25 12:04:10 +00:00
2014-11-17 16:09:50 +00:00
The grib_api installation is based on the standard configure utility.
It is tested on several platforms and with several compilers. However for some platforms
modifications to the installation engine may be required. If you encounter any problem
during the installation procedure please send an e-mail with your problem to
Software.Support@ecmwf.int.
2013-03-25 12:04:10 +00:00
2014-11-17 16:09:50 +00:00
The only required package for a standard installation is jasper which enables the jpeg2000
packing/unpacking algorithm.
It is possible to build grib_api without jasper, by using the --disable-jpeg configure option,
but to install a fully functional library, its download is recommended.
2013-03-25 12:04:10 +00:00
2014-11-17 16:09:50 +00:00
Standard Installation
2013-03-25 12:04:10 +00:00
=====================
2014-11-17 16:09:50 +00:00
1. Download grib_api from https://software.ecmwf.int/wiki/display/GRIB/Releases.
2. Unpack distribution:
2013-03-25 12:04:10 +00:00
2014-11-17 16:09:50 +00:00
> gunzip grib_api-X.tar.gz
> tar xf grib_api-X.tar
2013-03-25 12:04:10 +00:00
2014-11-17 16:09:50 +00:00
3. Create the directory where to install grib_api say grib_api_dir
2013-03-25 12:04:10 +00:00
2014-11-17 16:09:50 +00:00
> mkdir grib_api_dir
2013-03-25 12:04:10 +00:00
2014-11-17 16:09:50 +00:00
4. Run the configure in the grib_api-X
2013-03-25 12:04:10 +00:00
2014-11-17 16:09:50 +00:00
> cd grib_api-X
> ./configure --prefix=grib_api_dir
2013-03-25 12:04:10 +00:00
2014-11-17 16:09:50 +00:00
5. make, check and install
2013-03-25 12:04:10 +00:00
2014-11-17 16:09:50 +00:00
> make
...
> make check
...
> make install
...
2013-03-25 12:04:10 +00:00