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:hdf [2009-12-04 13:11:19] dages |
diana:windows:building:hdf [2022-05-31 09:29:31] (current) |
||
---|---|---|---|
Line 3: | Line 3: | ||
There are binaries available, and they' | There are binaries available, and they' | ||
- | **TODO:** Figure out the exact relationship between these three. | + | Yeah, right. |
===== NetCDF ===== | ===== NetCDF ===== | ||
Line 9: | Line 9: | ||
First, get the latest source (currently 4.0.1) from http:// | First, get the latest source (currently 4.0.1) from http:// | ||
- | $ ./configure --prefix=/ | + | $ LDFLAGS=-L/c/met.no/lib CPPFLAGS=-I/c/met.no/ |
- | $ make LDFLAGS=-no-undefined all install | + | |
- | + | ||
- | Note the '' | + | |
- | + | ||
- | **TODO:** check configure options | + | |
- | + | ||
- | ===== HDF4 ===== | + | |
- | + | ||
- | First, get the latest source (currently 4.2r4) from http://www.hdfgroup.org/release4/obtain.html and extract it in a convenient place, then configure, build and install: | + | |
- | + | ||
- | $ LDFLAGS=" | + | |
$ make all install | $ make all install | ||
+ | $ cp COPYRIGHT / | ||
- | **TODO:** check configure options | + | < |
===== HDF5 ===== | ===== HDF5 ===== | ||
Line 45: | Line 35: | ||
$ echo ' | $ echo ' | ||
- | After editing the various | + | Finally, HDF5's '' |
+ | |||
+ | LT_PREREQ([2.2]) | ||
+ | LT_INIT([dlopen]) | ||
+ | |||
+ | with this: | ||
+ | |||
+ | AC_LIBTOOL_DLOPEN | ||
+ | AM_PROG_LIBTOOL | ||
+ | |||
+ | **XXX** alternative: | ||
+ | |||
+ | Now we need to regenerate everything: | ||
- | $ aclocal | + | $ aclocal |
+ | $ libtoolize --copy --force | ||
+ | $ autoheader | ||
+ | $ automake | ||
+ | $ autoconf | ||
The fourth and final issue is that C++ support is not enabled by default. | The fourth and final issue is that C++ support is not enabled by default. | ||
Line 53: | Line 59: | ||
Finally: | Finally: | ||
- | $ LDFLAGS=-no-undefined | + | $ LDFLAGS=-L/c/met.no/lib CPPFLAGS=-I/ |
$ make all install | $ make all install | ||
+ | $ cp COPYING / | ||
+ | **TODO** fix large file support! |