Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
diana:windows:building:grib [2009-12-01 15:19:13] 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: | ||
| - | $ LDFLAGS="-no-undefined" | + | $ LDFLAGS=-L/c/met.no/lib CPPFLAGS=-I/ |
| $ make all install | $ make all install | ||
| + | $ cp LICENSE / | ||
| - | **TODO: replace with OpenJPEG?** | + | **TODO:** replace with [[http:// |
| ===== Grib API ===== | ===== Grib API ===== | ||
| - | |||
| - | **UNFINISHED** | ||
| First, get the latest source (currently 1.8.0) from http:// | First, get the latest source (currently 1.8.0) from http:// | ||
| Line 33: | Line 32: | ||
| Finally, configure, build and install: | Finally, configure, build and install: | ||
| - | $ ./configure --prefix=/opt/grib --with-jasper=/opt/jasper | + | $ LDFLAGS=-L/ |
| $ make all install | $ make all install | ||
| + | $ cp AUTHORS / | ||
| + | $ cat LICENSE >>/ | ||
| - | 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).</ |
| **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' | ||
| + | |||
| + | GRIB_DEFINITION_PATH must be correct. | ||