Skip to content

Instantly share code, notes, and snippets.

@BenHall
Created April 3, 2010 19:50
Show Gist options
  • Save BenHall/354803 to your computer and use it in GitHub Desktop.
Save BenHall/354803 to your computer and use it in GitHub Desktop.
Upgrading Couchdb 0.10 to 0.11
sudo aptitude install automake spidermonkey-bin autoconf subversion-tools libtool help2man build-essential erlang erlang-manpages libicu38 libmozjs-dev wget libicu-dev libreadline5-dev checkinstall
sudo apt-get install libcurl4-openssl-dev
wget http://mirrors.enquira.co.uk/apache/couchdb/0.11.0/apache-couchdb-0.11.0.tar.gz
tar -xzvf apache-couchdb-0.11.0.tar.gz
cd apache-couchdb-0.11.0
./configure --bindir=/usr/bin --sbindir=/usr/sbin --localstatedir=/var --sysconfdir=/etc
make
sudo make install
sudo /etc/init.d/couchdb start
@BenHall
Copy link
Author

BenHall commented Apr 5, 2010

@dscape
Copy link

dscape commented Jul 14, 2010

This helps in Ubuntu 10.04
curl -O ftp://ftp.mozilla.org/pub/mozilla.org/js/js-1.7.0.tar.gz
tar zxvf js-1.7.0.tar.gz
cd js/src
export CFLAGS="-DJS-C-STRINGS-ARE-UTF8"
make -f Makefile.ref
JS-DIST=/usr make -f Makefile.ref export

@dscape
Copy link

dscape commented Jul 14, 2010

libmozjs doesn't exist in 10.04 so you need xulrunner
Then:
./configure --prefix= --with-js-lib=/usr/lib/xulrunner-devel-1.9.2.6/lib --with-js-include=/usr/lib/xulrunner-devel-1.9.2.6/include

Full guide in the wiki http://wiki.apache.org/couchdb/Installing_on_Ubuntu

ps. Deleted other comment cause this is way easier

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment