Skip to content

Instantly share code, notes, and snippets.

@scalabl3
Created April 15, 2013 17:13
Show Gist options
  • Save scalabl3/5389678 to your computer and use it in GitHub Desktop.
Save scalabl3/5389678 to your computer and use it in GitHub Desktop.
$ brew uninstall libcouchbase && brew install libcouchbase
Uninstalling /usr/local/Cellar/libcouchbase/2.0.3...
==> Downloading http://packages.couchbase.com/clients/c/libcouchbase-2.0.5.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/libcouchbase/2.0.5 --disable-examples --disable-tests --disable-couchbasemock
==> make install
🍺 /usr/local/Cellar/libcouchbase/2.0.5: 105 files, 912K, built in 47 seconds
jasdeep @JumboJet : /Dropbox/AmazonServer/rockstrs_com/vertx-api [master] $ gem install couchbase
Fetching: couchbase-1.2.3.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing couchbase:
ERROR: Failed to build gem native extension.
/Users/jasdeep/rvm/rubies/ruby-1.9.3-p194/bin/ruby extconf.rb
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/jasdeep/rvm/rubies/ruby-1.9.3-p194/bin/ruby
--with-libcouchbase-dir
--without-libcouchbase-dir
--with-libcouchbase-include
--without-libcouchbase-include=${libcouchbase-dir}/include
--with-libcouchbase-lib
--without-libcouchbase-lib=${libcouchbase-dir}/lib
/Users/jasdeep/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:381:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /Users/jasdeep/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:491:in `block in try_compile'
from /Users/jasdeep/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:443:in `with_werror'
from /Users/jasdeep/rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/mkmf.rb:491:in `try_compile'
from extconf.rb:104:in `<main>'
Gem files will remain installed in /Users/jasdeep/rvm/gems/ruby-1.9.3-p194/gems/couchbase-1.2.3 for inspection.
Results logged to /Users/jasdeep/rvm/gems/ruby-1.9.3-p194/gems/couchbase-1.2.3/ext/couchbase_ext/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment