couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
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 <robert.newson@gmail.com> 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 <gsf747@gmail.com> wrote:
>> On Mon, Nov 8, 2010 at 12:03 PM, Gabriel Farrell <gsf747@gmail.com> 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

Mime
View raw message