iriscouch / build-couchdb

Batteries-included CouchDB build system
227 stars 36 forks source link

Missing OpenSSL #10

Closed loleg closed 13 years ago

loleg commented 13 years ago

I'm trying to build CouchDB 1.0.2 on Ubuntu 10.04 using:

$ rake git="git://git.apache.org/couchdb.git tags/1.0.2"
$ . build/env.sh 
$ build/bin/couchdb -V
couchdb - Apache CouchDB 1.0.2
...
$ build/bin/couchdb
{"init terminating in do_boot",{undef,[{couch,start,[]},{init,start_it,1},{init,start_em,1}]}}

Crash dump was written to: erl_crash.dump
init terminating in do_boot ()

The error I'm getting is described here: http://wiki.apache.org/couchdb/Error_messages#Missing_OpenSSL -- so I checked that libssl-dev and erlang-ssl are installed. Local ssl seems to have compiled fine:

$ ls build/lib/erlang/lib/ssl-4.1.5/
ebin  examples  priv  src

Any ideas?

loleg commented 13 years ago

Nevermind. Followed http://wiki.couchdb.couchdb.org/page/Installing_on_Ubuntu suggestion to reinstall the dependencies. What fixed my issue is:

sudo apt-get install erlang-nox
loleg commented 13 years ago

Oops, ran the already installed version 0.10.0 by accident. That didn't actually fix my build-couchdb version. Note that Erlang SSL support seems to be installed OK:

$ erl
Eshell V5.8.4  (abort with ^G)
1> crypto:start().
ok
loleg commented 13 years ago

Removing the build directory and completely rebuilding has solved my problem. The instructions don't make it clear that 'build' is the default install target, and that installing a separate tag needs a dedicated target.