After upgrading my development box from Ubuntu 15.10 to 16.10 I was unable to 'update.sh' or 'install.sh' my torch installation. Much cleaning, nvidia driver reinstallation, package search and installation, frustration etc. followed. Eventually the consistent issue generated throughout was in building the core Torch package torch, specifically:
[ 57%] Built target TH
[ 60%] Generating random.c
/home/rob/torch/install/bin/luajit: /home/rob/torch/pkg/torch/random.lua:3: module 'torchcwrap' not found:
much googling and flailing about yielded several hits but no satisfaction, until finally I actually looked at the source and worked out that './' was not on the LUA_PATH as exported from my login scripts.
After adding ';./?.lua;' to the LUA_PATH variable, the install.sh script runs to completion.
After upgrading my development box from Ubuntu 15.10 to 16.10 I was unable to 'update.sh' or 'install.sh' my torch installation. Much cleaning, nvidia driver reinstallation, package search and installation, frustration etc. followed. Eventually the consistent issue generated throughout was in building the core Torch package torch, specifically:
much googling and flailing about yielded several hits but no satisfaction, until finally I actually looked at the source and worked out that './' was not on the LUA_PATH as exported from my login scripts.
After adding ';./?.lua;' to the LUA_PATH variable, the install.sh script runs to completion.