Try brew remove couchdb and brew cleanup couchdb to check if brew can get rid of the remnants of the install. Then remove macports (really brew is the best! no need to keep macports, promise.) The uninstall instructions for macports are here:
http://guide.macports.org/chunked/installing.macports.uninstalling.html
Then brew install couchdb again.

On Feb 17, 2012, at 10:14 AM, Peng Yu wrote:

Hi,

I tried to used homebrew to install couchdb. But the installation
process hangs (see the bottom). I have macports installed which may
cause some problems. Does anybody see the same problem. Shall I just
kill the installation process and uninstall homebrew? How to clean up
unfinished homebrew installation?

Last login: Thu Feb 16 19:03:52 on ttys002
You have mail.
~$ /usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/Formula/...
/usr/local/Library/Homebrew/...
==> The following directories will be made group writable:
/usr/local/.
/usr/local/bin
/usr/local/include
/usr/local/lib
/usr/local/lib/pkgconfig
/usr/local/share
/usr/local/share/locale
/usr/local/share/man
/usr/local/share/man/man1
/usr/local/share/man/man3
/usr/local/share/doc
==> The following directories will have their group set to admin:
/usr/local/.
/usr/local/bin
/usr/local/include
/usr/local/lib
/usr/local/lib/pkgconfig
/usr/local/share
/usr/local/share/locale
/usr/local/share/man
/usr/local/share/man/man1
/usr/local/share/man/man3
/usr/local/share/doc

Press enter to continue
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local/. /usr/local/bin
/usr/local/include /usr/local/lib /usr/local/lib/pkgconfig
/usr/local/share /usr/local/share/locale /usr/local/share/man
/usr/local/share/man/man1 /usr/local/share/man/man3
/usr/local/share/doc
Password:
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local/. /usr/local/bin
/usr/local/include /usr/local/lib /usr/local/lib/pkgconfig
/usr/local/share /usr/local/share/locale /usr/local/share/man
/usr/local/share/man/man1 /usr/local/share/man/man3
/usr/local/share/doc
==> Downloading and Installing Homebrew...
Warning: The following *evil* dylibs exist in /usr/local/lib
They may break builds or worse. You should consider deleting them:
/usr/local/lib/libfontforge.1.0.0.dylib
/usr/local/lib/libgdraw.4.0.5.dylib
/usr/local/lib/libgioftp.1.0.0.dylib
/usr/local/lib/libgunicode.3.0.0.dylib
/usr/local/lib/libgutils.1.0.3.dylib
/usr/local/lib/libjags.2.dylib
/usr/local/lib/libjags.3.dylib
/usr/local/lib/libjrmath.0.dylib
/usr/local/lib/libtcl8.5.dylib
/usr/local/lib/libtk8.5.dylib
==> Installation successful!
Now type: brew help
~$ brew install couchdb
Warning: It appears you have MacPorts or Fink installed.
Software installed with other package managers causes known problems for Homebrew. If a formula fails to build, uninstall MacPorts/Fink and try again.
==> Installing couchdb dependency: help2man
==> Downloading http://ftpmirror.gnu.org/help2man/help2man-1.40.5.tar.gz
######################################################################## 100.0 %
==> ./configure --prefix=/usr/local/Cellar/help2man/1.40.5
==> make help2man man
==> /usr/bin/gzip help2man.1
/usr/local/Cellar/help2man/1.40.5: 6 files, 88K, built in 31 seconds
==> Installing couchdb dependency: readline
==> Downloading http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz
######################################################################## 100.0 %
==> Downloading patches
######################################################################## 100.0 % ######################################################################## 100.0 %
==> Patching
patching file vi_mode.c
patching file callback.c
patching file support/shobj-conf
patching file patchlevel
==> ./configure --prefix=/usr/local/Cellar/readline/6.2.2 --mandir=/ usr/local/Ce
==> make install
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.

OS X provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.

Generally there are no consequences of this for you.
If you build your own software and it requires this formula, you'll need
to add its lib & include paths to your build variables:

   LDFLAGS  -L/usr/local/Cellar/readline/6.2.2/lib
   CPPFLAGS -I/usr/local/Cellar/readline/6.2.2/include
==> Summary
/usr/local/Cellar/readline/6.2.2: 30 files, 1.6M, built in 47 seconds
==> Installing couchdb dependency: nspr
==> Downloading http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.8.8/src/
######################################################################## 100.0 % ==> ./configure --prefix=/usr/local/Cellar/nspr/4.8.8 --disable- debug --enable-s
==> make
==> make install
Warning: m4 macros were installed to "share/aclocal".
Homebrew does not append "/usr/local/share/aclocal"
to "/usr/share/aclocal/dirlist". If an autoconf script you use
requires these m4 macros, you'll need to add this path manually.
==> Summary
/usr/local/Cellar/nspr/4.8.8: 99 files, 1.6M, built in 22 seconds
==> Installing couchdb dependency: spidermonkey
==> Downloading http://ftp.mozilla.org/pub/mozilla.org/js/js185-1.0.0.tar.gz
######################################################################## 100.0 %
==> Downloading http://ftpmirror.gnu.org/autoconf/autoconf-2.13.tar.gz
######################################################################## 100.0 % ==> ./configure --disable-debug --program-suffix=213 --prefix=/ private/tmp/homeb
==> make install
==> /private/tmp/homebrew-spidermonkey-1.8.5-JGFr/js-1.8.5/ac213/bin/ autoconf213 ==> ../js/src/configure --prefix=/usr/local/Cellar/spidermonkey/ 1.8.5 --enable-r
==> make
==> make install
==> Caveats
This formula installs Spidermonkey 1.8.5.

If you are trying to compile MongoDB from scratch, you will need 1.7.x instead.
==> Summary
/usr/local/Cellar/spidermonkey/1.8.5: 101 files, 13M, built in 3.2 minutes
==> Installing couchdb dependency: icu4c
==> Downloading
http://download.icu-project.org/files/icu4c/4.8.1.1/icu4c-4_8_1_1-src.tgz
######################################################################## 100.0 %
==> ./configure --prefix=/usr/local/Cellar/icu4c/4.8.1.1
--disable-samples --enable-static --wit
==> make
==> make install
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.

Conflicts; see: https://github.com/mxcl/homebrew/issues/issue/167

Generally there are no consequences of this for you.
If you build your own software and it requires this formula, you'll need
to add its lib & include paths to your build variables:

   LDFLAGS  -L/usr/local/Cellar/icu4c/4.8.1.1/lib
   CPPFLAGS -I/usr/local/Cellar/icu4c/4.8.1.1/include
==> Summary
/usr/local/Cellar/icu4c/4.8.1.1: 233 files, 50M, built in 4.4 minutes
==> Installing couchdb dependency: erlang
==> Downloading https://github.com/erlang/otp/tarball/OTP_R15B
######################################################################## 100.0 %
==> Compilation may take a very long time; use `brew install -v
erlang` to see progress
==> ./otp_build autoconf
==> ./configure --disable-debug --prefix=/usr/local/Cellar/erlang/R15B
--enable-kernel-poll --en
==> touch lib/wx/SKIP
==> make
==> make install
==> Downloading http://erlang.org/download/otp_doc_man_R15B.tar.gz
######################################################################## 100.0 %
==> Downloading http://erlang.org/download/otp_doc_html_R15B.tar.gz
######################################################################## 100.0 %
/usr/local/Cellar/erlang/R15B: 6932 files, 264M, built in 17.2 minutes
==> Installing couchdb
==> Downloading
http://www.apache.org/dyn/closer.cgi?path=couchdb/1.1.1/apache-couchdb-1.1.1.tar
==> Best Mirror
http://mirrors.axint.net/apache/couchdb/1.1.1/apache-couchdb-1.1.1.tar.gz
######################################################################## 100.0 %
==> ./configure --prefix=/usr/local/Cellar/couchdb/1.1.1
--localstatedir=/usr/local/var --syscon
==> make



### stopped here.








--
Regards,
Peng

Reply via email to