google-deepmind / google-deepmind/torch-hdf5
"Could NOT find HDF5"
- Dominant language
- Lua
- Stars
- 241
- Forks
- 125
- PR merge metrics
- No merged PRs in 30d
Description
I get the following error when trying to execute 'luarocks make hdf5-0-0.rockspec'. hdf5 was installed with brew here: /usr/local/Cellar/hdf5/1.8.16_1
```
cmake -E make_directory build;
cd build;
cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH="/Users/letterbomb/torch/install/bin/.." -DCMAKE_INSTALL_PREFIX="/Users/letterbomb/torch/install/lib/luarocks/rocks/hdf5/0-0";
make
-- Found Torch7 in /Users/letterbomb/torch/install
-- HDF5: Using hdf5 compiler wrapper to determine C configuration
-- HDF5: Using hdf5 compiler wrapper to determine CXX configuration
CMake Error at /usr/local/Cellar/cmake/3.6.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find HDF5 (missing: HDF5_HL_LIBRARIES) (found suitable version
"1.8.16", minimum required is "1.8")
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.6.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.6.0/share/cmake/Modules/FindHDF5.cmake:707 (find_package_handle_standard_args)
CMakeLists.txt:4 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/Users/letterbomb/torch/torch-hdf5/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found. Stop.
Error: Build error: Failed building.
```
Contributor guide
Research direction
Start by reproducing `luarocks make hdf5-0-0.rockspec` and read `CMakeLists.txt` alongside the logged `FindHDF5.cmake` failure. Confirm why HDF5 1.8.16 is found but `HDF5_HL_LIBRARIES` is not, and consider the issue done when CMake configures and `make` completes with the Homebrew installation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, lua
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100