We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fails for Lua 5.2, 5.1 and LuaJIT 2.1 Ran the dependency install beforehand, which succeeded just fine.
$ ./install.sh Prefix set to /Users/Alex/torch/install Installing Lua version: LUAJIT21 CMake Warning (dev): Policy CMP0042 is not set: MACOSX_RPATH is enabled by default. Run "cmake --help-policy CMP0042" for policy details. Use the cmake_policy command to set the policy and suppress this warning. MACOSX_RPATH is not specified for the following targets: liblua This warning is for project developers. Use -Wno-dev to suppress it. error: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool: can't open file: /Users/Alex/torch/install/lib/libluajit.dylib (No such file or directory) Installing common Lua packages In file included from src/lfs.c:63: /Users/Alex/torch/install/include/lua.h:110:9: error: unknown type name 'LUA_UNSIGNED' typedef LUA_UNSIGNED lua_Unsigned; ^ In file included from src/lfs.c:65: /Users/Alex/torch/install/include/lualib.h:15:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_base) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:15:12: error: expected identifier or '(' LUAMOD_API int (luaopen_base) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:18:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_coroutine) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:18:12: error: expected identifier or '(' LUAMOD_API int (luaopen_coroutine) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:21:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_table) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:21:12: error: expected identifier or '(' LUAMOD_API int (luaopen_table) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:24:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_io) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:24:12: error: expected identifier or '(' LUAMOD_API int (luaopen_io) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:27:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_os) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:27:12: error: expected identifier or '(' LUAMOD_API int (luaopen_os) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:30:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_string) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:30:12: error: expected identifier or '(' LUAMOD_API int (luaopen_string) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:33:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_bit32) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:33:12: error: expected identifier or '(' LUAMOD_API int (luaopen_bit32) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:36:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_math) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:36:12: error: expected identifier or '(' LUAMOD_API int (luaopen_math) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:39:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_debug) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:39:12: error: expected identifier or '(' LUAMOD_API int (luaopen_debug) (lua_State *L); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. Error: Build error: Failed compiling object src/lfs.o Missing dependencies for penlight: luafilesystem In file included from src/lfs.c:63: /Users/Alex/torch/install/include/lua.h:110:9: error: unknown type name 'LUA_UNSIGNED' typedef LUA_UNSIGNED lua_Unsigned; ^ In file included from src/lfs.c:65: /Users/Alex/torch/install/include/lualib.h:15:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_base) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:15:12: error: expected identifier or '(' LUAMOD_API int (luaopen_base) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:18:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_coroutine) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:18:12: error: expected identifier or '(' LUAMOD_API int (luaopen_coroutine) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:21:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_table) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:21:12: error: expected identifier or '(' LUAMOD_API int (luaopen_table) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:24:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_io) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:24:12: error: expected identifier or '(' LUAMOD_API int (luaopen_io) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:27:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_os) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:27:12: error: expected identifier or '(' LUAMOD_API int (luaopen_os) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:30:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_string) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:30:12: error: expected identifier or '(' LUAMOD_API int (luaopen_string) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:33:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_bit32) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:33:12: error: expected identifier or '(' LUAMOD_API int (luaopen_bit32) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:36:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_math) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:36:12: error: expected identifier or '(' LUAMOD_API int (luaopen_math) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:39:1: error: unknown type name 'LUAMOD_API' LUAMOD_API int (luaopen_debug) (lua_State *L); ^ /Users/Alex/torch/install/include/lualib.h:39:12: error: expected identifier or '(' LUAMOD_API int (luaopen_debug) (lua_State *L); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. Error: Failed installing dependency: https://raw.githubusercontent.com/rocks-moonscript-org/moonrocks-mirror/master/luafilesystem-1.6.3-1.src.rock - Build error: Failed compiling object src/lfs.o In file included from lua_cjson.c:43: /Users/Alex/torch/install/include/lua.h:110:9: error: unknown type name 'LUA_UNSIGNED' typedef LUA_UNSIGNED lua_Unsigned; ^ lua_cjson.c:196:29: error: use of undeclared identifier 'LUAI_FIRSTPSEUDOIDX' cfg = lua_touserdata(l, lua_upvalueindex(1)); ^ /Users/Alex/torch/install/include/lua.h:41:30: note: expanded from macro 'lua_upvalueindex' #define lua_upvalueindex(i) (LUA_REGISTRYINDEX - (i)) ^ /Users/Alex/torch/install/include/lua.h:40:27: note: expanded from macro 'LUA_REGISTRYINDEX' #define LUA_REGISTRYINDEX LUAI_FIRSTPSEUDOIDX ^ lua_cjson.c:1324:22: error: use of undeclared identifier 'LUAI_FIRSTPSEUDOIDX' lua_pushvalue(l, lua_upvalueindex(1)); ^ /Users/Alex/torch/install/include/lua.h:41:30: note: expanded from macro 'lua_upvalueindex' #define lua_upvalueindex(i) (LUA_REGISTRYINDEX - (i)) ^ /Users/Alex/torch/install/include/lua.h:40:27: note: expanded from macro 'LUA_REGISTRYINDEX' #define LUA_REGISTRYINDEX LUAI_FIRSTPSEUDOIDX ^ 3 errors generated. Error: Build error: Failed compiling object lua_cjson.o Installing core Torch packages export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -O2 -fPIC -I/Users/Alex/torch/install/include -c src/autolink.c -o src/autolink.o -Isrc/ -Ihtml/ export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -O2 -fPIC -I/Users/Alex/torch/install/include -c src/buffer.c -o src/buffer.o -Isrc/ -Ihtml/ export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -O2 -fPIC -I/Users/Alex/torch/install/include -c src/markdown.c -o src/markdown.o -Isrc/ -Ihtml/ export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -O2 -fPIC -I/Users/Alex/torch/install/include -c src/stack.c -o src/stack.o -Isrc/ -Ihtml/ export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -O2 -fPIC -I/Users/Alex/torch/install/include -c html/houdini_href_e.c -o html/houdini_href_e.o -Isrc/ -Ihtml/ export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -O2 -fPIC -I/Users/Alex/torch/install/include -c html/houdini_html_e.c -o html/houdini_html_e.o -Isrc/ -Ihtml/ export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -O2 -fPIC -I/Users/Alex/torch/install/include -c html/html.c -o html/html.o -Isrc/ -Ihtml/ export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -O2 -fPIC -I/Users/Alex/torch/install/include -c html/html_smartypants.c -o html/html_smartypants.o -Isrc/ -Ihtml/ export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -bundle -undefined dynamic_lookup -all_load -o libsundown.so -L/Users/Alex/torch/install/lib src/autolink.o src/buffer.o src/markdown.o src/stack.o html/houdini_href_e.o html/houdini_html_e.o html/html.o html/html_smartypants.o ld: library not found for -lgcc_s.10.5 clang: error: linker command failed with exit code 1 (use -v to see invocation) Error: Build error: Failed compiling module libsundown.so
The text was updated successfully, but these errors were encountered:
it really points to old artifacts. Do you have other global lua installs or old global torch installs?
can you run https://github.com/torch/ezinstall/raw/master/clean-old.sh before trying again?
Sorry, something went wrong.
No branches or pull requests
Fails for Lua 5.2, 5.1 and LuaJIT 2.1
Ran the dependency install beforehand, which succeeded just fine.
The text was updated successfully, but these errors were encountered: