Created
April 6, 2012 18:56
-
-
Save ddewaele/2322065 to your computer and use it in GitHub Desktop.
CouchDB on OS X Lion using HomeBrew
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Davys-MacBook-Air:Projects ddewaele$ cd Node | |
Davys-MacBook-Air:Node ddewaele$ ls l | |
ls: l: No such file or directory | |
Davys-MacBook-Air:Node ddewaele$ git clone https://github.com/mxcl/homebrew.git | |
Cloning into homebrew... | |
remote: Counting objects: 62583, done. | |
remote: Compressing objects: 100% (26452/26452), done. | |
remote: Total 62583 (delta 41221), reused 53680 (delta 35342) | |
Receiving objects: 100% (62583/62583), 9.34 MiB | 565 KiB/s, done. | |
Resolving deltas: 100% (41221/41221), done. | |
Davys-MacBook-Air:Node ddewaele$ ls -l | |
total 0 | |
drwxr-xr-x 8 ddewaele staff 272 Apr 1 17:10 homebrew | |
Davys-MacBook-Air:Node ddewaele$ cd homebrew/ | |
Davys-MacBook-Air:homebrew ddewaele$ ls -l | |
total 8 | |
drwxr-xr-x 6 ddewaele staff 204 Apr 1 17:10 Library | |
-rw-r--r-- 1 ddewaele staff 789 Apr 1 17:10 README.md | |
drwxr-xr-x 3 ddewaele staff 102 Apr 1 17:10 bin | |
drwxr-xr-x 3 ddewaele staff 102 Apr 1 17:10 share | |
Davys-MacBook-Air:homebrew ddewaele$ cd bin/ | |
Davys-MacBook-Air:bin ddewaele$ ls -l | |
total 8 | |
-rwxr-xr-x 1 ddewaele staff 3311 Apr 1 17:10 brew | |
Davys-MacBook-Air:bin ddewaele$ ./brew | |
Example usage: | |
brew install FORMULA... | |
brew uninstall FORMULA... | |
brew search [foo] | |
brew list [FORMULA...] | |
brew update | |
brew upgrade [FORMULA...] | |
brew [info | home] [FORMULA...] | |
Troubleshooting: | |
brew doctor | |
brew install -vd FORMULA | |
brew [--env | --config] | |
Brewing: | |
brew create [URL [--no-fetch]] | |
brew edit [FORMULA...] | |
open https://github.com/mxcl/homebrew/wiki/Formula-Cookbook | |
Further help: | |
man brew | |
brew home | |
Davys-MacBook-Air:bin ddewaele$ brew install autoconf automake libtool | |
-bash: brew: command not found | |
Davys-MacBook-Air:bin ddewaele$ ./brew install autoconf automake libtool | |
Warning: You have Xcode 4.2, which is outdated. | |
Please install Xcode 4.3. | |
==> Downloading http://ftpmirror.gnu.org/autoconf/autoconf-2.68.tar.gz | |
######################################################################## 100.0% | |
==> Patching | |
patching file bin/autoreconf.in | |
==> ./configure --prefix=/Users/ddewaele/Projects/Node/homebrew/Cellar/autoconf/ | |
==> make install | |
==> Caveats | |
This formula is keg-only, so it was not symlinked into /Users/ddewaele/Projects/Node/homebrew. | |
Xcode (up to and including 4.2) provides (a rather old) Autoconf. | |
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/Users/ddewaele/Projects/Node/homebrew/Cellar/autoconf/2.68/lib | |
CPPFLAGS -I/Users/ddewaele/Projects/Node/homebrew/Cellar/autoconf/2.68/include | |
==> Summary | |
/Users/ddewaele/Projects/Node/homebrew/Cellar/autoconf/2.68: 66 files, 2.6M, built in 9 seconds | |
==> Downloading http://ftpmirror.gnu.org/automake/automake-1.11.3.tar.gz | |
######################################################################## 100.0% | |
==> ./configure --prefix=/Users/ddewaele/Projects/Node/homebrew/Cellar/automake/ | |
==> make install | |
==> Caveats | |
This formula is keg-only, so it was not symlinked into /Users/ddewaele/Projects/Node/homebrew. | |
Xcode (up to and including 4.2) provides (a rather old) Automake. | |
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/Users/ddewaele/Projects/Node/homebrew/Cellar/automake/1.11.3/lib | |
CPPFLAGS -I/Users/ddewaele/Projects/Node/homebrew/Cellar/automake/1.11.3/include | |
==> Summary | |
/Users/ddewaele/Projects/Node/homebrew/Cellar/automake/1.11.3: 136 files, 1.7M, built in 6 seconds | |
==> Downloading http://ftpmirror.gnu.org/libtool/libtool-2.4.2.tar.gz | |
######################################################################## 100.0% | |
==> ./configure --prefix=/Users/ddewaele/Projects/Node/homebrew/Cellar/libtool/2 | |
==> make install | |
==> Caveats | |
In order to prevent conflicts with Apple's own libtool we have prepended a "g" | |
so, you have instead: glibtool and glibtoolize. | |
==> Caveats | |
This formula is keg-only, so it was not symlinked into /Users/ddewaele/Projects/Node/homebrew. | |
Xcode (up to and including 4.2) provides (a rather old) Libtool. | |
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/Users/ddewaele/Projects/Node/homebrew/Cellar/libtool/2.4.2/lib | |
CPPFLAGS -I/Users/ddewaele/Projects/Node/homebrew/Cellar/libtool/2.4.2/include | |
==> Summary | |
/Users/ddewaele/Projects/Node/homebrew/Cellar/libtool/2.4.2: 64 files, 2.1M, built in 14 seconds | |
Davys-MacBook-Air:bin ddewaele$ brew install couchdb | |
-bash: brew: command not found | |
Davys-MacBook-Air:bin ddewaele$ ./brew install couchdb | |
Warning: You have Xcode 4.2, which is outdated. | |
Please install Xcode 4.3. | |
==> Installing couchdb dependency: help2man | |
==> Downloading http://ftpmirror.gnu.org/help2man/help2man-1.40.7.tar.gz | |
######################################################################## 100.0% | |
==> ./configure --prefix=/Users/ddewaele/Projects/Node/homebrew/Cellar/help2man/ | |
==> make help2man man | |
==> /usr/bin/gzip help2man.1 | |
Warning: /Users/ddewaele/Projects/Node/homebrew/bin is not in your PATH | |
You can amend this by altering your ~/.bashrc file | |
==> Summary | |
/Users/ddewaele/Projects/Node/homebrew/Cellar/help2man/1.40.7: 6 files, 88K, built in 2 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=/Users/ddewaele/Projects/Node/homebrew/Cellar/readline/ | |
==> make install | |
==> Caveats | |
This formula is keg-only, so it was not symlinked into /Users/ddewaele/Projects/Node/homebrew. | |
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/Users/ddewaele/Projects/Node/homebrew/Cellar/readline/6.2.2/lib | |
CPPFLAGS -I/Users/ddewaele/Projects/Node/homebrew/Cellar/readline/6.2.2/include | |
==> Summary | |
/Users/ddewaele/Projects/Node/homebrew/Cellar/readline/6.2.2: 30 files, 1.6M, built in 21 seconds | |
==> Installing couchdb dependency: nspr | |
==> Downloading http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.8.8/src/ | |
######################################################################## 100.0% | |
==> ./configure --prefix=/Users/ddewaele/Projects/Node/homebrew/Cellar/nspr/4.8. | |
==> make | |
==> make install | |
Warning: Non-executables were installed to "bin". | |
Installing non-executables to "bin" is bad practice. | |
The offending files are: | |
/Users/ddewaele/Projects/Node/homebrew/Cellar/nspr/4.8.8/bin/prerr.properties | |
Warning: m4 macros were installed to "share/aclocal". | |
Homebrew does not append "/Users/ddewaele/Projects/Node/homebrew/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. | |
Warning: /Users/ddewaele/Projects/Node/homebrew/bin is not in your PATH | |
You can amend this by altering your ~/.bashrc file | |
==> Summary | |
/Users/ddewaele/Projects/Node/homebrew/Cellar/nspr/4.8.8: 99 files, 1.6M, built in 15 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-avGj/js-1.8.5/ac213/bin/autoconf213 | |
==> ../js/src/configure --prefix=/Users/ddewaele/Projects/Node/homebrew/Cellar/s | |
==> 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. | |
Warning: /Users/ddewaele/Projects/Node/homebrew/bin is not in your PATH | |
You can amend this by altering your ~/.bashrc file | |
==> Summary | |
/Users/ddewaele/Projects/Node/homebrew/Cellar/spidermonkey/1.8.5: 101 files, 12M, built in 2.2 minutes | |
==> Installing couchdb dependency: icu4c | |
==> Downloading http://download.icu-project.org/files/icu4c/4.8.1.1/icu4c-4_8_1_ | |
######################################################################## 100.0% | |
==> ./configure --prefix=/Users/ddewaele/Projects/Node/homebrew/Cellar/icu4c/4.8 | |
==> make | |
==> make install | |
==> Caveats | |
This formula is keg-only, so it was not symlinked into /Users/ddewaele/Projects/Node/homebrew. | |
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/Users/ddewaele/Projects/Node/homebrew/Cellar/icu4c/4.8.1.1/lib | |
CPPFLAGS -I/Users/ddewaele/Projects/Node/homebrew/Cellar/icu4c/4.8.1.1/include | |
==> Summary | |
/Users/ddewaele/Projects/Node/homebrew/Cellar/icu4c/4.8.1.1: 233 files, 50M, built in 3.8 minutes | |
==> Installing couchdb dependency: erlang | |
==> Downloading https://github.com/erlang/otp/tarball/OTP_R15B | |
######################################################################## 100.0% | |
==> Compilation takes a long time; use `brew install -v erlang` to see progress | |
==> ./otp_build autoconf | |
==> ./configure --disable-debug --prefix=/Users/ddewaele/Projects/Node/homebrew/ | |
==> 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% | |
Warning: /Users/ddewaele/Projects/Node/homebrew/bin is not in your PATH | |
You can amend this by altering your ~/.bashrc file | |
==> Summary | |
/Users/ddewaele/Projects/Node/homebrew/Cellar/erlang/R15B: 6932 files, 268M, built in 16.5 minutes | |
==> Installing couchdb | |
==> Downloading http://www.apache.org/dyn/closer.cgi?path=couchdb/1.1.1/apache-c | |
==> Best Mirror http://apache.megamobile.be/couchdb/1.1.1/apache-couchdb-1.1.1.t | |
######################################################################## 100.0% | |
==> ./configure --prefix=/Users/ddewaele/Projects/Node/homebrew/Cellar/couchdb/1 | |
==> make | |
------- This is where it stalled...... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment