I understand how to build couch now. I don't want to follow this process ever again. No end user wishing to test nighties should have to go through such a process.
If it means bundling erlang, then so be it. Cheers, Ben On 21/01/2010, at 8:22 PM, Brian Candler wrote: > On Thu, Jan 21, 2010 at 08:20:09AM +1100, Ben Schwarz wrote: >> - CouchDB can be a very lengthy install from source (Thanks to erlang) > > I think that you'd have to install erlang even to run a couchdb binary > package, since couchdb doesn't bundle an erlang runtime. (It would be > possible for it to do so - I think ejabberd does this - but that's a > different request) > > There's usually no need to install erlang from source. As long as your > platform has a binary erlang package of recent enough vintage, you should > just be able to use that. Even if you did install erlang from source, > there's no need to repeat it each time you update couchdb. > > Given a working erlang install, rebuilding couchdb is very straightforward. > I use the following shell script, after "svn up" or "git pull". > > ./bootstrap && > LD_RUN_PATH=/usr/lib/xulrunner-1.9.1.7 ./configure \ > --with-js-lib=/usr/lib/xulrunner-1.9.1.7 \ > --with-js-include=/usr/lib/xulrunner-devel-1.9.1.7/include && > LD_RUN_PATH=/usr/lib/xulrunner-1.9.1.7 make && > sudo rm -rf /usr/local/lib/couchdb/erlang/lib/couch-* && > sudo make install && > sudo /usr/local/etc/init.d/couchdb restart > > It only takes a few seconds. (Note that I'm on Ubuntu Karmic here, where > xulrunner is in a non-standard location, hence the extra flags) > > HTH, > > Brian.
