Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

couchdb 1.1.0 install failure #7024

Closed
rybesh opened this issue Aug 15, 2011 · 22 comments
Closed

couchdb 1.1.0 install failure #7024

rybesh opened this issue Aug 15, 2011 · 22 comments

Comments

@rybesh
Copy link
Contributor

rybesh commented Aug 15, 2011

Install fails at:

/usr/local/Library/Homebrew/install.rb:38:in `dump': no marshal_dump is defined for class StringIO (TypeError)

brew install -v couchdb: https://gist.github.com/1147045
brew doctor: https://gist.github.com/1147046

@adamv
Copy link
Contributor

adamv commented Aug 15, 2011

Gist your brew --config please.

@rybesh
Copy link
Contributor Author

rybesh commented Aug 15, 2011

brew --config: https://gist.github.com/1147077

@rybesh
Copy link
Contributor Author

rybesh commented Aug 15, 2011

After removing and re-installing Erlang, now "brew install couchdb" just hangs (or maybe it's just taking a really long time).

@rybesh
Copy link
Contributor Author

rybesh commented Aug 15, 2011

But "brew install -v couchdb" runs without problems, and the install completes. Weird.

@adamv adamv closed this as completed Sep 2, 2011
@simleb
Copy link

simleb commented Dec 14, 2011

Same problem here:

  1. install was hanging
  2. I killed it (Ctrl-C)
  3. I retried (without -v) and it worked fine

@mandeluna
Copy link

same here. hangs during make, so maybe there's a circular dependency

@Damion
Copy link

Damion commented Feb 7, 2012

yup - hung for 2hrs on make. (had no idea how long it should take)

Thank you rybesh, simleb. killed it, and it and "brew install -v couchdb" was finished in 35 seconds.

@dch
Copy link
Contributor

dch commented Feb 11, 2012

for completeness, I've never had this for CouchDB any version. Would be interested to know what version of erlang was used and if there are any brew logs available.

@StephanHoyer
Copy link

same here

@emjayess
Copy link

This just happened to me; I clean-installed Lion just a week ago. If it helps...

erl -version
reports
Erlang (SMP,ASYNC_THREADS,HIPE) (BEAM) emulator version 5.9

@vish86
Copy link

vish86 commented Apr 23, 2012

Same thing happened to me as well, Killed it and reinstalled with a -v and finished in 30 seconds. Thanks for your comments!

@dch
Copy link
Contributor

dch commented Apr 24, 2012

@vish86 for clarity is this after installing 1.2.0 from the new recipes?

In particular I'd like to know if the instructions in http://wiki.apache.org/couchdb/Installing_on_OSX were done - i.e. this happens on the newer R15B01 erlang as well.

Not sure if I can help resolve it as I've never had the issue myself.

@DaveEveritt
Copy link

Same hang - with a first install of homebrew - brew install couchdb hung at make install. Killed the job, brew install -v couchdb completed in 90 seconds. OS X 10.5.8, Erlang R15B01.

@dch
Copy link
Contributor

dch commented Apr 29, 2012

@DaveEveritt thanks, if I understand this you are using homebrew for the first time, and a (relatively) old Mac OS X version? What C compiler or XCode version? Until somebody catches a log of this happening, I don't see much chance of tracking this down.

@DaveEveritt
Copy link

Yes, installed Homebrew today to get CouchDB easily. It's Leopard, XCode 3.1.4, gcc -v Target: i686-apple-darwin9 [...] gcc version 4.0.1 (Apple Inc. build 5493). Let me know if you need more, like my terminal readout, which I can save...

@DaveEveritt
Copy link

On killing the process, there were some (possibly) interesting messages - see the bottom of this terminal readout of brew install couchdb.

@dch
Copy link
Contributor

dch commented Apr 29, 2012

On 29 April 2012 20:06, David Everitt
reply@reply.github.com
wrote:

On killing the process, there were some (possibly) interesting messages - see the bottom of this terminal readout of brew install couchdb.


Reply to this email directly or view it on GitHub:
#7024 (comment)

Thanks David, those messages look like a brew stacktrace, so not too helpful.

If its not inconvenient, try running this in a loop:

brew remove couchdb && brew install -d couchdb

If it has issues or failures, it should dump you into a shell & allow
saving config.log etc somewhere helpful.

thanks!

@DaveEveritt
Copy link

Before I try that - I ran brew doctor and the results are here (plenty of warnings). Although one states that homebrew isn't installed to /usr/local, it's there - and working - at /usr/local/homebrew ? BTW I previously used /usr/local for other installs (mysql, mongo...)

@chrisballinger
Copy link
Contributor

It hung for me as well on make install while installing version 1.2.0. I was able to fix it by running brew install -v couchdb. Thanks!

@fmquaglia
Copy link

Same here, trying to install 1.2.0 on Mountain Lion.

It hung on make install as well.
Running brew install -v couchdb fixed it.
Thanks a lot @rybesh

@adamv adamv reopened this Oct 22, 2012
@adamv
Copy link
Contributor

adamv commented Oct 23, 2012

Please open a new issue if there are install failures; this is a very old bug about a previous version.

@adamv adamv closed this as completed Oct 23, 2012
@natevw
Copy link

natevw commented Sep 6, 2013

This is still happening with CouchDB 1.4.0-1, not sure I have much to contribute to a new issue, but I don't think it has much to do with Erlang or the like. The build was simply hung with a few libtool processes just sitting there. ^C and then try again, it quickly finished up without issue.

@Homebrew Homebrew locked and limited conversation to collaborators Feb 16, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests