#1851: HDF5 won't configure on Fedora ----------------------+----------------------------------------------------- Reporter: sbrandt | Owner: sbrandt Type: defect | Status: review Priority: unset | Milestone: Component: Other | Version: development version Resolution: | Keywords: ----------------------+-----------------------------------------------------
Comment (by sbrandt):
I just checked out Cactus, and HDF5 still stops the build because it can't find H5pubconf.h. Even with Erik's patch. While Erik's patch does add the HDF5 variables (e.g. HDF5_INC_DIRS, etc.) to the configuration.ccl and prevents them from getting over-written, the check on line 59 of detect.sh still succeeds, find_lib is still called on line 60, and the build is aborted because H5pubconf.h is not found. So while the HDF5 variables do get set, it doesn't matter.
My patch included additional checks on line 59 to see if any of the HDF5 variables were set, and avoided calling find_lib if it were so. Some mechanism to avoid calling find_lib is needed.