Build CouchDB is a wrapper or master project which pulls in, from official sources, CouchDB plus all of its dependencies except Erlang. It is the most straightforward and reliable procedure to build official CouchDB releases from source.
Erlang has to be installed before script can be run.