Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
diana:windows:building:grib [2009-12-01 13:46:09]
dages
diana:windows:building:grib [2022-05-31 09:29:31] (current)
Line 13: Line 13:
 Finally, configure, build and install: Finally, configure, build and install:
  
-  $ ./configure --prefix=/opt/jasper +  $ LDFLAGS=-L/c/met.no/lib CPPFLAGS=-I/c/met.no/include ./configure --prefix=/c/met.no 
-  $ make LDFLAGS=-no-undefined all install+  $ make all install 
 +  $ cp LICENSE /c/met.no/copyright/jasper.txt
  
-**TODO: replace with OpenJPEG?**+**TODO:** replace with [[http://www.openjpeg.org/|OpenJPEG]]?
  
 ===== Grib API ===== ===== Grib API =====
- 
-**UNFINISHED** 
  
 First, get the latest source (currently 1.8.0) from http://www.ecmwf.int/products/data/software/download/grib_api.html and extract it in a convenient place. First, get the latest source (currently 1.8.0) from http://www.ecmwf.int/products/data/software/download/grib_api.html and extract it in a convenient place.
Line 33: Line 32:
 Finally, configure, build and install: Finally, configure, build and install:
  
-  $ ./configure --prefix=/opt/grib --with-jasper=/opt/jasper+  $ LDFLAGS=-L/c/met.no/lib CPPFLAGS=-I/c/met.no/include ./configure --prefix=/c/met.no
   $ make all install   $ make all install
 +  $ cp AUTHORS /c/met.no/copyright/grib_api.txt
 +  $ cat LICENSE >>/c/met.no/copyright/grib_api.txt
  
-Note that Grib does not build shared libraries (not sure why, the code to do so is partly present but commented out).+<del>Note that Grib does not build shared libraries (not sure why, the code to do so is partly present but commented out).</del> that's OK since we've decided not to use shared libraries.
  
 **TODO:** check configure options **TODO:** check configure options
 +
 +**TODO:** check interactions between GPLv3 and licenses for other third-party components used by metlibs / diana
 +
 +Comment from SMHI.
 +All fopen need to be with rb and wb, otherwise fseek doesn't work.
 +
 +GRIB_DEFINITION_PATH must be correct.
  
  • diana/windows/building/grib.1259675169.txt.gz
  • Last modified: 2022-05-31 09:23:14
  • (external edit)