The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=15618 ====================================================================== Reported By: Sebastian Wouters Assigned To: ====================================================================== Project: CMake Issue ID: 15618 Category: Modules Reproducibility: always Severity: crash Priority: normal Status: new ====================================================================== Date Submitted: 2015-06-16 09:30 EDT Last Modified: 2015-06-16 09:30 EDT ====================================================================== Summary: HDF5 headers have migrated in linux/debian/sid -- FindHDF5.cmake doesn't detect them Description: I got the following comment from someone who's helping me package my code for debian:
> 4. The include for HDF5 in CheMPS2/include/chemps2/MyHDF5.h is not > working for me, there's no /usr/include/hdf5.h (anymore?). If I replace > that with '#include <hdf5/serial/hdf5.h>', it builds fine. I have currently used a work-around to make debuild work for sid: https://github.com/SebWouters/CheMPS2/blob/master/CheMPS2/CMakeLists.txt According to HDF5's specifications, one should include <hdf5.h>, see section 5 on the page http://www.hdfgroup.org/ftp/HDF5/current/src/unpacked/release_docs/INSTALL In sid's packaged hdf5 version, this file is installed in /usr/include/hdf5/serial/: https://packages.debian.org/sid/amd64/libhdf5-dev/filelist Would it be possible to modify the FindHDF5.cmake so that it detects the hdf5 headers on sid and correctly sets the HDF5_INCLUDE_DIRS variable? Steps to Reproduce: Download and install debian/sid Get cmake, libatlas3-base, libgsl0-dev, and libhdf5-dev with the package manager Download chemps2 commit 226b04dfc07589804fbf7bf2b78b409b08d937eb, or earlier Try to build chemps2 with cmake Additional Information: The discussion at debichem's mailing list: http://lists.alioth.debian.org/pipermail/debichem-devel/2015-June/005963.html ====================================================================== Issue History Date Modified Username Field Change ====================================================================== 2015-06-16 09:30 Sebastian WoutersNew Issue ====================================================================== -- Powered by www.kitware.com Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Kitware offers various services to support the CMake community. For more information on each offering, please visit: CMake Support: http://cmake.org/cmake/help/support.html CMake Consulting: http://cmake.org/cmake/help/consulting.html CMake Training Courses: http://cmake.org/cmake/help/training.html Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/cmake-developers