Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BFF7BDF47 for ; Fri, 14 Sep 2012 05:49:05 +0000 (UTC) Received: (qmail 57863 invoked by uid 500); 14 Sep 2012 05:49:04 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 57536 invoked by uid 500); 14 Sep 2012 05:48:59 -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 57505 invoked by uid 99); 14 Sep 2012 05:48:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2012 05:48:58 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of ziggythehamster@gmail.com designates 209.85.215.52 as permitted sender) Received: from [209.85.215.52] (HELO mail-lpp01m010-f52.google.com) (209.85.215.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Sep 2012 05:48:52 +0000 Received: by lage4 with SMTP id e4so2242748lag.11 for ; Thu, 13 Sep 2012 22:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=k5XfucIG0Y6MnAyU0Tbw6gIvvuNc/M5QuVEk4tAylSw=; b=cLOp6yNNvaiB31RGBcAgVYtJXTqoAtpGzornYC8dv6fL2HW7HlvvQXhPpUATMBt1UL OrmJn/sCSXCh7NeSR4Tbr87ThkBHSStSC6DcAANCOBhgraD3FaYWYcou8segWbtQ1TZl A6BFaHDEXjS0BqH1x8BLqg6gm3L6D8sSIyD+HAOzYsWsCYj6ugxXjfCyO12ciWUNgUOt D5JpKIhcJnwkORt2i64gzIhJYSoY20Kgxxwt7NGADENVS7K6LB4kUFu7+BDMAhfmzCBx M5WXoyR+kjg3qkcP6zNuWJq7YNxPW+REr0FS6JSSox6/pquBMla0mtpH5Bin+FhSCSuU oYzA== MIME-Version: 1.0 Received: by 10.112.26.10 with SMTP id h10mr696860lbg.4.1347601712169; Thu, 13 Sep 2012 22:48:32 -0700 (PDT) Sender: ziggythehamster@gmail.com Received: by 10.112.28.66 with HTTP; Thu, 13 Sep 2012 22:48:32 -0700 (PDT) In-Reply-To: References: Date: Fri, 14 Sep 2012 00:48:32 -0500 X-Google-Sender-Auth: fDK02KPYgppkpzh1DKV7mqLpYVo Message-ID: Subject: Re: Problems installing CouchDB 1.2.0 in Ubuntu 10.04.4 LTS Server (lucid) From: Keith Gable To: user@couchdb.apache.org Content-Type: multipart/alternative; boundary=bcaec553ffc05a427104c9a2f904 --bcaec553ffc05a427104c9a2f904 Content-Type: text/plain; charset=ISO-8859-1 I just installed CouchDB 1.2 in precise using build-couchdb (with GeoCouch). Here's my command line: sudo mkdir /opt/couchdb sudo chown -R ubuntu:ubuntu /opt/couchdb rake \ plugins="git://github.com/couchbase/geocouch.gitorigin/couchdb1.2.x" \ install=/opt/couchdb Later, I add a couchdb user and chown -R couchdb:couchdb /opt/couchdb. And I addded this line to the top of /opt/couchdb/bin/couchdb (under the comment block): export ERL_FLAGS="$ERL_FLAGS -pa /opt/couchdb/lib/couchdb/plugins/geocouch.git/ebin" And I symlinked the /opt/couchdb/etc stuff into /etc where it's supposed to go. I had to modify the init script to provide a shell in the su command like so: if su $COUCHDB_USER -s /bin/sh -c "$command"; then The reason was that I don't give CouchDB a shell, so we have to give it one in the command line or else -c doesn't work. Probably a better way to do this. Let me know if I messed up. Annnd... everything works great. I suggest using build-couchdb since it does everything you need. (And if any IrisCouch people are listening - supporting CouchDB Lucene on your service is worth paying monthly for your service... the only reason I'm messing with this is because IrisCouch does everything BUT CouchDB Lucene.) --- Keith Gable A+ Certified Professional Network+ Certified Professional Storage+ Certified Professional Mobile Application Developer / Web Developer On Thu, Sep 13, 2012 at 4:07 AM, Daniel Gonzalez wrote: > Hi, > > I am having trouble installing Couchdb 1.2.0 in Ubuntu 10.04. Please find > the log here: > http://paste.ubuntu.com/1202193/ > > I am installing spidermonkey from source. > The same procedure has worked in Ubuntu 8.04. > > Any ideas? > > Thanks, > Daniel > --bcaec553ffc05a427104c9a2f904--