Couchbase
  • Why NoSQL?
  • Couchbase Server
  • Download
  • Resources
  • Careers
Home | Forums | SDKs | SDKs

Ruby couchbase-1.2.0.z.beta2 fails to install with libcouchbase-2.0.0beta2

2 replies [Last post]
  • Login or register to post comments
Sat, 10/13/2012 - 09:31
rick_g
Offline
Joined: 10/13/2012
Groups: None

Hi,

I installed the server and the c client (via brew), but the gem won't install. Is there anything I am missing? Thanks!
This is the error I am getting:

gem install couchbase --pre                           
Building native extensions.  
This could take a while...                         
ERROR:  Error installing couchbase:                                             	
ERROR: Failed to build gem native extension.
 
/Users/rg/.rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
checking for lcb_get() in -lcouchbase... yes
checking for mach/mach_time.h... yes
checking for stdint.h... yes
checking for sys/time.h... yes
checking for clock_gettime()... no
checking for gettimeofday()... yes
checking for QueryPerformanceCounter()... no
creating couchbase_config.h
creating Makefile
 
make
compiling arguments.c
compiling arithmetic.c
arithmetic.c: In function ‘cb_bucket_arithmetic’:
arithmetic.c:97: warning: implicit conversion shortens 64-bit value into a 32-bit value
compiling bucket.c
bucket.c: In function ‘error_callback’:
bucket.c:25: error: ‘struct lcb_io_opt_st’ has no member named ‘stop_event_loop’
bucket.c: In function ‘do_connect’:
bucket.c:269: warning: implicit declaration of function ‘lcb_set_view_complete_callback’
bucket.c:270: warning: implicit declaration of function ‘lcb_set_view_data_callback’
bucket.c:271: warning: implicit declaration of function ‘lcb_set_management_complete_callback’
bucket.c:272: warning: implicit declaration of function ‘lcb_set_management_data_callback’
bucket.c: In function ‘cb_bucket_stop’:
bucket.c:1063: error: ‘struct lcb_io_opt_st’ has no member named ‘stop_event_loop’
make: *** [bucket.o] Error 1
<code>

Top
  • Login or register to post comments
Sun, 10/21/2012 - 20:48
avsej
avsej's picture
Offline
Joined: 06/15/2011
Groups: None

I've made new release of ruby Clint, could you check if it fixes your issue?

__________________

Find me on FreeNode IRC in #libcouchbase channel

Top
  • Login or register to post comments
Thu, 10/25/2012 - 12:42
rick_g
Offline
Joined: 10/13/2012
Groups: None

yes it works with the updated gem. thanks!

Top
  • Login or register to post comments
  • Login or register to post comments
  • Login
  • Register

Company

  • About Us
  • Leadership
  • Customers
  • Partners
  • Contact Us

Product

  • Couchbase Server
  • Couchbase SDKs
  • Use Cases
  • Documentation
  • Forums

Open Source

  • Couchbase Project
  • Couchbase vs. CouchDB

Commercial

  • Subscriptions & Support
  • Training & Services

News

  • Blog
  • Newsletter
  • Press Releases
  • Buzz

Follow Us

    
  • Customer Login
  • Terms of Service
  • Privacy Policy
  • Trademark Policy
  • Site Map

© 2013 COUCHBASE All rights reserved.

Sign in to Couchbase Community

close
  • Create new account
  • Request new password
You are logging into the Forums, Wiki and Issue Tracker