You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by "Jim R. Wilson" <wi...@gmail.com> on 2010/05/08 05:03:34 UTC

0.11 on Ubuntu 10.04 (lucid lynx)

Quick question - what's the easiest (most relaxing) way to install
couchdb 0.11 on Ubuntu lucid lynx?  Should I compile from source?
Should I add debian unstable to my sources.list?  Should I just wait?

Thanks in advance for any tips!

-- Jim R. Wilson (jimbojw)

Re: 0.11 on Ubuntu 10.04 (lucid lynx)

Posted by David Goodlad <da...@goodlad.ca>.
On Sat, May 8, 2010 at 7:29 PM, Julian Moritz <ma...@julianmoritz.de> wrote:
> Hi Jim,
>
> Am 08.05.2010 05:03, schrieb Jim R. Wilson:
>> Quick question - what's the easiest (most relaxing) way to install
>> couchdb 0.11 on Ubuntu lucid lynx?  Should I compile from source?
>> Should I add debian unstable to my sources.list?  Should I just wait?
>>
>
> I'm installing it from source without using libmozjs. Install all the
> packages named in the "INSTALL.Unix" but not the libmozjs, instead I'm
> using the libxulrunner from mozilla.

If, like me, you don't want to bring in all of libxulrunner's
dependencies (x11!) on your server, I'd suggest installing the js lib
from source as well. I have a set of babushka (http://babushka.me/)
deps at http://github.com/dgoodlad/babushka-deps that will get couch
installed from source if you're interested.

Dave

Re: 0.11 on Ubuntu 10.04 (lucid lynx)

Posted by Julian Moritz <ma...@julianmoritz.de>.
Hi Jim,

Am 08.05.2010 05:03, schrieb Jim R. Wilson:
> Quick question - what's the easiest (most relaxing) way to install
> couchdb 0.11 on Ubuntu lucid lynx?  Should I compile from source?
> Should I add debian unstable to my sources.list?  Should I just wait?
> 

I'm installing it from source without using libmozjs. Install all the
packages named in the "INSTALL.Unix" but not the libmozjs, instead I'm
using the libxulrunner from mozilla.

Then I use the following script to compile couchdb:

http://pastebin.com/Uq2LLAr5

Maybe the first line isn't necessary. Maybe you have to make the paths
fit to your system (for my system they do).

After that you can relax.

Regards
Julian

> Thanks in advance for any tips!
> 
> -- Jim R. Wilson (jimbojw)
> 

Re: 0.11 on Ubuntu 10.04 (lucid lynx)

Posted by James Marca <jm...@translab.its.uci.edu>.
On Tue, May 11, 2010 at 09:40:06PM -0700, J Chris Anderson wrote:
> 
> On May 10, 2010, at 12:19 PM, James Marca wrote:
> 
> > On Fri, May 07, 2010 at 11:03:34PM -0400, Jim R. Wilson wrote:
> >> Quick question - what's the easiest (most relaxing) way to install
> >> couchdb 0.11 on Ubuntu lucid lynx?  Should I compile from source?
> >> Should I add debian unstable to my sources.list?  Should I just wait?
> >> 
> >> Thanks in advance for any tips!
> >> 
> >> -- Jim R. Wilson (jimbojw)
> > 
> > If you're *not* running Ubuntu server, but rather running some variant
> > of Ubuntu desktop, I'd strongly recommend compiling from source and
> > keeping the default prefix of /usr/local.  I am testing ubuntu on my
> > laptop after using slackware and gentoo for years, and didn't realize
> > that ubuntu comes standard with couchdb---but it ships with version
> > 0.10.x.  Installing 0.11.x couchdb will create conflicts, and then
> > stuff like gwibber and Ubuntu One crash and die and or you get strange
> > issues with couchdb trying and failing to start as these programs fire
> > up, etc.  I had to do a lot of removing and reinstalling to fix that
> > mistake.  
> > 
> > Because 0.11.x is in /usr/local, directly copying the 
> > 
> >   sudo update-rc.d couchdb defaults
> > 
> > incantation in INSTALL.Unix will cause the /etc/init.d/couchdb version
> > to fire up every time, staring 0.10, not 0.11.x.  I'm completely
> > unfamiliar with the "ubuntu way" of manipulating rc.d/init.d, so I
> > just forced it as follows (just typing from memory, do not cut and
> > paste blindly):
> > 
> > sudo mv /etc/init.d/couchdb /etc/init.d/couchdb.0.10.donotuse
> > sudo ln -sf /usr/local/etc/init.d/couchdb /etc/init.d/couchdb
> > 
> > then ran the sudo update-rc.d line.
> > 
> > Other than that caveat, I found all of the tips on the couchdb wiki
> > for ubuntu to be very helpful.
> > 
> 
> This is a good write-up. I had a feeling there were some hoops on Ubuntu when you want to run from source. Thanks for documenting. Should this go on the wiki?
> 
> Chris

sure I'll paste it in if someone else hasn't beaten me to it.

James

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Re: 0.11 on Ubuntu 10.04 (lucid lynx)

Posted by J Chris Anderson <jc...@gmail.com>.
On May 10, 2010, at 12:19 PM, James Marca wrote:

> On Fri, May 07, 2010 at 11:03:34PM -0400, Jim R. Wilson wrote:
>> Quick question - what's the easiest (most relaxing) way to install
>> couchdb 0.11 on Ubuntu lucid lynx?  Should I compile from source?
>> Should I add debian unstable to my sources.list?  Should I just wait?
>> 
>> Thanks in advance for any tips!
>> 
>> -- Jim R. Wilson (jimbojw)
> 
> If you're *not* running Ubuntu server, but rather running some variant
> of Ubuntu desktop, I'd strongly recommend compiling from source and
> keeping the default prefix of /usr/local.  I am testing ubuntu on my
> laptop after using slackware and gentoo for years, and didn't realize
> that ubuntu comes standard with couchdb---but it ships with version
> 0.10.x.  Installing 0.11.x couchdb will create conflicts, and then
> stuff like gwibber and Ubuntu One crash and die and or you get strange
> issues with couchdb trying and failing to start as these programs fire
> up, etc.  I had to do a lot of removing and reinstalling to fix that
> mistake.  
> 
> Because 0.11.x is in /usr/local, directly copying the 
> 
>   sudo update-rc.d couchdb defaults
> 
> incantation in INSTALL.Unix will cause the /etc/init.d/couchdb version
> to fire up every time, staring 0.10, not 0.11.x.  I'm completely
> unfamiliar with the "ubuntu way" of manipulating rc.d/init.d, so I
> just forced it as follows (just typing from memory, do not cut and
> paste blindly):
> 
> sudo mv /etc/init.d/couchdb /etc/init.d/couchdb.0.10.donotuse
> sudo ln -sf /usr/local/etc/init.d/couchdb /etc/init.d/couchdb
> 
> then ran the sudo update-rc.d line.
> 
> Other than that caveat, I found all of the tips on the couchdb wiki
> for ubuntu to be very helpful.
> 

This is a good write-up. I had a feeling there were some hoops on Ubuntu when you want to run from source. Thanks for documenting. Should this go on the wiki?

Chris

> regards,
> James
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 


Re: 0.11 on Ubuntu 10.04 (lucid lynx)

Posted by James Marca <jm...@translab.its.uci.edu>.
On Fri, May 07, 2010 at 11:03:34PM -0400, Jim R. Wilson wrote:
> Quick question - what's the easiest (most relaxing) way to install
> couchdb 0.11 on Ubuntu lucid lynx?  Should I compile from source?
> Should I add debian unstable to my sources.list?  Should I just wait?
> 
> Thanks in advance for any tips!
> 
> -- Jim R. Wilson (jimbojw)

If you're *not* running Ubuntu server, but rather running some variant
of Ubuntu desktop, I'd strongly recommend compiling from source and
keeping the default prefix of /usr/local.  I am testing ubuntu on my
laptop after using slackware and gentoo for years, and didn't realize
that ubuntu comes standard with couchdb---but it ships with version
0.10.x.  Installing 0.11.x couchdb will create conflicts, and then
stuff like gwibber and Ubuntu One crash and die and or you get strange
issues with couchdb trying and failing to start as these programs fire
up, etc.  I had to do a lot of removing and reinstalling to fix that
mistake.  

Because 0.11.x is in /usr/local, directly copying the 

   sudo update-rc.d couchdb defaults

incantation in INSTALL.Unix will cause the /etc/init.d/couchdb version
to fire up every time, staring 0.10, not 0.11.x.  I'm completely
unfamiliar with the "ubuntu way" of manipulating rc.d/init.d, so I
just forced it as follows (just typing from memory, do not cut and
paste blindly):

sudo mv /etc/init.d/couchdb /etc/init.d/couchdb.0.10.donotuse
sudo ln -sf /usr/local/etc/init.d/couchdb /etc/init.d/couchdb

then ran the sudo update-rc.d line.

Other than that caveat, I found all of the tips on the couchdb wiki
for ubuntu to be very helpful.

regards,
James

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.


Re: 0.11 on Ubuntu 10.04 (lucid lynx)

Posted by Benoit Chesneau <bc...@gmail.com>.
On Sat, May 8, 2010 at 5:03 AM, Jim R. Wilson <wi...@gmail.com> wrote:
> Quick question - what's the easiest (most relaxing) way to install
> couchdb 0.11 on Ubuntu lucid lynx?  Should I compile from source?
> Should I add debian unstable to my sources.list?  Should I just wait?
>
> Thanks in advance for any tips!
>
> -- Jim R. Wilson (jimbojw)
>

http://wiki.apache.org/couchdb/Installing_on_Ubuntu

- benoît