From user-return-8221-apmail-couchdb-user-archive=couchdb.apache.org@couchdb.apache.org Sun Jan 03 13:32:27 2010 Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 76079 invoked from network); 3 Jan 2010 13:32:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 3 Jan 2010 13:32:27 -0000 Received: (qmail 38138 invoked by uid 500); 3 Jan 2010 13:32:25 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 38060 invoked by uid 500); 3 Jan 2010 13:32:25 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 38050 invoked by uid 99); 3 Jan 2010 13:32:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 13:32:25 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of b.candler@pobox.com designates 64.74.157.62 as permitted sender) Received: from [64.74.157.62] (HELO sasl.smtp.pobox.com) (64.74.157.62) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Jan 2010 13:32:15 +0000 Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id C246EAC849; Sun, 3 Jan 2010 08:31:51 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=date:from:to :cc:subject:message-id:references:mime-version:content-type :in-reply-to; s=sasl; bh=wqrJ3X5nX+WC1oFuijkJzfHoUWI=; b=i6YD/+7 Pf58dQuXIbB32NiNegHQRkhxs2JgSDaUOo3+vtXsfDIS3+Q1j2/cDC5RljN31UUk hYu81hQpE+8HgVQlw4tj2nqIzRXaO927mWTW8C7k1WTivfdCAGhP/s53Q3YPuwrL Bc7bkVdhreYEUmfcvxW/zZTGKoUDDywvXF9Q= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=date:from:to:cc :subject:message-id:references:mime-version:content-type :in-reply-to; q=dns; s=sasl; b=g+XbmguzjdQBc4dsE/LhAI0DW8Q1trHNl CyfXRaygQkhreHQGmVu0BYERjOXXBAVQjy0/AZwCZL0+OlbYF3/Z9R3WXP0PPFA+ eDrsNHrSBi22u/gOnWRiI3RvL9jKUWKef1/9m1Ph2zrDMRzfdu85+TDBxjalY882 JrIYx2kcuk= Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id B0C32AC848; Sun, 3 Jan 2010 08:31:50 -0500 (EST) Received: from zino (unknown [87.194.77.98]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 0F066AC847; Sun, 3 Jan 2010 08:31:48 -0500 (EST) Received: from brian by zino with local (Exim 4.69) (envelope-from ) id 1NRQYd-0001bI-E9; Sun, 03 Jan 2010 13:31:47 +0000 Date: Sun, 3 Jan 2010 13:31:47 +0000 From: Brian Candler To: Fabio Forno Cc: user@couchdb.apache.org Subject: Re: problem with xulrunner on ubuntu Message-ID: <20100103133147.GA6023@uk.tiscali.com> Mail-Followup-To: Fabio Forno , user@couchdb.apache.org References: <2fd53c3a0912311241p35965bceve0695637c7ec4d80@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2fd53c3a0912311241p35965bceve0695637c7ec4d80@mail.gmail.com> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pobox-Relay-ID: 594632CA-F86C-11DE-84BD-465EBBB5EC2E-28021239!a-pb-sasl-sd.pobox.com On Thu, Dec 31, 2009 at 09:41:16PM +0100, Fabio Forno wrote: > I'm using couchdb with ubuntu and I've manually compiled it adding > the paths to the correct xulrunner libs ( /usr/lib/xulrunner-1.9.0.15/ > ) and it works fine. > The problem is that sometimes during normal distro updates ubuntu can > changes the minor number of the lib (just moved to .16), breaking > everything for couchdb. Is there anybody already coping with this > problem or solutions around? I know that this is problem is more > related to ubuntu, since they should also make some stable symlink > available, but I think since it mainly affects couchdb somebody may > already have a solution 1. If you are using ubuntu 'server' edition (and haven't installed Firefox), you can just install and use libmozjs-dev. Job done. You can even take the binary here and copy it to a 'desktop' machine which has libmozjs. 2. On an ubuntu-desktop machine, you can rather painfully install libmozjs-dev (which will uninstall a whole load of stuff), then build couchdb, then reinstall the affected stuff which will uninstall libmozjs-dev. This is fine, because to run the binary you only need libmozjs, not libmozjs-dev, and there's no conflict on libmozjs. 3. It's probably possible to build couchdb inside a chroot environment, e.g. using fakeroot, where libmozjs-dev has been installed. I haven't worked out the details of setting up such an environment yet. 4. Otherwise, you just need to keep an eye on when xulrunner changes its tiny version number, and rebuild couchdb :-( I'm using (1) on a production box, and (4) on a dev desktop box. I've also previously used (2) on a laptop running Xubuntu, because xubuntu-desktop is much lighter than ubuntu-desktop so you don't end up uninstalling all that much. Remember to vote on https://bugs.launchpad.net/ubuntu/+source/xulrunner-1.9.1/+bug/486079 if you haven't done so already. ("This bug affects me") Regards, Brian.