Return-Path: X-Original-To: apmail-couchdb-commits-archive@www.apache.org Delivered-To: apmail-couchdb-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C1B30DC9D for ; Thu, 13 Sep 2012 09:23:15 +0000 (UTC) Received: (qmail 28520 invoked by uid 500); 13 Sep 2012 09:23:15 -0000 Delivered-To: apmail-couchdb-commits-archive@couchdb.apache.org Received: (qmail 28461 invoked by uid 500); 13 Sep 2012 09:23:14 -0000 Mailing-List: contact commits-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list commits@couchdb.apache.org Received: (qmail 28441 invoked by uid 500); 13 Sep 2012 09:23:13 -0000 Delivered-To: apmail-incubator-couchdb-commits@incubator.apache.org Received: (qmail 28434 invoked by uid 99); 13 Sep 2012 09:23:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 09:23:13 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.131] (HELO eos.apache.org) (140.211.11.131) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 13 Sep 2012 09:23:12 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 4A4AFE96; Thu, 13 Sep 2012 09:22:52 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Thu, 13 Sep 2012 09:22:52 -0000 Message-ID: <20120913092252.81265.20549@eos.apache.org> Subject: =?utf-8?q?=5BCouchdb_Wiki=5D_Update_of_=22Installing=5Fon=5FUbuntu=22_by_?= =?utf-8?q?gonvaled?= Auto-Submitted: auto-generated X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for c= hange notification. The "Installing_on_Ubuntu" page has been changed by gonvaled: http://wiki.apache.org/couchdb/Installing_on_Ubuntu?action=3Ddiff&rev1=3D77= &rev2=3D78 Comment: Added instructions to install spidermonkey from source = This solution is referenced in bug report [[https://bugs.launchpad.net/ub= untu/+source/xulrunner-1.9/+bug/557275|#557275]]. = + =3D=3D=3D=3D Installing spidermonkey from source =3D=3D=3D=3D + = + This has been tested on Ubuntu 8.04 Server, with couchdb 1.2.0, from sour= ce. + = + {{{ + install_spidermonkey_ ( ) { + cd /tmp + SPIDERMONKEY_VER=3D"js185-1.0.0" + SPIDERMONKEY_DIR=3D"js-1.8.5" + wget http://ftp.mozilla.org/pub/mozilla.org/js/${SPIDERMONKEY_VER}.ta= r.gz + tar xvzf ${SPIDERMONKEY_VER}.tar.gz + cd ${SPIDERMONKEY_DIR}/js/src + make distclean 2> /dev/null # Just in case it is dirty + ./configure + make clean + make + sudo make install + sudo ldconfig # Make sure the new libraries are reachable + } + install_spidermonkey_ + }}} + = + And then, to build couch: + {{{ + JS_LIB=3D"/usr/local/lib/libmozjs185.so" + JS_INCLUDE=3D"/usr/local/include/js" + ./configure --with-js-lib=3D${JS_LIB} --with-js-include=3D${JS_INCLUDE} + }}} + = + Note: because the libtools in Ubuntu 8.04 are old, the macro LT_INIT is n= ot supported. + To install CouchDB 1.2.0, some hacking must be performed on the configure= script: + = + {{{ + sed -i -e 's/^LT_INIT/#LT_INIT/' configure + }}} + = =3D=3D=3D=3D System updates =3D=3D=3D=3D When performing system updates (using apt-get or package manager) please = keep in mind that the `/etc/ld.so.conf.d/xulrunner.conf` file is not mainta= ined by the system and will not be updated if a new version of xulrunner is= deployed! =20