Open haf opened 9 years ago
@haf By any chance do you have an existing installation of lua or luajit on your machine? Also, what version of OS X, clang, and heka are you operating on?
Yup:
brew info lua
lua: stable 5.2.3 (bottled)
Powerful, lightweight programming language
http://www.lua.org/
/usr/local/Cellar/lua/5.1.5 (15 files, 276K)
Poured from bottle
/usr/local/Cellar/lua/5.2.3_1 (13 files, 308K)
Poured from bottle
/usr/local/Cellar/lua/5.2.3_2 (77 files, 1.0M) *
Poured from bottle
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/lua.rb
==> Options
--universal
Build a universal binary
--with-completion
Enables advanced readline support
--without-luarocks
Don't build with Luarocks support embedded
--without-sigaction
Revert to ANSI signal instead of improved POSIX sigaction
==> Caveats
Please be aware due to the way Luarocks is designed any binaries installed
via Luarocks-5.2 AND 5.1 will overwrite each other in /usr/local/bin.
This is, for now, unavoidable. If this is troublesome for you, you can build
rocks with the `--tree=` command to a special, non-conflicting location and
then add that to your `$PATH`.
If you have existing Rocks trees in $HOME, you will need to migrate them to the new
location manually. You will only have to do this once.
Latest OS X 10.4.4, clang:
clang --version
Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
Target: x86_64-apple-darwin14.4.0
Thread model: posix
heka: master. Could build a few commits ago.