Skip to content

Instantly share code, notes, and snippets.

@BrianTheCoder
Created November 5, 2008 15:40
Show Gist options
  • Select an option

  • Save BrianTheCoder/22355 to your computer and use it in GitHub Desktop.

Select an option

Save BrianTheCoder/22355 to your computer and use it in GitHub Desktop.
ERROR: Error installing memcached:
ERROR: Failed to build gem native extension.
/opt/local/bin/ruby extconf.rb install memcached
checking for memcached_server_add() in -lmemcached... yes
checking for #include <libmemcached/memcached.h>
... yes
checking for #include <libmemcached/memcached_constants.h>
... yes
checking for #include <libmemcached/memcached_storage.h>
... yes
checking for #include <libmemcached/memcached_result.h>
... yes
checking for #include <libmemcached/memcached_server.h>
... yes
creating Makefile
make
/usr/bin/gcc-4.0 -I. -I. -I/opt/local/lib/ruby/1.8/i686-darwin9.3.0 -I. -I/opt/local/include -fno-common -fno-common -pipe -fno-common -O3 -c rlibmemcached_wrap.c
rlibmemcached_wrap.c: In function ‘_wrap_MemcachedSt_wheel_set’:
rlibmemcached_wrap.c:4696: error: ‘struct memcached_st’ has no member named ‘wheel’
rlibmemcached_wrap.c: In function ‘_wrap_MemcachedSt_wheel_get’:
rlibmemcached_wrap.c:4719: error: ‘struct memcached_st’ has no member named ‘wheel’
rlibmemcached_wrap.c: In function ‘_wrap_MemcachedSt_wheel_count_set’:
rlibmemcached_wrap.c:4755: error: ‘struct memcached_st’ has no member named ‘wheel_count’
rlibmemcached_wrap.c: In function ‘_wrap_MemcachedSt_wheel_count_get’:
rlibmemcached_wrap.c:4778: error: ‘struct memcached_st’ has no member named ‘wheel_count’
rlibmemcached_wrap.c: In function ‘Init_rlibmemcached’:
rlibmemcached_wrap.c:10185: error: ‘MEMCACHED_DISTRIBUTION_CONSISTENT_WHEEL’ undeclared (first use in this function)
rlibmemcached_wrap.c:10185: error: (Each undeclared identifier is reported only once
rlibmemcached_wrap.c:10185: error: for each function it appears in.)
make: *** [rlibmemcached_wrap.o] Error 1
Gem files will remain installed in /opt/local/lib/ruby/gems/1.8/gems/memcached-0.11 for inspection.
Results logged to /opt/local/lib/ruby/gems/1.8/gems/memcached-0.11/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment