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 9566410A88 for ; Fri, 22 Nov 2013 05:59:37 +0000 (UTC) Received: (qmail 25044 invoked by uid 500); 22 Nov 2013 05:59:33 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 24930 invoked by uid 500); 22 Nov 2013 05:59:27 -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 24918 invoked by uid 99); 22 Nov 2013 05:59:25 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Nov 2013 05:59:25 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy includes SPF record at spf.trusted-forwarder.org) Received: from [209.85.128.52] (HELO mail-qe0-f52.google.com) (209.85.128.52) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 22 Nov 2013 05:59:19 +0000 Received: by mail-qe0-f52.google.com with SMTP id ne12so624194qeb.11 for ; Thu, 21 Nov 2013 21:58:58 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=pe9HdghDHrwYk8wO0ehjH05O32G2Wo4s9uCSkOkDNfQ=; b=jbDYHMw0KSInk5PYAm5OXzHgRCTO5chO7pZsJLVajAB4EPphHCVknsZLA2djsTmGh3 sPBnEM/8w8GAxVSUzST4YCCvL4Dv9vCG/gEEVT3G6k0iJe8oecGl1nGXzk+Iv0Aeuqe/ Ypp4affS3rsYOabRzGgH1CBVU3jY2VlHmnlvK4uNLY7ONRa7l5U+0fo9m4RvsrR2IjCz jP1jmHlLVYox3mjhENh2l49VThY0TBLC9vk0Qo7ffU11J5868ZWeSmEmpw5WriwJEFaq XWCfwZ8VE/pYGaC+d4OdKntRsjkOJ5Mx8xJMJfOmFTmrHgmF3N9S7jRAWPaZ1kXKZtW5 nP9w== X-Gm-Message-State: ALoCoQmBM7zdRxhTsXFTPvN5afstXhSD+bZGRKBshfn307YTaS2t26+WM8aDv/GXzyeR824FglkE X-Received: by 10.49.50.161 with SMTP id d1mr18274391qeo.51.1385099937910; Thu, 21 Nov 2013 21:58:57 -0800 (PST) Received: from jambhal.local (c-68-37-177-195.hsd1.nj.comcast.net. [68.37.177.195]) by mx.google.com with ESMTPSA id p17sm7091894qak.4.2013.11.21.21.58.56 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Thu, 21 Nov 2013 21:58:56 -0800 (PST) Message-ID: <528EF2A1.8010205@orgmeta.com> Date: Fri, 22 Nov 2013 00:58:57 -0500 From: Vivek Pathak User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Re: building couchdb 1.5 on centos 6.4 References: <528E1947.9070502@orgmeta.com> <528E1F86.6070001@orgmeta.com> <528E2BF2.5080003@orgmeta.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org I see. Unfortunately I was in a rush so did not install the dependencies one by one... Its sure that erlang-asn1 was missing. But I am not sure it was the only one (since it was quicker to get the whole erlang package). Thanks Vivek On 11/21/13, 8:17 PM, Alexander Shorin wrote: > Hi Vivek! > > There was a reason to not have just yum install erlang since it gets > also, for example, wxwidget dependencies which aren't uses in CouchDB > and almost useless on servers. > > Is the erlang-asn1 the only missed component? > > -- > ,,,^..^,,, > > > On Thu, Nov 21, 2013 at 7:51 PM, Vivek Pathak wrote: >> Yes there was a missing dependency to erlang-asn1 on centos 6.4 >> >> Perhaps the wiki document >> (http://docs.couchdb.org/en/latest/install/unix.html ) can just say yum >> install erlang instead of several (but incomplete) erlang-* it installs. >> >> The complete erl package does get this specific dependency (and any others >> if they were missing) >> >> Thanks >> Vivek >> >> >> On 11/21/2013 10:07 AM, Robert Newson wrote: >>> asn1 comes from your erlang install, we don't ship it, but it implies >>> you're missing standard parts of erlang. I'm assuming debian or >>> ubuntu, therefore "apt-get install erlang-asn1" and probably others. >>> The policy that forces package maintainers to subdivide erlang because >>> it's possible but not wise irks me. >>> >>> B. >>> >>> On 21 November 2013 14:58, Vivek Pathak wrote: >>>> Thanks - I tried it. There is something odd going on. It says there is >>>> no >>>> such app, and while couchdb source seems to refer to it, I can not find >>>> it >>>> anywhere in the filesystem. >>>> >>>> >>>> Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:8:8] [rq:8] >>>> [async-threads:0] [kernel-poll:false] >>>> >>>> Eshell V5.8.5 (abort with ^G) >>>> 1> application:start(asn1). >>>> {error,{"no such file or directory","asn1.app"}} >>>> >>>> >>>> # pwd >>>> /opt/apache-couchdb-1.5.0/src >>>> >>>> # grep -R asn1 * >>>> couchdb/couch_app.erl: case start_apps([crypto, asn1, public_key, >>>> sasl, >>>> inets, oauth, ssl, ibrowse, syntax_tools, compiler, xmerl, mochiweb, >>>> os_mon]) of >>>> >>>> >>>> >>>> >>>> On 11/21/2013 09:36 AM, Robert Newson wrote: >>>>> {app_would_not_start,asn1} is pretty telling. >>>>> >>>>> try 'erl' then "application:start(asn1)." and see what error you get. >>>>> If it's a not_started for some other app, try starting that one. >>>>> You'll probably do this a few times before finding the thing that >>>>> fails to start. Likely, it will be one that requires zlib or libssl or >>>>> something. >>>>> >>>>> B. >>>>> >>>>> >>>>> On 21 November 2013 14:31, Vivek Pathak wrote: >>>>>> Hi >>>>>> >>>>>> I was following the steps given in >>>>>> http://docs.couchdb.org/en/latest/install/unix.html for couchdb 1.5 >>>>>> install >>>>>> from source. >>>>>> >>>>>> After installing dependencies through the yum commands, I could build >>>>>> and >>>>>> install couchdb. Next I made changes to its home directory and gave >>>>>> permissions for user couchdb to those directories. >>>>>> >>>>>> Then I started couchdb but got error : >>>>>> >>>>>> sudo -i -u couchdb /usr/local/bin/couchdb >>>>>> {"init terminating in >>>>>> >>>>>> >>>>>> do_boot",{{badmatch,{error,{{app_would_not_start,asn1},{couch_app,start,[normal,["/usr/local/etc/couchdb/default.ini","/usr/local/etc/couchdb/local.ini"]]}}}},[{couch,start,0},{init,start_it,1},{init,start_em,1}]}} >>>>>> >>>>>> Crash dump was written to: erl_crash.dump >>>>>> init terminating in do_boot () >>>>>> >>>>>> Both erl and js-devel versions appear to be reasonable for what is >>>>>> given >>>>>> in >>>>>> the install guide. >>>>>> >>>>>> The crash dump is a large file. Is there any guide on how to actually >>>>>> locate what is causing the problem? >>>>>> >>>>>> Thank you >>>>>> Vivek >>>>>> >>>>>> >>>>>>