Ruby windows8中的Memcached gem安装错误

Ruby windows8中的Memcached gem安装错误,ruby,memcached,Ruby,Memcached,我试图在我的windows 8中安装memcached gem。执行gem install memcached命令时出现以下错误 我已经安装了Devkit并使用ruby1.9.3 如何更正此错误???在Fedora上,我安装了cyrus sasl-devel。Windows上也可能有相同的或类似的东西…试试看 C:\Users\aran>gem install memcached Temporarily enhancing PATH to include DevKit... Buildi

我试图在我的windows 8中安装memcached gem。执行gem install memcached命令时出现以下错误

我已经安装了Devkit并使用ruby1.9.3


如何更正此错误???

在Fedora上,我安装了cyrus sasl-devel。Windows上也可能有相同的或类似的东西…试试看

C:\Users\aran>gem install memcached
Temporarily enhancing PATH to include DevKit...
Building native extensions.  This could take a while.
ERROR:  Error installing memcached:
        ERROR: Failed to build gem native extension.

        C:/ProgramData/RailsInstaller/Ruby1.9.3/bin/ruby.exe extconf.rb
checking for sasl/sasl.h... no
Please install SASL to continue. The package is called libsasl2-dev on Ubuntu an
d 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=C:/ProgramData/RailsInstaller/Ruby1.9.3/bin/ruby   
Gem files will remain installed in C:/ProgramData/RailsInstaller/Ruby1.9.3/lib/r
uby/gems/1.9.1/gems/memcached-1.6.1 for inspection.
Results logged to C:/ProgramData/RailsInstaller/Ruby1.9.3/lib/ruby/gems/1.9.1/ge
ms/memcached-1.6.1/ext/gem_make.out