-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
brew install ruby fails on readline.c #13046
Comments
I ran into this today too, and I'm pretty sure the issue is that the CFLAGS environment variable is missing |
OK I'm glad to hear I'm not the only one with the problem. You're correct about CFLAGS. I noticed that too and thought it might be the possible problem. However, I'm too new to homebrew to know they proper way to fix it! |
Thinking about it more I'm not sure if CFLAGS should need that, I'll have to do some more experimenting tomorrow. But it's not just you. Also my case is on Snow Leopard, so just about everything in the tool chain is different, but it's complaining about the same thing, so I think it's a configuration problem of some sort. |
I'm running into the same issues as well when trying to install on a new OS X Lion VM. Interestingly, this worked fine on my MacBook Pro which is also running Lion. That was about 2 months ago and it seemed to work without a hitch. Doing it on a clean machine isn't going quite so well. |
@samueljohn @jacknagel This builds okay in my branch that has #13037 pulled into it. |
Please |
I |
I have run |
yes please |
logs: https://gist.github.com/2999835
brew doctor checked out fine.
I can't seem to figure out what might be wrong. I ran
brew install --with-doc ruby
on my other mac just about a week ago and it compiled fine. Now, I can't install ruby using brew. It seems that readline (vs. libedit) is a common problem when installing ruby but I'm too new to homebrew to fix this issue.The text was updated successfully, but these errors were encountered: