the problem was permission
mkdir: /usr/local/var/run/couchdb: Permission denied

I have thought about it a while, and realized something. When I newly
started this MacBookAir after purchased, I mistakenly set the root
password.  Then, I have took some steps to reset the password and key
chain.  I think the permission and ownership were messed up at that time.

sudo chown -R myname /usr/local/var/

did solve the problem. Now couchdb starts without problem.

Thanks for all your help!

soichi


2013/1/8 Robert Newson <[email protected]>

> The combination of brew, /usr/local and sudo makes me a little twitchy
> fwiw. It's been a long time since I had to sudo for brew stuff, and I
> found it awkward.
>
> B.
>
> On 8 January 2013 11:41, Jan Lehnardt <[email protected]> wrote:
> >
> > On Jan 8, 2013, at 11:17 , ishi soichi <[email protected]> wrote:
> >
> >> I tried
> >>
> >> sudo mkdir -p /usr/local/var/{lib,log,run} /usr/local/etc
> >>
> >> but failed. So I pasted the log of the installation
> >>
> >> https://www.friendpaste.com/5MR7k6tr5z48FJWB12pSLi
> >
> > ./configure exits with 0, which means there was no error.
> > Can you paste the part where you see it fail?
> >
> > Best
> > Jan
> > --
> >
> >
> >>
> >> soichi
> >>
> >>
> >> 2013/1/8 Nils Breunese <[email protected]>
> >>
> >>> ishi soichi wrote:
> >>>
> >>>> MacOSX 10.8.2
> >>>> brew 0.9.3
> >>>>
> >>>> I am trying to install couchdb with brew but it fails giving an error
> >>>
> >>> I'm not a brew user, but if you want to run CouchDB right now you could
> >>> just get the ready-to-go Mac OS X build from
> >>> http://couchdb.apache.org/#download
> >>>
> >>> Nils.
> >
>

Reply via email to