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 15:26:37] 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 | + | ===== HDF5 ===== |
| - | ===== HDF4 ===== | + | First, get the latest source (currently 1.8.3) from http:// |
| - | First, get the latest source (currently 4.2r4) from http://www.hdfgroup.org/ | + | In HDF5 1.8.3, there are several issues we need to address before we can build the library. |
| - | $ ./configure --prefix=/opt/hdf | + | //note: the first two issues have been reported to the HDF Group and will be fixed in the next release.// |
| - | $ make LDFLAGS=-no-undefined all install | + | |
| - | **TODO:** check configure options | + | The first is a bug in '' |
| - | ===== HDF5 ===== | + | The second is that the test scripts use Winsock ('' |
| - | First, get the latest source (currently 1.8.3) from http:// | + | $ echo ' |
| - | In HDF5 1.8.3, there are three issues we need to address before we can build the library. | + | The third is that several |
| - | //note: the first two issues have been reported to the HDF Group and will be fixed in the next release.// | + | $ echo ' |
| + | $ echo ' | ||
| + | $ echo ' | ||
| - | The first is a bug in '' | + | Finally, HDF5's '' |
| + | |||
| + | LT_PREREQ([2.2]) | ||
| + | LT_INIT([dlopen]) | ||
| + | |||
| + | with this: | ||
| + | |||
| + | AC_LIBTOOL_DLOPEN | ||
| + | AM_PROG_LIBTOOL | ||
| + | |||
| + | **XXX** alternative: | ||
| - | The second is that the test scripts use Winsock ('' | + | Now we need to regenerate everything: |
| - | This can be fixed by running the following commands before '' | + | $ aclocal |
| + | $ libtoolize --copy --force | ||
| + | $ autoheader | ||
| + | $ automake --add-missing --copy --foreign | ||
| + | $ autoconf | ||
| - | $ echo libh5test_la_LIBADD=-lws2_32 >> | + | The fourth and final issue is that C++ support is not enabled by default. |
| - | $ automake | + | |
| - | The third and final issue is that C++ support is not enabled by default. | + | Finally: |
| - | $ ./configure --prefix=/opt/hdf --enable-cxx | + | $ LDFLAGS=-L/ |
| - | $ make | + | $ make all install |
| - | $ make install | + | $ cp COPYING / |
| + | **TODO** fix large file support! | ||