Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 1615 invoked from network); 4 Nov 2010 00:28:02 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 4 Nov 2010 00:28:02 -0000 Received: (qmail 15134 invoked by uid 500); 4 Nov 2010 00:28:33 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 15089 invoked by uid 500); 4 Nov 2010 00:28:33 -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 15081 invoked by uid 99); 4 Nov 2010 00:28:33 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 00:28:33 +0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.9] (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with SMTP; Thu, 04 Nov 2010 00:28:29 +0000 Received: (qmail 1512 invoked by uid 99); 4 Nov 2010 00:27:36 -0000 Received: from localhost.apache.org (HELO [192.168.0.5]) (127.0.0.1) (smtp-auth username nslater, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 Nov 2010 00:27:36 +0000 Subject: Re: CouchDB OTP Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Noah Slater In-Reply-To: X-Noah: Awesome Date: Thu, 4 Nov 2010 00:28:02 +0000 Content-Transfer-Encoding: quoted-printable Message-Id: References: To: dev@couchdb.apache.org X-Mailer: Apple Mail (2.1081) X-Virus-Checked: Checked by ClamAV on apache.org 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. >=20 > Tristan >=20 > On Wed, Nov 3, 2010 at 10:52 AM, Tristan Sloughter < > tristan.sloughter@gmail.com> wrote: >=20 >> Hi everyone, I have a github fork from apache/couchdb >> https://github.com/tsloughter/couchdb that I modified to be more OTP >> compliant and now builds with sinan (from http://erlware.org). 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 http://erlware.org) 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. >>=20 >> I moved all non-Erlang stuff to lib/couchdb/priv. >>=20 >> 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. >>=20 >> There are probably a few other things.. But I was able to do an >> application:start(couchdb) last night and see it working :). >>=20 >> 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. >>=20 >> Tristan >>=20