Verified on official ubuntu/trusty64 clean virtualbox image, everything works correctly with ruby 2.2.0 from rvm
Could you post /home/alnite/.rvm/gems/ruby-2.2.0/extensions/x86_64-linux/2.2.0/couchbase-1.3.13/mkmf.log and also output of dpkg -L libcouchbase-dev On Sun, Jun 14, 2015 at 7:57 AM, Dump Hole <[email protected]> wrote: > And I am pretty sure Ubuntu in general is affected too. > > Installed the latest libcouchbase > > shell> wget http://packages.couchbase.com/clients/c/couchbase-csdk-setup > shell> sudo perl couchbase-csdk-setup > > Install gem > > shell> gem install couchbase -v 1.3.13 > Fetching: couchbase-1.3.13.gem (100%) > Building native extensions. This could take a while... > ERROR: Error installing couchbase: > ERROR: Failed to build gem native extension. > > /home/alnite/.rvm/rubies/ruby-2.2.0/bin/ruby -r > ./siteconf20150613-30796-1rgcuo2.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... yes > checking for clock_gettime()... yes > checking for gettimeofday()... yes > checking for QueryPerformanceCounter()... no > checking for gethrtime()... no > checking for rb_hash_lookup2()... yes > checking for rb_thread_fd_select()... yes > checking for rb_thread_blocking_region()... no > checking for rb_thread_call_without_gvl()... yes > checking for poll() in poll.h... yes > checking for ppoll() in poll.h... yes > checking for rb_fiber_yield()... yes > creating couchbase_config.h > creating Makefile > > make "DESTDIR=" clean > > make "DESTDIR=" > compiling version.c > In file included from couchbase_ext.h:56:0, > from version.c:18: > /usr/include/libcouchbase/n1ql.h:203:1: error: unknown type name > ‘lcb_SYNCTOKEN’ > lcb_n1p_synctoken(lcb_N1QLPARAMS *params, const lcb_SYNCTOKEN *st); > ^ > make: *** [version.o] Error 1 > > make failed, exit code 2 > > Gem files will remain installed in > /home/alnite/.rvm/gems/ruby-2.2.0/gems/couchbase-1.3.13 for inspection. > Results logged to > /home/alnite/.rvm/gems/ruby-2.2.0/extensions/x86_64-linux/2.2.0/couchbase-1.3.13/gem_make.out > > > > > shell> dpkg -l '*couchbase*' > Desired=Unknown/Install/Remove/Purge/Hold > | > Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend > |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) > ||/ Name Version Architecture > Description > +++-===============================-====================-====================-==================================================================== > ii couchbase-server 3.0.1 amd64 > Couchbase Server > ii libcouchbase-dbg:amd64 2.5.0-1 amd64 > library for the Couchbase protocol, debug symbols > ii libcouchbase-dev:amd64 2.5.0-1 amd64 > library for the Couchbase protocol, development files > un libcouchbase1-bin <none> <none> > (no description available) > un libcouchbase2 <none> <none> > (no description available) > ii libcouchbase2-bin 2.5.0-1 amd64 > library for the Couchbase protocol > ii libcouchbase2-core:amd64 2.5.0-1 amd64 > library for the Couchbase protocol, core files > ii libcouchbase2-libev:amd64 2.5.0-1 amd64 > library for the Couchbase protocol (libev backend) > ii libcouchbase2-libevent:amd64 2.5.0-1 amd64 > library for the Couchbase protocol (libevent backend) > > -- > You received this message because you are subscribed to the Google Groups > "Couchbase" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "Couchbase" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
