You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by Apache Wiki <wi...@apache.org> on 2008/11/10 08:20:03 UTC
[Couchdb Wiki] Update of "Installing on OpenBSD" by LunraXanto
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Couchdb Wiki" for change notification.
The following page has been changed by LunraXanto:
http://wiki.apache.org/couchdb/Installing_on_OpenBSD
New page:
This worked for me on a brand new install of [http://www.openbsd.org/ OpenBSD 4.4]
{{{
# pre-requisite: spidermonkey
cd /usr/ports/lang/spidermonkey
make
make install
make clean
# prerequisite: icu
cd /usr/ports/textproc/icu4c
make
make install
make clean
# pre-requisite: erlang
cd
pkg_add erlang
# yes, but i would prefer the latest erlang
pkg_add wget
pkg_add gmake
mkdir /usr/tools
cd /usr/tools
mkdir erlang
cd erlang
wget http://www.erlang.org/download/otp_src_R12B-5.tar.gz
tar zxf otp_src_R12B-5.tar.gz
mkdir otp_R12B-5
cd otp_src_R12B-5
export LANG=C
./configure --help
./configure --prefix=/usr/tools/erlang/otp_R12B-5 --with-ssl
gmake
gmake install
PATH=/usr/tools/erlang/otp_R12B-5/bin:$PATH
cd /usr/tools
mkdir couchdb
cd couchdb
# the following url is a copy/paste from what
# http://www.apache.org/dyn/closer.cgi?path=/incubator/couchdb/0.8.1-incubating/apache-couchdb-0.8.1-incubating.tar.gz
# gave as a link
wget http://mir2.ovh.net/ftp.apache.org/dist/incubator/couchdb/0.8.1-incubating/apache-couchdb-0.8.1-incubating.tar.gz
tar zxf apache-couchdb-0.8.1-incubating.tar.gz
mkdir couchdb-0.8.1
cd apache-couchdb-0.8.1-incubating
./configure --prefix=/usr/tools/couchdb/couchdb-0.8.1
gmake
gmake install
cd ../couchdb-0.8.1/bin
./couchdb&
cd /tmp
wget localhost:5984
cat index.html
}}}