torch / torch7

http://torch.ch
Other
8.98k stars 2.38k forks source link

Luarocks install --local is failing #713

Open shamangary opened 8 years ago

shamangary commented 8 years ago

I am using our school server and I don't have root permission By using the following command I cannot properly install the module (cudnn, cunn, cutorch)

luarocks install --local cudnn

Error Message:

... [100%] Built target torch cd build && make install [ 3%] Built target luaT [ 51%] Built target TH [100%] Built target torch Install the project... -- Install configuration: "Release" -- Installing: /root/torch/install/share/cmake/torch/TorchExports.cmake CMake Error at cmake_install.cmake:48 (file): file INSTALL cannot copy file "/tmp/luarocks_torch-scm-1-5262/torch7/build/CMakeFiles/Export/share/cmake/torch/TorchExports.cmake" to "/root/torch/install/share/cmake/torch/TorchExports.cmake".

Makefile:66: recipe for target 'install' failed make: *\ [install] Error 1

Error: Failed installing dependency: https://raw.githubusercontent.com/torch/rocks/master/nn-scm-1.rockspec - Failed installing dependency: https://raw.githubusercontent.com/torch/rocks/master/torch-scm-1.rockspec - Build error: Failed installing.


Please help me with this. Thank you

Tsun-Yi Yang

ZizhenWang commented 6 years ago

Hi, have you solve this problem? I face the same error