Skip to content
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

Unable to install memcached gem on ree-1.8.7-2011.03 on OS X 10.7 #157

Closed
eric opened this issue Dec 6, 2011 · 6 comments
Closed

Unable to install memcached gem on ree-1.8.7-2011.03 on OS X 10.7 #157

eric opened this issue Dec 6, 2011 · 6 comments

Comments

@eric
Copy link
Contributor

eric commented Dec 6, 2011

I've been unable to compile the "memcached" gem with REE built with ruby-build.

@evan suggested I submit an issue about it here.

Here is the log of the compile:

https://gist.github.com/4ddb0712bf09f80858a4

I initially submitted it as ruby-build issue 99 but @jeremy pointed out the issue is either with rbenv or the memcached gem.

From @jeremy:

Looks like this may be because the memcached gem is reinvoking ruby to build libmemcached: https://github.com/evan/memcached/blob/master/ext/extconf.rb#L58

Does anyone have any suggestions for the best way to fix this?

@jeremy
Copy link
Member

jeremy commented Dec 6, 2011

Did RBENV_VERSION=ree-1.8.7-2011.03 gem install memcached work?

@eric
Copy link
Contributor Author

eric commented Dec 6, 2011

It did not. It has the same issue.

@jeremy
Copy link
Member

jeremy commented Dec 6, 2011

To troubleshoot, I'd git clone the memcached repos, build the gem, and install it. If it failed, I'd go into its ext dir and ruby extconf.rb and make directly. Then work through why.

I did both and they work for me on a variety of Ruby versions, with and without rbenv.

From those logs, it looks like a linking issue in memcached, which could imply that there's another older libmemcached lib confusing things (missing symbols, struct members missing, .. ?)

(What led to suspecting this is a rbenv or ruby-build issue?)

@eric
Copy link
Contributor Author

eric commented Dec 6, 2011

@evan suggested filing a ticket with you guys because it works fine on both the standard OS X ruby and on other REE installs, which made it seem likely it was something specific about the way ruby was compiled or some other environmental thing.

@jeremy
Copy link
Member

jeremy commented Dec 6, 2011

OK -- good luck troubleshooting! Please update with your progress :)

@mislav
Copy link
Member

mislav commented Dec 13, 2012

Is this still a problem? This is related to #121

However I can compile memcached gem just fine. So closing

@mislav mislav closed this as completed Dec 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants