From 2dd96bf8a961c2a5cdae4364f1924c1d82bdc70e Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 6 Mar 2015 17:44:10 +0000 Subject: [PATCH] Use of CMake for installation and new web page --- INSTALL | 13 ++++++------- NEWS | 2 ++ README | 23 ++++++++++------------- 3 files changed, 18 insertions(+), 20 deletions(-) mode change 100755 => 100644 README diff --git a/INSTALL b/INSTALL index e7801a301..c7de8fae5 100644 --- a/INSTALL +++ b/INSTALL @@ -17,17 +17,15 @@ Standard Installation 1. Download eccodes from https://software.ecmwf.int/wiki/display/ECC/Releases. 2. Unpack distribution: - > gunzip eccodes-X.tar.gz - > tar xf eccodes-X.tar + > tar xzf eccodes-X.tar.gz - 3. Create the directory where to install eccodes say eccodes_dir + 3. Create a separate directory where to build eccodes - > mkdir eccodes_dir + > mkdir build ; cd build - 4. Run the configure in the eccodes-X + 4. Run cmake - > cd eccodes-X - > ./configure --prefix=eccodes_dir + > cmake ../eccodes-X -DCMAKE_INSTALL_PREFIX=/path/to/where/you/install/eccodes 5. make, check and install @@ -38,3 +36,4 @@ Standard Installation > make install ... +For further details, see: https://software.ecmwf.int/wiki/display/ECC/ecCodes+installation diff --git a/NEWS b/NEWS index e69de29bb..3f70cb5c6 100644 --- a/NEWS +++ b/NEWS @@ -0,0 +1,2 @@ +See https://software.ecmwf.int/wiki/display/ECC/Latest+news + diff --git a/README b/README old mode 100755 new mode 100644 index 2d1589f22..961d7d586 --- a/README +++ b/README @@ -1,28 +1,22 @@ -ecCodes is the ECMWF encoding/decoding software for GRIB (edition 1 and 2) and BUFR. +ecCodes is the ECMWF encoding/decoding software for GRIB and BUFR. Documentation can be found here: https://software.ecmwf.int/wiki/display/ECC/ecCodes+Home INSTALLATION -Standard Installation - 1. Download from https://software.ecmwf.int/wiki/display/ECC/Releases + 1. Download eccodes from https://software.ecmwf.int/wiki/display/ECC/Releases. 2. Unpack distribution: - > gunzip eccodes-X.tar.gz - > tar xf eccodes-X.tar + > tar xzf eccodes-X.tar.gz - 3. Create the directory where to install eccodes say /usr/local/eccodes_dir + 3. Create a separate directory where to build eccodes - > mkdir /usr/local/eccodes_dir + > mkdir build ; cd build - 4. Run the configure in the eccodes-X + 4. Run cmake - > cd eccodes-X - > ./configure --prefix=/usr/local/eccodes_dir - - Note that the prefix must be the absolute path of the - directory created. + > cmake ../eccodes-X -DCMAKE_INSTALL_PREFIX=/path/to/where/you/install/eccodes 5. make, check and install @@ -33,6 +27,9 @@ Standard Installation > make install ... +For further details, see: https://software.ecmwf.int/wiki/display/ECC/ecCodes+installation + + COPYRIGHT AND LICENSE Copyright 2005-2015 ECMWF.