Running Centos 6
Have Dependencies installed:
Package libcouchbase2-libevent-2.1.3-1.x86_64 already installed and latest version
Package libcouchbase-devel-2.1.3-1.x86_64 already installed and latest version
Output from Gem install:
[root@lb-dev /]# gem install couchbase
Building native extensions. This could take a while…
ERROR: Error installing couchbase:
ERROR: Failed to build gem native extension.
*** 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.
Gem files will remain installed in /usr/local/rvm/gems/ruby-1.9.3-p448/gems/couchbase-1.3.3 for inspection.
Results logged to /usr/local/rvm/gems/ruby-1.9.3-p448/gems/couchbase-1.3.3/ext/couchbase_ext/gem_make.out
[root@lb-dev /]#
*** 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.
If you read that file carefully, you will notice “using the correct architecture” which means it is just the template. Thanks, I will make it more clear