we tried to install 1.0.1 following these instructions but coming up
with error:
any suggestions ? do we need to clean out the apt-get couchdb (0.10)
version ?
* Starting database server couchdb
chown: changing ownership of `/var/run/couchdb': Operation not permitted
Password:
su: Authentication failure
wget http://couchdb.apache.org/downloads.html
sudo apt-get build-dep couchdb
tar xvzf apache-couchdb-1.0.1.tar.gz
cd apache-couchdb-1.0.1
xulrunner -v
sudo ./configure --prefix=/usr/local/ --with-js-lib=/usr/lib/xulrunner-
devel-1.9.2.10/lib --with-js-include=/usr/lib/xulrunner-devel-
1.9.2.10/include
sudo make
sudo make install
vi /etc/passwd change couchdb => /usr/local/var/lib/couchdb
chown -R couchdb: /usr/local/var/{lib,log,run}/couchdb
/usr/local/etc/couchdb
chmod 0770 /usr/local/var/{lib,log,run}/couchdb/
chmod 664 /usr/local/etc/couchdb/*.ini
chmod 775 /usr/local/etc/couchdb/*.d
cd /etc/init.d
ln -s /usr/local/etc/init.d/couchdb couchdb
/etc/init.d/couchdb start