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-11-26 18:46:55] 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=/opt/netcdf --enable-shared | + | $ LDFLAGS=-L/ |
| - | $ make LDFLAGS=-no-undefined | + | $ make all install |
| + | $ cp COPYRIGHT / | ||
| - | Note the '' | + | <del>Note the '' |
| - | + | ||
| - | **TODO:** check configure options | + | |
| - | + | ||
| - | ===== HDF4 ===== | + | |
| - | + | ||
| - | **DOES NOT WORK** | + | |
| - | + | ||
| - | First, get the latest source (currently 4.2r4) from http:// | + | |
| - | + | ||
| - | $ ./configure --prefix=/ | + | |
| - | $ make LDFLAGS=-no-undefined all install | + | |
| - | + | ||
| - | **TODO:** check configure options | + | |
| ===== HDF5 ===== | ===== HDF5 ===== | ||
| Line 47: | 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: | ||
| - | $ automake | + | |
| + | $ libtoolize --copy --force | ||
| + | $ autoheader | ||
| + | | ||
| + | $ 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 55: | Line 59: | ||
| Finally: | Finally: | ||
| - | $ ./configure --prefix=/opt/hdf --enable-cxx | + | $ LDFLAGS=-L/ |
| - | $ make LDFLAGS=-no-undefined | + | $ make all install |
| + | $ cp COPYING / | ||
| + | **TODO** fix large file support! | ||