torch / distro

Torch installation in a self-contained folder
BSD 3-Clause "New" or "Revised" License
556 stars 484 forks source link

Paths issue on MacOS 10.12, ./install.sh #205

Open gsautr opened 7 years ago

gsautr commented 7 years ago

Hello, I'm struggling to complete the basic installation process on OS10.12;

$ git clone https://github.com/torch/distro.git ~/torch --recursive
$ cd torch
$ ./clean.sh && bash install-deps && ./install.sh

Prefix set to /Volumes/HD/Users/myusername/torch/install
Installing Lua version: LUA52
CMake Error at CMakeLists.txt:2 (ADD_SUBDIRECTORY):
  add_subdirectory not given a binary directory but the given source
  directory
  "/Volumes/HD/Volumes/HD/Volumes/HD/Users/myusername/torch/exe" is not a
  subdirectory of "/Volumes/HD/Volumes/HD/Users/myusername/torch".  When
  specifying an out-of-tree source a binary directory must be explicitly
  specified.

Issue looks like some kind of duplicate root ENV variable? I've checked ~/.profile , ~/.bashrc, ~/.zshrc etc and all seems in order...