Skip to content

Instantly share code, notes, and snippets.

@weemanjz
Created February 19, 2015 11:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weemanjz/716bb24e5dca567925ce to your computer and use it in GitHub Desktop.
Save weemanjz/716bb24e5dca567925ce to your computer and use it in GitHub Desktop.
ERROR: Error installing couchbase:
ERROR: Failed to build gem native extension.
/home/weeman/.rvm/rubies/rbx-2.5.2/bin/rbx -r ./siteconf20150219-10649-1h3u6nz.rb extconf.rb
checking for lcb_iops_wire_bsd_impl2(NULL, 0) in -lcouchbase... yes
checking for mach/mach_time.h... no
checking for stdint.h... yes
checking for sys/time.h... yes
checking for fcntl.h... yes
checking for sys/socket.h... yes
checking for errno.h... yes
checking for st_index_t... no
checking for clock_gettime()... yes
checking for gettimeofday()... yes
checking for QueryPerformanceCounter()... no
checking for gethrtime()... no
checking for rb_hash_lookup2()... no
checking for rb_thread_fd_select()... no
checking for rb_thread_blocking_region()... no
checking for rb_thread_call_without_gvl()... no
checking for poll() in poll.h... yes
checking for ppoll() in poll.h... yes
checking for rb_fiber_yield()... no
creating couchbase_config.h
creating Makefile
make "DESTDIR=" clean
make "DESTDIR="
compiling context.c
In file included from context.c:18:
In file included from ./couchbase_ext.h:22:
/home/weeman/.rvm/rubies/rbx-2.5.2/vm/include/capi/ruby/backward/st.h:1:2: warning: #warning use "ruby/st.h" instead of bare "st.h" [-W#warnings]
#warning use "ruby/st.h" instead of bare "st.h"
^
In file included from context.c:18:
./couchbase_ext.h:78:19: error: redefinition of typedef 'st_index_t' is invalid in C [-Wtypedef-redefinition]
typedef st_data_t st_index_t;
^
/home/weeman/.rvm/rubies/rbx-2.5.2/vm/include/capi/ruby/st.h:40:19: note: previous definition is here
typedef st_data_t st_index_t;
^
1 warning and 1 error generated.
make: *** [context.o] Błąd 1
make failed, exit code 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment