Note that there are some explanatory texts on larger screens.

plurals
  1. POHas anyone gotten a ruby memcached client working on Windows?
    primarykey
    data
    text
    <p>Google'd around. Getting stuck on installing libmemcached.</p> <p><strong>UPDATE:</strong> <em><strong>This is the new error log for Ruby 1.9.3</em></strong></p> <pre><code>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 `&lt;main&gt;' 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 </code></pre> <p>My installation is Ruby 1.8.7 from rubyinstaller.org. (mingw32 version) Installed Northscale/membase (membase.org). Installed fine.</p> <p>Then tried both</p> <p>gem install memcached-northscale --no-ri --no-rdoc and gem install memcached --no-ri --no-rdoc</p> <p>Both of them want to install libmemcached and build from source... OK..</p> <p>C:/Ruby187/bin/ruby.exe extconf.rb<BR> Building libmemcached.<BR> tar xzf libmemcached-0.32.tar.gz 2>&amp;1<BR> Patching libmemcached source.<BR> patch -p1 -Z &lt; libmemcached.patch<BR> patching file libmemcached-0.32/libmemcached/memcached_response.c<BR> Assertion failed: hunk, file ../patch-2.5.9-src/patch.c, line 354<BR></p> <p>This URL suggested a fix .. Windows handling of CR/CRLF.</p> <p><a href="http://www.mail-archive.com/gnuwin32-users@lists.sourceforge.net/msg01528.html" rel="nofollow">http://www.mail-archive.com/gnuwin32-users@lists.sourceforge.net/msg01528.html</a></p> <p>But despite altering the .patch files, I still get a failure:</p> <p>C:\Ruby187\lib\ruby\gems\1.8\gems\memcached-northscale-0.19.5.4\ext>ruby extconf.rb<BR> Building libmemcached.<BR> tar xzf libmemcached-0.32.tar.gz 2>&amp;1<BR> Patching libmemcached source.<BR> patch -p1 -Z &lt; libmemcached.patch<BR> [... snip ...]<BR> Patching libmemcached with SASL support.<BR> patch -p1 -Z &lt; sasl.patch<BR> [... snip ...]<BR> The next patch would create the file libmemcached-0.32/config/config.rpath,<BR> which already exists! Assume -R? [n]<BR> Apply anyway? [n]<BR> Skipping patch.<BR> 1 out of 1 hunk ignored -- saving rejects to file libmemcached-0.32/config/config.rpath.rej<BR> patching file libmemcached-0.32/config.h.in<BR> patching file libmemcached-0.32/configure<BR> patch: <em>*</em>* malformed patch at line 26625: '<BR></p> <p><strong>* extconf.rb failed *</strong></p> <p>Any ideas? Surely someone out there uses Windows, Ruby, and Memcache???</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload