Gem using memcache with ruby

alanlong · February 20, 2015 · Last by alanlong9278 replied at March 20, 2015 · 2039 hits

install memcache 时发生错误,错误信息如下

/home/alan/.rvm/rubies/ruby-2.0.0-p481/bin/ruby extconf.rb checking for sasl/sasl.h... no Please install SASL to continue. The package is called libsasl2-dev on Ubuntu and cyrus-sasl on Gentoo. *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.

Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/home/alan/.rvm/rubies/ruby-2.0.0-p481/bin/ruby

extconf failed, exit code

哪位大神帮忙解决下,非常感谢。祝大家新年快乐。

提示信息里面有 Please install SASL to continue. The package is called libsasl2-dev on Ubuntu and cyrus-sasl on Gentoo.

我也不会。。。。。

You need to Sign in before reply, if you don't have an account, please Sign up first.