hej,

i did install couchdb from github master approx. 2 weeks ago like this:

apt-get install build-essential libicu-dev libmozjs185-dev
libcurl4-openssl-dev pkg-config

# rebar 2.5.1 doesn't work with erlang from wheezy, so we install erlang
17 from wheezy-backports
apt-get install -t wheezy-backports erlang-base-hipe erlang-dev
erlang-manpages erlang-eunit erlang-nox

wget https://github.com/rebar/rebar -O /usr/local/bin/rebar
chmod a+x /usr/local/bin/rebar
git clone https://github.com/apache/couchdb.git
cd couchdb
./configure

make
dev/run --admin=foo:bar
# brings up three nodes on ports 15984, 25984, 35984

Hope that works for you (don't know if you still need the erlang from
backports, at least i neeeded them) !

 Varac

On 03.10.2014 18:46, Dave Cottlehuber wrote:
>> Fair warning: I'm just a tad miffed because the instructions do not work
>> and they probably have not been working for more than a year!
> 
> Fair warning: I used these to build the last official release, so it’s 
> unlikely ;-).
> 
> Given the paucity of information you’ve provided it’s hard to tell exactly 
> what went
> wrong, but luckily I don’t get miffed easily ;-).
> 
> I’m sure with your assistance we can improve the instructions.
> 
>> So, I am following the instructions from here:
>> https://cwiki.apache.org/confluence/display/COUCHDB/Debian
> 
> - What Debian release are you on?
> - What package versions are installed?
> 
>> And it was at the "apt-get update -y" where I began to run into a slight
>> problem:
>>  
>> W: Conflicting distribution: http://packages.cloudant.com wheezy Release
>> (expected wheezy but got squeeze)
> 
> I’m guessing you are on > Debian 7.4 and therefore can’t use the cloudant 
> ones.
> 
> use either `lsb_release -a` or `cat /etc/debian_version` to check that.
> 
> The debian 7.5+ packages are finally current with what CouchDB needs:
> 
> https://gist.github.com/dch/eedbd3fe3351327650e0
> 
> so you should be able to do:
> 
> `apt-get install -y libmozjs185-dev erlang-nox erlang-dev`. If you let me
> know what works for you we can expand the instructions.
> 
> and IIRC what I used for preparing the 1.6.1 release was basically this but 
> in a local VM:
> 
> https://gist.github.com/dch/056de1a8e869000bb7fd
> 
> HTH
> A+
> Dave
> —
> sent from my Couch
> 
> 

Reply via email to