-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FindHDF5 module fails on Debian Stretch #71
Comments
Considering that HDF5 detection is provided by CMake via their own That's the fix we will be likely to go for in Debian. |
Well, looks like FindHDF5 is not quite working: https://travis-ci.org/BIC-MNI/libminc/jobs/157120684 |
s/HDF5_INCLUDE_DIR/HDF5_INCLUDE_DIRS |
HDF5_INCLUDE_DIR is broken and deprecated anyway. |
You have it used in different files though: https://github.com/BIC-MNI/libminc/search?utf8=%E2%9C%93&q=HDF5_INCLUDE_DIR So you might want to use a stub like this |
Your call. |
Contents of FindHDF5 in Cmake : This module will define the following variables:... HDF5_INCLUDE_DIR - Location of the hdf5 includes (deprecated)''' |
I know, I am just saying telling it is currently broken. I recently had to fix a bunch of Debian packages which were relying on The most important word in your quote remains deprecated. |
Commit d641c4f should have fixed it. |
The error is explicit enough.
|
because they don't have modern cmake, that includes FindHDF5 |
They should, CMake 2.8.7 has a FindHDF5 module. |
FYI, |
Looks like it worked in the end: |
Hi, This snippet I patched into ANTs' travis config will get an up-to-date cmake https://github.com/stnava/ANTs/blob/master/.travis.yml#L18-L22 |
(Debian Stretch is not very relevant anymore; I don't know if the commits merged finally fixed this issue on Stretch, but there seems to be no problem to build MINC on a modern Debian-based distro) |
I'm trying to build libminc on debian stretch and it is failing. The FindHDF5 module does not look in the right places to find hdf5 installed through apt.
The serial include and lib directories for 64 bit install are:
/usr/include/hdf5/serial
/usr/lib/x86_64-linux-gnu/hdf5/serial
The cmake module FindHDF5 provided by kitware (https://github.com/Kitware/CMake/blob/master/Modules/FindHDF5.cmake) is able to find it by using the compiler wrappers h5cc/h5pcc, but seems to require SelectLibraryConfigurations.cmake and FindPackageHandleStandardArgs.cmake and their dependencies.
The text was updated successfully, but these errors were encountered: