couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <>
Subject Re: Error when compiling on Debian testing
Date Mon, 08 Nov 2010 22:39:14 GMT
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
> (
> 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/ 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.


View raw message