Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 25801 invoked from network); 8 Nov 2010 22:50:12 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Nov 2010 22:50:12 -0000 Received: (qmail 39442 invoked by uid 500); 8 Nov 2010 22:50:43 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 39376 invoked by uid 500); 8 Nov 2010 22:50:43 -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 39351 invoked by uid 99); 8 Nov 2010 22:50:42 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 22:50:42 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of robert.newson@gmail.com designates 209.85.212.52 as permitted sender) Received: from [209.85.212.52] (HELO mail-vw0-f52.google.com) (209.85.212.52) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 22:50:36 +0000 Received: by vws20 with SMTP id 20so606392vws.11 for ; Mon, 08 Nov 2010 14:50:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type; bh=jcnIWhEXvaA8JMCPeXoHUF/AKXKGKM+tzD4Abx9KHxw=; b=jmxQfWQ97sEElqDiLK+lf/k3tlfP+OzwEtsd/Z/MaCXjMF8JepAZ+5CSPJGRtWeVL4 471+djphB6+S6uOjL3MwR6HcQFqPINjLBRZXuV8lp+IfRao78N1YDcFow2iGRTPRCiLU ruwi/Amwq9JUM/Whl8FHby/jPH8wla/37SVYo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=SYZTGbCrAWobqvSfQrFUmsqK5mWaFoPNj330Mrr9e+J+vrBVfzTDSY5FfyfJVuALvI dl5b5TWwdJmB/iIlCGlvr2fBzV3HITnNG/y1uPgMmOu3SVBVmB1mr/ZaTjCSflkmyFhs 7CPkwyzzQ1+s9hGiNVjg4QSCZKshIPUSZlOXk= MIME-Version: 1.0 Received: by 10.224.207.65 with SMTP id fx1mr2698959qab.327.1289256615614; Mon, 08 Nov 2010 14:50:15 -0800 (PST) Received: by 10.229.239.20 with HTTP; Mon, 8 Nov 2010 14:50:15 -0800 (PST) In-Reply-To: References: Date: Mon, 8 Nov 2010 22:50:15 +0000 Message-ID: Subject: Re: Error when compiling on Debian testing From: Robert Newson To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Checked: Checked by ClamAV on apache.org I can make it optional. I'm working a mochiweb patch to send upstream first. On Mon, Nov 8, 2010 at 10:39 PM, Paul Davis wrote: > On Mon, Nov 8, 2010 at 4:42 PM, Robert Newson wrote: >> Turns out we just need to add -DNOTEST to the erlc calls when building >> mochiweb or define -define(NOTEST, 1). early enough >> (http://svn.process-one.net/contribs/trunk/eunit/doc/overview-summary.html#Disabling_testing). >> The former seems the best option. >> >> My autotools-fu is about zero (ok, it's exactly zero) but I guess a >> tweak to src/mochiweb/Makefile.am to include this setting in addition >> to the $(ERLC_FLAGS) would do it, but I don't now if that's kosher. >> >> B. >> >> >> On Mon, Nov 8, 2010 at 9:36 PM, Gabriel Farrell wrote: >>> On Mon, Nov 8, 2010 at 12:03 PM, Gabriel Farrell wrote: >>>> I didn't have erlang-eunit installed. Once I apt-get it, >>>> `./configure`, `make`, and `make install` run without errors, but an >>>> attempt to start up couch produces the attached error report. >>> >>> It appears that error was caused by files in /usr/local/ left over >>> from 1.0.1. Another `make install` after an `rm -rf` of >>> /usr/local/lib/couchdb and /usr/local/etc/couchdb gets me up and >>> running. >>> >>> >>> Gabriel >>> >> > > I'd be fine with that as we never run the tests anyway. The more > technically correct solution would probably be to add a > --enable-mochiweb-tests configure flag and set the compile command via > that switch. > > For now I wouldn't worry about the extra effort unless Noah thinks its worth it. > > Paul >