I'm been trying to install this for a couple days now and can't seem to figure out what the problem is. I thought at first my xcode might have been outdated so I updated everything to the latest version of OS X and Xcode.
Prefix set to /Users/bryanc/torch/install
Installing Lua version: LUAJIT21
ld: warning: ignoring file /opt/local/lib/libreadline.dylib, missing required architecture x86_64 in file /opt/local/lib/libreadline.dylib (2 slices)
Undefined symbols for architecture x86_64:
"_add_history", referenced from:
"_read_history", referenced from:
"_readline", referenced from:
"_rl_attempted_completion_function", referenced from:
"_rl_completer_quote_characters", referenced from:
"_rl_completer_word_break_characters", referenced from:
"_rl_completion_suppress_append", referenced from:
_lua_rl_complete in luajit.c.o
"_rl_initialize", referenced from:
"_rl_readline_name", referenced from:
"_stifle_history", referenced from:
"_using_history", referenced from:
"_write_history", referenced from:
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [exe/luajit-rocks/luajit-2.1/luajit] Error 1
make[1]: *** [exe/luajit-rocks/luajit-2.1/CMakeFiles/luajit.dir/all] Error 2
error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file: /Users/bryanc/torch/install/lib/libluajit.dylib (No such file or directory)
./install.sh: line 107: /Users/bryanc/torch/install/bin/luarocks: No such file or directory
Installing common Lua packages
./install.sh: line 111: /Users/bryanc/torch/install/bin/luarocks: No such file or directory
Any help would love wonderful. Thanks!