I've been trying to install Apache CouchDB on my Fedora 10 and came to a few issues regardling libraries and other requirements to build it. If you are interested on CouchDB and/or how to install it on a Fedora system, this post might be useful for you.
The README file of Apache CouchDB doesn't list the equivalent packages for Fedora, so I had to dig a lot to finally get it right. First thing is to install all of these packages:
- js-devel
- libcurl-devel
- libcurl
- erlang
- erlang-esdl-devel
- erlang-pgsql-devel
- compat-erlang
- libicu
- libicu-devel
- libmozjs-dev
- make
- gcc
- automake
- gcc-c++
- kernel-headers
- glibc-devel
[~/apache-couchdb-0.9.0]$ ./configure --with-erlang=/usr/lib64/erlang/usr/include/The parameter above is needed because the script cannot find on Fedora, where the headers of Erlang are located. After this step, you should be ready to compile with make, and then install it as root with make install. But if you are NOT like me that likes to do things really fast - compile, install, run - you can create an RPM package. For this, you have to install rpmdevtools too. Follow this guide of How to create an RPM package.
Done. You can now type:
$ sudo couchdbOpen your web browser and point it to this URL: http://127.0.0.1:5984/.
Now relax and have fun!
Nenhum comentário:
Postar um comentário