doku:couchdb_compile
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
— | doku:couchdb_compile [2010-07-28 12:56] (aktuell) – angelegt - Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
+ | ====== CouchDB: compile yourself ====== | ||
+ | ===== Debian ===== | ||
+ | |||
+ | Debian 5 comes with CouchDB 0.8 - this is too old. The same is true for Ubuntu 9.04 and 9.10. | ||
+ | |||
+ | I will show how to compile CouchDB 1.0. | ||
+ | ==== install and remove old packages: ==== | ||
+ | |||
+ | * apt-get install couchdb | ||
+ | * apt-get remove erlang erlang-nox couchdb | ||
+ | |||
+ | Why? It's a good idea to install the debian Packages to resolve all dependencies. But you should remove this 3 packages before install the self-compiled versions. | ||
+ | |||
+ | ==== Compile erlang ==== | ||
+ | |||
+ | * apt-get install autoconf m4 quilt unixodbc-dev bison flex libsctp-dev | ||
+ | * wget http:// | ||
+ | * cd otp_src_R13B04 | ||
+ | * ./configure && make | ||
+ | * make install | ||
+ | |||
+ | => erlang installed in /usr/local | ||
+ | |||
+ | Test: start '' | ||
+ | |||
+ | ==== Compile CouchDB ==== | ||
+ | |||
+ | * - apt-get install cdbs debhelper erlang-dev help2man libicu-dev libmozjs-dev | ||
+ | * apt-get install libcurl4-openssl-dev (configure: error: Library requirements (curl) not met) | ||
+ | * ./configure && make | ||
+ | * if you get the error message: '' | ||
+ | * make install | ||
+ | |||
+ | Test: http:// | ||
+ | |||
+ | ===== Links ===== | ||
+ | * http:// | ||
+ | * [[Debian: How to solve dependencies for sources]] | ||