incubator-couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Noah Slater <>
Subject Re: CouchDB OTP
Date Thu, 04 Nov 2010 00:28:02 GMT
Have you wholesale replaced the existing build system?

If you have, it's going to be a tad more complex than knocking up a few makefiles to compile
C. There's lots of very complex stuff our build system copes with at the moment. I'm not convinced
it can be replaced by an Erlang build system and a few shell scripts. We've had chats about
improving the build system before, and I think the consensus is that we wrap an Erlang build
system WITHIN the Autotools system.

What are you thoughts?

On 4 Nov 2010, at 00:04, Tristan Sloughter wrote:

> If anyone by chance has or can easily create some simplistic make files or
> something for compiling the C code that would be AWESOME. I haven't had time
> to dig around what is needed to compile the different pieces but its the
> last major piece to complete.
> Tristan
> On Wed, Nov 3, 2010 at 10:52 AM, Tristan Sloughter <
>> wrote:
>> Hi everyone, I have a github fork from apache/couchdb
>> that I modified to be more OTP
>> compliant and now builds with sinan (from There
>> wasn't much that I've done so far. I moved the CouchDB app under
>> lib/couchdb. I removed the other apps from the source tree, they can easily
>> be installed with faxien (from and versions can be
>> declared if necessary. I changed the _app.erl file to not start applications
>> and added those applications instead to the applications list in the .app
>> file. They will be started properly by the release's boot script.
>> I moved all non-Erlang stuff to lib/couchdb/priv.
>> I still have a number of things to do that I hope to get to tonight. First,
>> fix up the two scripts under bin/. Fix the configuration file locations
>> (some stuff is hardcoded for my environment). Add a hook to sinan to compile
>> the icu driver -- right now I just copied the library over from a build of
>> CouchDB I did separately.
>> There are probably a few other things.. But I was able to do an
>> application:start(couchdb) last night and see it working :).
>> There were a few things I thought of changing within the code as I dug
>> around but those are a separate issue that I'll bring up in discussion after
>> all this is complete.
>> Tristan

View raw message