Created
April 3, 2010 19:50
-
-
Save BenHall/354803 to your computer and use it in GitHub Desktop.
Upgrading Couchdb 0.10 to 0.11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
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
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