[R] hdf5 config test in R-0.63.2
bacon at aerodyne.com
Thu Jan 21 20:04:57 CET 1999
I just tried to build R-0.63.2 on my mklinux machine and noticed a
problem with the configure script.
First, configure tests for the library libhdf5, then it tests for the
libz library. Since libhdf5 depends on libz, the libhdf5 test fails
even when it is present.
Later in the configuration script, there is a test for hdf5.h. If this
file is found, then support for HDF5 is enabled. However, since the
test for libhdf5 failed, it isn't in the list of libraries to be linked.
As a result, the build fails because the libhdf5 function calls are
The solution would be to move the libz test ahead of the libhdf5 test,
and make the libhdf5 test contingent upon finding libz. This should
provide correct autodetection and configuration of libhdf5.
Aerodyne Research, Inc. Phone: (978) 663-9500 ext. 273
45 Manning Rd. FAX: (978) 663-4918
Billerica, MA 01821-3976 http://www.aerodyne.com
Me spill chucker woks grate. I needle gramma chicken.
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
More information about the R-help