-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
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
Doesn't play well with homebrew not in /usr/local #27
Comments
there is also |
oh ha! can you patch it with a PR? |
Sure thing, but still having issues locally getting issues at the luajit step:
IF I look into /tmp/luajit-rocks/build at the CMakeCache.txt, I see the following settings: //ASM compiler.
//CXX compiler. |
poof! you likely have two different readline installed and it's hooking up to the wrong one for linking. :-/ |
I haven't fully tested them yet. |
yes please, Happy to give it a shot instead of banging my head with this.. (can't get the tutorials) FYI, i just reinstalled readline with hombrew and I get his formula is keg-only, which means it was not symlinked into /opt/boxen/homebrew. Mac OS X provides similar software, and installing this software in OS X provides the BSD libedit library, which shadows libreadline. Generally there are no consequences of this for you. If you build your
==> Summary |
yes, if you see the install-deps script, we also do: brew link readline |
also, if you want torch in a nice cozy self-contained folder, you can use this : |
here are the OSX binaries. No guarantee at all to work: |
So, It was indeed using the wrong readline. I ended up just symlinking the /opt/boxen/homebrew/lib folder into the vacant default location at /usr/local/lib and all was well. Not sure how to specify this in the script, so I asked at luajit-rocks repo how to do that. torch/luajit-rocks#9 Once we have that, I can update the script and send you a PR |
And to clarify, brew link just seems to create the link in /usr/local/lib (or /opt/boxen/homebrew/lib in my case). I'm not sure how to add additional paths in, but all of my homebrew stuff seems to work fine, just not when I go to use the make scripts. |
Boxen puts homebrew in /opt/boxen/homebrew (don't get me started on why :/ ) but I think you should use the ENV VAR $HOMEBREW_ROOT instead of assuming /usr/local ?
The text was updated successfully, but these errors were encountered: