Skip to content

Instantly share code, notes, and snippets.

@monde
Created April 25, 2009 00:25
Show Gist options
  • Save monde/101422 to your computer and use it in GitHub Desktop.
Save monde/101422 to your computer and use it in GitHub Desktop.
mike@daisy 10041 ~/builds/memcached-1.2.8$ sudo gem install peep -- --with-memcached-include=/usr/local/include/libmemcached/
Building native extensions. This could take a while...
ERROR: Error installing peep:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb --with-memcached-include=/usr/local/include/libmemcached/
checking for #include <memcached.h>
... yes
checking for sys/ptrace.h... yes
checking for sys/ptrace.h... yes
checking for sys/user.h... yes
creating Makefile
make
gcc -I. -I/usr/local/lib/ruby/1.8/x86_64-linux -I/usr/local/lib/ruby/1.8/x86_64-linux -I. -DHAVE_SYS_PTRACE_H -DHAVE_SYS_PTRACE_H -DHAVE_SYS_USER_H -I/usr/local/include/libmemcached/ -fPIC -g -O2 -c ptrace.c
ptrace.c: In function ‘item_offsets’:
ptrace.c:33: error: invalid use of undefined type ‘struct _stritem’
ptrace.c:34: error: invalid use of undefined type ‘struct _stritem’
ptrace.c:35: error: invalid use of undefined type ‘struct _stritem’
ptrace.c:36: error: invalid use of undefined type ‘struct _stritem’
ptrace.c:37: error: invalid use of undefined type ‘struct _stritem’
ptrace.c:38: error: invalid use of undefined type ‘struct _stritem’
ptrace.c:39: error: invalid use of undefined type ‘struct _stritem’
ptrace.c:40: error: invalid use of undefined type ‘struct _stritem’
ptrace.c:41: error: invalid use of undefined type ‘struct _stritem’
ptrace.c:42: error: invalid use of undefined type ‘struct _stritem’
ptrace.c: In function ‘stats_offsets’:
ptrace.c:52: error: invalid use of undefined type ‘struct stats’
ptrace.c:53: error: invalid use of undefined type ‘struct stats’
ptrace.c:54: error: invalid use of undefined type ‘struct stats’
ptrace.c:55: error: invalid use of undefined type ‘struct stats’
ptrace.c:56: error: invalid use of undefined type ‘struct stats’
ptrace.c:57: error: invalid use of undefined type ‘struct stats’
ptrace.c:58: error: invalid use of undefined type ‘struct stats’
ptrace.c:59: error: invalid use of undefined type ‘struct stats’
ptrace.c:60: error: invalid use of undefined type ‘struct stats’
ptrace.c:61: error: invalid use of undefined type ‘struct stats’
ptrace.c:62: error: invalid use of undefined type ‘struct stats’
ptrace.c:63: error: invalid use of undefined type ‘struct stats’
ptrace.c:64: error: invalid use of undefined type ‘struct stats’
ptrace.c: In function ‘settings_offsets’:
ptrace.c:74: error: invalid use of undefined type ‘struct settings’
ptrace.c:75: error: invalid use of undefined type ‘struct settings’
ptrace.c:76: error: invalid use of undefined type ‘struct settings’
ptrace.c:77: error: invalid use of undefined type ‘struct settings’
ptrace.c:79: error: invalid use of undefined type ‘struct settings’
ptrace.c:80: error: invalid use of undefined type ‘struct settings’
ptrace.c:82: error: invalid use of undefined type ‘struct settings’
ptrace.c:84: error: invalid use of undefined type ‘struct settings’
ptrace.c:85: error: invalid use of undefined type ‘struct settings’
ptrace.c:86: error: invalid use of undefined type ‘struct settings’
ptrace.c:87: error: invalid use of undefined type ‘struct settings’
ptrace.c:88: error: invalid use of undefined type ‘struct settings’
ptrace.c:89: error: invalid use of undefined type ‘struct settings’
make: *** [ptrace.o] Error 1
Gem files will remain installed in /usr/local/lib/ruby/gems/1.8/gems/peep-0.6 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.8/gems/peep-0.6/ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment