我正在为torch.I配置软件包,我不能使用luarocks安装这些软件包。
对于matio,我按照github上的说明进行了安装。但我不能要求它。有关hdf5,请参见以下内容。
有人知道问题出在哪里吗?我是新来Lua的。非常感谢!
$luarocks install hdf5
then I got the error information:
CMake Error at /usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
Could NOT find HDF5: Found unsuitable version "", but required is at least
"1.8" (found HDF5_hdf5_LIBRARY-NOTFOUND)
Call Stack (most recent call first):
/usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:386 (_FPHSA_FAILURE_MESSAGE)
/usr/local/Cellar/cmake/3.5.1/share/cmake/Modules/FindHDF5.cmake:398 (find_package_handle_standard_args)
CMakeLists.txt:4 (FIND_PACKAGE)
-- Configuring incomplete, errors occurred!
See also "/tmp/luarocks_hdf5-20-0-5408/torch-hdf5/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found. Stop.
Error: Build error: Failed building.发布于 2016-08-04 22:12:14
我在ubuntu >= 13.04上遇到了同样的问题,这个命令解决了我的问题:
sudo apt-get install libhdf5-serial-dev hdf5-tools然后,您可以使用luarock来安装hdf5
luarocks install hdf5对于其他系统,您可以引用this link作为依赖项。
https://stackoverflow.com/questions/36464163
复制相似问题