谷歌周圍。停止安裝libmemcached。有沒有人得到一個在Windows上工作的ruby memcached客戶端?
UPDATE: 這是新的錯誤日誌爲Ruby 1.9.3
checking for pthread-config... no
configure: error: could not find libpthread
*** 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:/Ruby193/bin/ruby
extconf.rb:35:in `run': 'env CFLAGS='-fPIC -O3 -g -Wextra -Wno-unused-parameter -Wno-
from extconf.rb:53:in `block (2 levels) in check_libmemcached'
from extconf.rb:52:in `chdir'
from extconf.rb:52:in `block in check_libmemcached'
from extconf.rb:49:in `chdir'
from extconf.rb:49:in `check_libmemcached'
from extconf.rb:70:in `<main>'
Touching aclocal.m4 in libmemcached.
touch -r libmemcached-0.32/m4/visibility.m4 libmemcached-0.32/configure.ac libmemcache
Configuring libmemcached.
env CFLAGS='-fPIC -O3 -g -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-lon
Gem files will remain installed in C:/Ruby193/lib/ruby/gems/1.9.1/gems/memcached-1.3.5
Results logged to C:/Ruby193/lib/ruby/gems/1.9.1/gems/memcached-1.3.5/ext/gem_make.out
我安裝的Ruby 1.8.7從rubyinstaller.org。 (mingw32版本) 安裝Northscale/membase(membase.org)。安裝好。
然後都嘗試
創業板安裝memcached的-northscale --no裏--no-的RDoc 和 創業板安裝memcached的--no裏--no-的RDoc
他們都想要安裝libmemcached並從源代碼構建...行..
C:/Ruby187/bin/ruby.exe extconf.rb
構建libmemcached。
tar xzf libmemcached-0.32.tar.gz 2> 修補libmemcached源文件。
補丁-p1 -Z < libmemcached.patch
補丁文件libmemcached-0.32/libmemcached/memcached_response.c
斷言失敗:大塊頭,文件../patch-2.5.9-src/patch.c,線354
此URL建議修復.. CR/CRLF的Windows處理。
http://www.mail-archive.com/[email protected]/msg01528.html
但是,儘管改變.patch文件,我仍然得到了失敗:
C:\ Ruby187 \ LIB \紅寶石\寶石\ 1.8 \寶石\ memcached的-northscale-0.19.5.4 \ ext> ruby extconf.rb
構建libmemcached。
tar xzf libmemcached-0.32.tar.gz 2> 修補libmemcached源文件。
patch -p1 -Z < libmemcached.patch
[... snip ...]
使用SASL支持修補libmemcached。
補丁-p1 -Z < sasl.patch
[...剪斷...]
下個補丁將創建文件libmemcached-0.32 /配置/ config.rpath,
已經存在!假設-R? [n]
仍然適用? [n]
跳過補丁。
1出1個大塊忽略的 - 節省拒絕到文件libmemcached-0.32 /配置/ config.rpath.rej
修補文件libmemcached-0.32/config.h.in
修補文件libmemcached-0。32 /配置
補丁:* *在行26625畸形的補丁:'
* extconf.rb失敗*
任何想法?當然有人在那裏使用Windows,Ruby和Memcache?
回答我的問題:我是那種暢通無阻,因爲我能夠安裝memcache-client。但是我想知道是否有其他人能夠安裝Pure C庫客戶端之一。 – 2010-11-29 19:44:43