vert icon indicating copy to clipboard operation
vert copied to clipboard

error building lua on macosx

Open saschathiergart opened this issue 9 years ago • 1 comments

Hi. I am trying to initialize an vert on macosx.

$ vert init --platform macosx .

I get

EXECUTING:	make linux
cd src && /Applications/Xcode.app/Contents/Developer/usr/bin/make linux
/Applications/Xcode.app/Contents/Developer/usr/bin/make all MYCFLAGS=-DLUA_USE_LINUX MYLIBS="-Wl,-E -ldl -lreadline -lhistory -lncurses"
gcc -o lua  lua.o liblua.a -lm -Wl,-E -ldl -lreadline -lhistory -lncurses
ld: unknown option: -E
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lua] Error 1
make[1]: *** [linux] Error 2
make: *** [linux] Error 2
make lua failed

Any idea?

saschathiergart avatar Feb 20 '17 23:02 saschathiergart

This is because the latest changes in https://github.com/aconbere/vert/commit/5c37a57de5d1a76b1099a5277a3aa9dec821eed2#diff-a8f66b3ca40a2ae8758db1e44048c6b9 are not published to luarocks. I manually edited the call to init to pass PLATFORM instead of 'linux' and it worked. Not ideal :/

Fizzadar avatar Nov 18 '17 07:11 Fizzadar