I compiled CouchDB on the default AMI, and I didn't need quite so many manually installed dependencies at least back then. Here's my notes for comparison:
# 2010 November 27 # ### CouchDB ### # following Fedora instructions at https://github.com/couchone/build-couchdb sudo yum install git gcc gcc-c++ libtool libcurl-devel zlib-devel openssl-devel wget http://rubyforge.org/frs/download.php/56872/rake-0.8.7.tgz sudo ruby install.rb git clone git://github.com/couchone/build-couchdb cd build-couchdb git submodule init git submodule update vi tasks/distros.rb # add return [:fedora, 100] at top of function rake build/bin/couchdb curl -X PUT localhost:5984/_config/admins/NAME -d '"PASSWORD"' curl -X PUT NAME:PASSWORD@localhost:5984/_config/httpd/bind_address -d '"0.0.0.0" # to test (put on 127.0.0.1 behind nginx later) On Feb 2, 2011, at 6:24 AM, George Burt wrote: > Thanks for all the pointers. I finally successfully installed on Amazon > Linux stock AMI (this makes me feel better because Amazon offers paid > support for that platform). > > It is a Centos 5.5 (at the time of this posting). The problem is that the > ruby distro code referenced in the couchio installation instructions: > https://github.com/couchone/build-couchdb > does not have an allowance for CentOS. I have encluded the needed change to > make the Centos distro look like fedora (which is what they recommend for > Red Hat in the instructions - FYI Centos is an opensource version of Red > Hat). > > You need to login to the Amazon Linux instance you have created from the AWS > Management Console (instructions for that are not included here). I have > only tried 32bit, but plan to try 64bit later today. Login as "ec2-user". > Then the procedure is as follows: > > sudo yum install gcc gcc-c++ libtool curl-devel ruby-rdoc zlib-devel > openssl-devel > wget > http://download.fedora.redhat.com/pub/epel/5/i386/rubygems-1.3.1-1.el5.noarch.rpm > wget > http://download.fedora.redhat.com/pub/epel/5/i386/rubygem-rake-0.8.7-2.el5.noarch.rpm > sudo rpm -ivh rubygem-rake-0.8.7-2.el5.noarch.rpm > rubygems-1.3.1-1.el5.noarch.rpm > ruby --version > curl > sudo yum install git-core > git clone git://github.com/couchone/build-couchdb > cd build-couchdb/ > git submodule init > git submodule update > nano tasks/distros.rb > > --- Go to the bottom of the file and comment out "nil" and add the line > shown. > #nil > return [:fedora, '5.5'] > > > rake > build/bin/couchdb > -- now couchdb should be running > > - George
