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 <[email protected]> wrote: > On Mon, Nov 8, 2010 at 4:42 PM, Robert Newson <[email protected]> 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 <[email protected]> wrote: >>> On Mon, Nov 8, 2010 at 12:03 PM, Gabriel Farrell <[email protected]> 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 >
