-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
Luabind: a library that helps you create bindings between C++ and Lua. #15132
Conversation
hope this can get accepted |
There is an error with the luabind source zip file. The sha should be corrected to the current one : '8b073335a8e6e19acc2bdb7d5b22dc9cc36a3090'. Otherwise successfully installed. |
This doesn't set the |
it's a library without binaries. is the correct behaviour to install to /usr/local? |
i can confirm the sha1 needs to be 8b073335a8e6e19acc2bdb7d5b22dc9cc36a3090, as stated above by limoges. i upgraded all my brews today, but luabind fails to build:
not sure what's causing this? |
@adamv You're right, it's installing right into /usr/local. The formula will need to be altered so that it installs into the correct prefix. |
Closing due to no response from the submitter. At the very least this will need to specify the prefix, instead of hard-coding to /usr/local, so non-/usr/local Homebrew installs work. It may also need to use the previous version of Boost that we package, if this doesn't work against current versions of Boost. It looks like this software hasn't been updated in quite a while, so it may have some compatibility issues. |
you mean setting the bjam istall location from the prefix variable? something along these lines? def install
args = [
"release",
"install"
]
if ENV.compiler == :clang
args << "--toolset=clang"
elsif ENV.compiler == :llvm
args << "--toolset=llvm"
elsif ENV.compiler == :gcc
args << "--toolset=darwin"
end
args << "--prefix=#{prefix}" # set prefix
system "bjam", *args
end |
it builds ok with the latest boost 1.52 (and the two patches included in the PR) |
Updated the formula according to your suggestions. |
How to install luabind on CentOS? |
This pull request adds luabind (LUA->C++ bindings) to OS X. Replaces pull request #14914.