Closed mcollina closed 13 years ago
Darn, I'm having the same issue on Cent OS 5 as well.
Ah, I guess i didn't have libsasl-dev installed like the instructions state. On CentOS it's oddly named. You can install it with:
yum install cyrus-sasl-devel
Now the gem installed without a hitch.
To fix this on Ubuntu, remove the broken/partial gem install: rm -rf $GEM_PATH/gems/memcached-1.2.5
then install the required SASL2 development package: sudo apt-get install libsasl2-dev
and reinstall the gem gem install memcached
This gem doesn't install on ubuntu 11.04.
I think the relavant part of the error is: extconf.rb:56:in
check_libmemcached': 'patch -p1 -Z < sasl.patch' failed (RuntimeError) from extconf.rb:34:in
chdir' from extconf.rb:34:in `check_libmemcached' from extconf.rb:101Tell me if you need more details.