Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 27381 invoked from network); 9 Jul 2009 21:10:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 9 Jul 2009 21:10:02 -0000 Received: (qmail 75431 invoked by uid 500); 9 Jul 2009 21:10:11 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 75353 invoked by uid 500); 9 Jul 2009 21:10:10 -0000 Mailing-List: contact dev-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 dev@couchdb.apache.org Received: (qmail 75343 invoked by uid 99); 9 Jul 2009 21:10:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2009 21:10:10 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of couchdby@autosys.us designates 216.99.218.149 as permitted sender) Received: from [216.99.218.149] (HELO delora.autosys.us) (216.99.218.149) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 Jul 2009 21:09:58 +0000 Received: by delora.autosys.us (Postfix, from userid 1000) id C40A725C856; Thu, 9 Jul 2009 14:09:36 -0700 (PDT) Date: Thu, 9 Jul 2009 14:09:36 -0700 From: Michael McDaniel To: dev@couchdb.apache.org Subject: Re: View Performance (was Re: The 1.0 Thread) Message-ID: <20090709210936.GF7036@delora.autosys.us> Mail-Followup-To: dev@couchdb.apache.org References: <261cf6280907041526n1d798770l16a0f4ec9f74e702@mail.gmail.com> <20090706085321.GA11394@uk.tiscali.com> <261cf6280907071229v4ab5d3feo992acd1a700214c7@mail.gmail.com> <20090707195222.GF7036@delora.autosys.us> <558050c20907090212g3e66e543wf2d3590be5d215d7@mail.gmail.com> <20090709140246.GZ7036@delora.autosys.us> <558050c20907091248k21929a18v2c24e9223d0ffe1c@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <558050c20907091248k21929a18v2c24e9223d0ffe1c@mail.gmail.com> Organization: http://autosys.us User-Agent: Mutt/1.5.17+20080114 (2008-01-14) X-Virus-Checked: Checked by ClamAV on apache.org I currently cannot push to git but here's what to do ... edit erlview.erl * add -define(VERSION, "unknown"). * change helper/2 to helper/3 * save file * erl -make You will need to read the README and make local.ini adjustments. You have already adjusted include path in Emakefile. Maybe use the most current couch_query_servers.erl rather than the old one included. And copy the .beam files. Should all be in the README. ~M On Thu, Jul 09, 2009 at 10:48:19PM +0300, Dmitry Unkovsky wrote: > Thank you for a hint! > I was running make instead of erl -make, which tries to build docs > also, as far as I understand. > > Now, doing plain - > > cd /tmp > git clone git://github.com/mmcdanie/erlview.git > cd erlview > rm ebin/* > cd src > erl -make > > of course tells me that couch_db.hrl is not found, > and after adjusting path to it in Emakefile > > /tmp/erlview/src$ erl -make > Recompile: erlview > ./erlview.erl:233: undefined macro ''VERSION'' > ./erlview.erl:217: function helper/2 undefined > ./erlview.erl:218: function version/0 undefined > ./erlview.erl:326: Warning: function helper/3 is unused > > that's on Ubuntu 9.04something, if relevant, > $erl +V > Erlang (SMP,ASYNC_THREADS) (BEAM) emulator version 5.6.5 > > and latest couchdb from git://github.com/halorgium/couchdb.git master > (at 14cae6402ed... now) > the same with couchdb tagged v0.9.0 > > > 2009/7/9 Michael McDaniel : > > > > � cd /tmp > > � git clone �git://github.com/mmcdanie/erlview.git > > � cd erlview > > � cd src > > � erl -make > > � ls -l ../ebin -- Michael McDaniel Portland, Oregon, USA http://autosys.us