Skip to content

Does not install on Ubuntu 15.04 #47

@rspeer

Description

@rspeer

I followed the directions at http://torch.ch/docs/getting-started.html. They claim to work on "Ubuntu 12+" but they seem to be quite out of date and not work on 15.04.

Here's what I get on standard error when I try to run Torch's install.sh at the end:

Warning: unmatched variable LUALIB
Warning: unmatched variable LUALIB
Warning: unmatched variable LUALIB
CMake Error at /usr/share/cmake-3.0/Modules/FindCUDA.cmake:568 (message):
  Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
  CMakeLists.txt:7 (FIND_PACKAGE)



Error: Build error: Failed building.

Missing dependencies for cunn:
cutorch >= 1.0

Cloning into 'cutorch'...
CMake Error at /usr/share/cmake-3.0/Modules/FindCUDA.cmake:568 (message):
  Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
  CMakeLists.txt:7 (FIND_PACKAGE)



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

Missing dependencies for cunnx:
cunn >= 1.0
cutorch >= 1.0


Missing dependencies for cunn:
cutorch >= 1.0

Cloning into 'cutorch'...
CMake Error at /usr/share/cmake-3.0/Modules/FindCUDA.cmake:568 (message):
  Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
  CMakeLists.txt:7 (FIND_PACKAGE)



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

Missing dependencies for cudnn:
cutorch 

Cloning into 'cutorch'...
CMake Error at /usr/share/cmake-3.0/Modules/FindCUDA.cmake:568 (message):
  Specify CUDA_TOOLKIT_ROOT_DIR
Call Stack (most recent call first):
  CMakeLists.txt:7 (FIND_PACKAGE)



Error: Failed installing dependency: https://raw.githubusercontent.com/torch/rocks/master/cutorch-scm-1.rockspec - Build error: Failed building.
SOX_INCLUDE_DIR: SOX_INCLUDE_DIR-NOTFOUND
SOX_LIBRARIES: SOX_LIBRARIES-NOTFOUND
FFTW_INCLUDE_DIR: FFTW_INCLUDE_DIR-NOTFOUND
FFTW_LIBRARIES: FFTW_LIBRARIES-NOTFOUND
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
FFTW_INCLUDE_DIR
   used as include directory in directory /home/rspeer/torch/extra/audio
   used as include directory in directory /home/rspeer/torch/extra/audio
   used as include directory in directory /home/rspeer/torch/extra/audio
   used as include directory in directory /home/rspeer/torch/extra/audio
FFTW_LIBRARIES
    linked by target "audio" in directory /home/rspeer/torch/extra/audio
SOX_INCLUDE_DIR
   used as include directory in directory /home/rspeer/torch/extra/audio
   used as include directory in directory /home/rspeer/torch/extra/audio
   used as include directory in directory /home/rspeer/torch/extra/audio
   used as include directory in directory /home/rspeer/torch/extra/audio
SOX_LIBRARIES
    linked by target "audio" in directory /home/rspeer/torch/extra/audio
    linked by target "sox" in directory /home/rspeer/torch/extra/audio

make: *** No targets specified and no makefile found.  Stop.

Error: Build error: Failed building.

Missing dependencies for itorch:
luacrypto 
uuid 
lzmq >= 0.4.2


Error: Failed installing dependency: https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luacrypto-0.3.2-1.src.rock - Could not find expected file openssl/evp.h, or openssl/evp.h for OPENSSL -- you may have to install OPENSSL in your system and/or pass OPENSSL_DIR or OPENSSL_INCDIR to the luarocks command. Example: luarocks install luacrypto OPENSSL_DIR=/usr/local

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions