Gem using memcache with ruby

alanlong · 2015年02月20日 · 最后由 alanlong9278 回复于 2015年03月20日 · 2048 次阅读

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.

我也不会。。。。。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号