I'm trying to install the memcached-northscale gem on Windows. Do I
need the cyrus-sasl2 library?
c:\>gem install memcached-northscale
Building native extensions. This could take a while...
ERROR: Error installing memcached-northscale:
ERROR: Failed to build gem native extension.
C:/Ruby187/bin/ruby.exe extconf.rb
Building libmemcached.
tar xzf libmemcached-0.32.tar.gz 2>&1
Patching libmemcached source.
patch -p1 -Z < libmemcached.patch
patching file `libmemcached-0.32/libmemcached/memcached_response.c'
not setting time of file `libmemcached-0.32/libmemcached/
memcached_response.c' (time mismatch)
patching file `libmemcached-0.32/libmemcached/memcached.c'
not setting time of file `libmemcached-0.32/libmemcached/
memcached.c' (time mismatch)
patching file `libmemcached-0.32/libmemcached/memcached.h'
not setting time of file `libmemcached-0.32/libmemcached/
memcached.h' (time mismatch)
patching file `libmemcached-0.32/libmemcached/memcached_connect.c'
not setting time of file `libmemcached-0.32/libmemcached/
memcached_connect.c' (time mismatch)
patching file `libmemcached-0.32/libmemcached/memcached_hash.c'
not setting time of file `libmemcached-0.32/libmemcached/
memcached_hash.c' (time mismatch)
patching file `libmemcached-0.32/libmemcached/memcached_hosts.c'
not setting time of file `libmemcached-0.32/libmemcached/
memcached_hosts.c' (time mismatch)
patching file `libmemcached-0.32/libmemcached/memcached_storage.c'
not setting time of file `libmemcached-0.32/libmemcached/
memcached_storage.c' (time mismatch)
Patching libmemcached with SASL support.
patch -p1 -Z < sasl.patch
patching file `libmemcached-0.32/aclocal.m4'
patching file `libmemcached-0.32/clients/client_options.h'
patching file `libmemcached-0.32/clients/Makefile.am'
patching file `libmemcached-0.32/clients/Makefile.in'
patching file `libmemcached-0.32/clients/memcat.c'
patching file `libmemcached-0.32/clients/memcp.c'
patching file `libmemcached-0.32/clients/memdump.c'
patching file `libmemcached-0.32/clients/memflush.c'
patching file `libmemcached-0.32/clients/memrm.c'
patching file `libmemcached-0.32/clients/memslap.c'
patching file `libmemcached-0.32/clients/utilities.c'
patching file `libmemcached-0.32/clients/utilities.h'
The next patch would create the file `libmemcached-0.32/config/
config.rpath',
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to libmemcached-0.32/config/
config.rpath.rej
patching file `libmemcached-0.32/config.h.in'
patching file `libmemcached-0.32/configure'
patching file `libmemcached-0.32/configure.ac'
patching file `libmemcached-0.32/docs/Makefile.am'
patching file `libmemcached-0.32/docs/Makefile.in'
The next patch would create the file `libmemcached-0.32/docs/
memcached_sasl.pod',
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to libmemcached-0.32/docs/
memcached_sasl.pod.rej
patching file `libmemcached-0.32/libmemcached/Makefile.am'
patching file `libmemcached-0.32/libmemcached/Makefile.in'
patching file `libmemcached-0.32/libmemcached/memcached/
protocol_binary.h'
patching file `libmemcached-0.32/libmemcached/memcached_configure.h'
patching file `libmemcached-0.32/libmemcached/
memcached_configure.h.in'
patching file `libmemcached-0.32/libmemcached/memcached_connect.c'
not setting time of file `libmemcached-0.32/libmemcached/
memcached_connect.c' (time mismatch)
patching file `libmemcached-0.32/libmemcached/memcached_constants.h'
patching file `libmemcached-0.32/libmemcached/memcached.h'
not setting time of file `libmemcached-0.32/libmemcached/
memcached.h' (time mismatch)
patching file `libmemcached-0.32/libmemcached/memcached_response.c'
not setting time of file `libmemcached-0.32/libmemcached/
memcached_response.c' (time mismatch)
The next patch would create the file `libmemcached-0.32/libmemcached/
memcached_sasl.c',
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to libmemcached-0.32/
libmemcached/memcached_sasl.c.rej
The next patch would create the file `libmemcached-0.32/libmemcached/
memcached_sasl.h',
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to libmemcached-0.32/
libmemcached/memcached_sasl.h.rej
patching file `libmemcached-0.32/libmemcached/memcached_strerror.c'
patching file `libmemcached-0.32/libmemcachedutil/Makefile.in'
The next patch would create the file `libmemcached-0.32/m4/
pandora_have_sasl.m4',
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to libmemcached-0.32/m4/
pandora_have_sasl.m4.rej
patching file `libmemcached-0.32/Makefile.in'
patching file `libmemcached-0.32/support/Makefile.in'
patching file `libmemcached-0.32/tests/function.c'
patching file `libmemcached-0.32/tests/Makefile.in'
The next patch would create the file `libmemcached-0.32/tests/
output.cmp',
which already exists! Assume -R? [n]
Apply anyway? [n]
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to libmemcached-0.32/tests/
output.cmp.rej
*** 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:/Ruby187/bin/ruby
extconf.rb:56:in `check_libmemcached': 'patch -p1 -Z < sasl.patch'
failed (RuntimeError)
from extconf.rb:34:in `chdir'
from extconf.rb:34:in `check_libmemcached'
from extconf.rb:93
Gem files will remain installed in C:/Ruby187/lib/ruby/gems/1.8/gems/
memcached-northscale-0.19.5.3 for inspection.
Results logged to C:/Ruby187/lib/ruby/gems/1.8/gems/memcached-
northscale-0.19.5.3/ext/gem_make.out
c:\>
--
You received this message because you are subscribed to the Google Groups
"Heroku" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/heroku?hl=en.