Hi!

with recent version of Homebrew and formulas I am not able to install lua
C-modules, e.g. luasocket. (Mavericks and Yosemite).

This is, what I am doing.

----------------

$ brew update
$ brew upgrade
$ brew install luarocks
$ brew sh
$ sudo luarocks install luasocket

export MACOSX_DEPLOYMENT_TARGET=10.5; gcc -O2 -fPIC
-I/usr/local/opt/lua/include -c src/buffer.c -o src/buffer.o
-DLUASOCKET_DEBUG -DUNIX_HAS_SUN_LEN
-DLUASOCKET_API=__attribute__((visibility("default")))
-DUNIX_API=__attribute__((visibility("default")))
-DMIME_API=__attribute__((visibility("default")))
The build-tool has reset ENV. --env=std required.

------------------

The error tracks down to Homebrew luarocks formula:
https://github.com/Homebrew/homebrew/blob/master/Library/Formula/luarocks.rb

I opened an issue: https://github.com/Homebrew/homebrew/issues/33939

Has someone else the same problem or knows how to fix it?

Regards,
Gerhard
------------------------------------------------------------------------------
_______________________________________________
Luarocks-developers mailing list
Luarocks-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/luarocks-developers

Reply via email to