 |
Forums |
Admin Discussion Forums: memcached Start New Thread
By: Joe Foti
RE: Problems installing memcached-0.14 [ reply ] 2009-03-28 17:33
|
Evan, I installed 25.14 and 0.13 respectively and all seemed fine. I ran a simple script/console and everything worked fine. In RAILS, I continually get on startup:
Starting Rails with development environment...
/Users/Joe/.gem/ruby/1.8/gems/activesupport-2.2.2/lib/active_support/dependencies.rb:102:in `const_missing': uninitialized constant Rails::Initializer::Memcached (NameError)
from /Users/Joe/Documents/workspace/ithingy_web_branch/config/environments/development.rb:44:in `load_environment'
Any suggestion as to the disconnect here? The line in question in development.rb is:
CACHE = Memcached.new("localhost:11211")
environment.rb has require 'memcached'.
Thanks
|
By: blink
RE: Problems installing memcached-0.14 [ reply ] 2009-02-19 23:46
|
I'm attempting to evaluate memcached as a replacement for memcache-client in Rack. However, I've been unable to get a single version up and going.
Halp?
http://downloads.tangent.org provides downloads for 0.23, 0.25, and 0.26, and gems provides 0.12 and 0.14 for installation.
The COMPATIBILITY file in the github.org repo lists 0.14 being compatible with 0.25.14 but I cannot locate a place to download 0.25.14. 0.13 is listed as compatible with 0.25, but there's no 0.13 available for install, etc...
Attempting to install 0.11 returns an error of requiring RubyGems == 1.2, but the latest gems version is 1.3.
|
By: Radosław Bułat
RE: Problems installing memcached-0.14 [ reply ] 2009-02-04 09:00
|
I doesn't work for me either from rubygems and github sources. I have installed newest libmemcached from it's source (0.26 version).
checking for memcached_server_add_with_weight() in -lmemcached... yes
checking for libmemcached/memcached.h... yes
checking for libmemcached/memcached_constants.h... yes
checking for libmemcached/memcached_storage.h... yes
checking for libmemcached/memcached_result.h... yes
checking for libmemcached/memcached_server.h... yes
creating Makefile
cc -I. -I. -I/usr/lib/ruby/1.8/x86_64-linux -I. -fPIC -fno-strict-aliasing -g -g -fPIC -O3 -c rlibmemcached_wrap.c
rlibmemcached_wrap.c: In function ‘_wrap_MemcachedSt_next_distribution_rebuild_set’:
rlibmemcached_wrap.c:5835: error: ‘struct memcached_st’ has no member named ‘next_distribution_rebuild’
rlibmemcached_wrap.c: In function ‘_wrap_MemcachedSt_next_distribution_rebuild_get’:
rlibmemcached_wrap.c:5858: error: ‘struct memcached_st’ has no member named ‘next_distribution_rebuild’
rlibmemcached_wrap.c: In function ‘Init_rlibmemcached’:
rlibmemcached_wrap.c:11380: error: ‘MEMCACHED_SERVER_MARKED_DEAD’ undeclared (first use in this function)
rlibmemcached_wrap.c:11380: error: (Each undeclared identifier is reported only once
rlibmemcached_wrap.c:11380: error: for each function it appears in.)
rlibmemcached_wrap.c:11411: error: ‘MEMCACHED_BEHAVIOR_AUTO_EJECT_HOSTS’ undeclared (first use in this function)
|
By: Systems Vlex
Problems installing memcached-0.14 [ reply ] 2009-02-03 04:01
|
Hi!
We are having problems with the memcached-0.14 installation.
The libmemcached version is 0.26, the OS is an openSUSE 11.1, and this is the error output:
gem install memcached --no-rdoc --no-ri
Building native extensions. This could take a while...
ERROR: Error installing memcached:
ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb install memcached --no-rdoc --no-ri
checking for memcached_server_add_with_weight() in -lmemcached... yes
checking for libmemcached/memcached.h... yes
checking for libmemcached/memcached_constants.h... yes
checking for libmemcached/memcached_storage.h... yes
checking for libmemcached/memcached_result.h... yes
checking for libmemcached/memcached_server.h... yes
creating Makefile
make
gcc -I. -I. -I/usr/lib/ruby/1.8/i586-linux -I. -D_FILE_OFFSET_BITS=64 -fPIC -march=i586 -mtune=i686 -fmessage-length=0 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -g -fno-strict-aliasing -fPIC -O3 -c rlibmemcached_wrap.c
rlibmemcached_wrap.c: In function ‘_wrap_MemcachedSt_next_distribution_rebuild_set’:
rlibmemcached_wrap.c:5835: error: ‘struct memcached_st’ has no member named ‘next_distribution_rebuild’
rlibmemcached_wrap.c: In function ‘_wrap_MemcachedSt_next_distribution_rebuild_get’:
rlibmemcached_wrap.c:5858: error: ‘struct memcached_st’ has no member named ‘next_distribution_rebuild’
rlibmemcached_wrap.c: In function ‘Init_rlibmemcached’:
rlibmemcached_wrap.c:11380: error: ‘MEMCACHED_SERVER_MARKED_DEAD’ undeclared (first use in this function)
rlibmemcached_wrap.c:11380: error: (Each undeclared identifier is reported only once
rlibmemcached_wrap.c:11380: error: for each function it appears in.)
rlibmemcached_wrap.c:11411: error: ‘MEMCACHED_BEHAVIOR_AUTO_EJECT_HOSTS’ undeclared (first use in this function)
make: *** [rlibmemcached_wrap.o] Error 1
Gem files will remain installed in /usr/lib/ruby/gems/1.8/gems/memcached-0.14 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/memcached-0.14/ext/gem_make.out
Anybody could help me, please?
Thank you very much.
|
|
 |