matsuda
9/23/2012 - 11:34 AM

log of installing Homebrew

log of installing Homebrew

$ brew install wget
==> Downloading http://ftpmirror.gnu.org/wget/wget-1.14.tar.gz
######################################################################## 100.0%
==> ./configure --prefix=/usr/local/Cellar/wget/1.14 --sysconfdir=/usr/local/etc --with-ssl=openssl --disable-iri
==> make install
/usr/local/Cellar/wget/1.14: 7 files, 676K, built in 63 seconds
$ brew install lv
==> Downloading http://www.ff.iij4u.or.jp/~nrt/freeware/lv451.tar.gz
######################################################################## 100.0%
==> ../src/configure --prefix=/usr/local/Cellar/lv/4.51
==> make
/usr/local/Cellar/lv/4.51: 5 files, 500K, built in 4 seconds
$ brew install readline
==> Downloading http://ftpmirror.gnu.org/readline/readline-6.2.tar.gz
######################################################################## 100.0%
==> Patching
patching file callback.c
patching file input.c
patching file patchlevel
patching file support/shobj-conf
patching file vi_mode.c
==> ./configure --prefix=/usr/local/Cellar/readline/6.2.4 --mandir=/usr/local/Cellar/readline/6.2.4/share/man --infodir=/usr/local/Cellar/readline/6.2.4/share/i
==> 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 to your
build variables:

    LDFLAGS:  -L/usr/local/opt/readline/lib
    CPPFLAGS: -I/usr/local/opt/readline/include

==> Summary
/usr/local/Cellar/readline/6.2.4: 30 files, 1.6M, built in 20 seconds

$ brew link readline
Linking /usr/local/Cellar/readline/6.2.4... 13 symlinks created
$ ln -s /usr/local/etc/bash_completion.d/git-completion.bash ~/git-completion
$ brew install git
==> Downloading http://git-core.googlecode.com/files/git-1.7.12.1.tar.gz
######################################################################## 100.0%
==> make prefix=/usr/local/Cellar/git/1.7.12.1 CC=cc CFLAGS= LDFLAGS= install
==> make CC=cc CFLAGS= LDFLAGS=
==> make clean
==> Downloading http://git-core.googlecode.com/files/git-manpages-1.7.12.1.tar.gz
######################################################################## 100.0%
==> Downloading http://git-core.googlecode.com/files/git-htmldocs-1.7.12.1.tar.gz
######################################################################## 100.0%
==> Caveats
The OS X keychain credential helper has been installed to:
  /usr/local/bin/git-credential-osxkeychain

The 'contrib' directory has been installed to:
  /usr/local/share/git-core/contrib
==> Caveats
Bash completion has been installed to:
  /usr/local/etc/bash_completion.d
==> Summary
/usr/local/Cellar/git/1.7.12.1: 1239 files, 24M, built in 54 seconds
$ ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1

Press enter to continue
==> /usr/bin/sudo /bin/mkdir /usr/local

WARNING: Improper use of the sudo command could lead to data loss
or the deletion of important system files. Please double-check your
typing when using sudo. Type "man sudo" for more information.

To proceed, enter your password, or type Ctrl-C to abort.

Password:
==> /usr/bin/sudo /bin/chmod g+rwx /usr/local
==> /usr/bin/sudo /usr/bin/chgrp admin /usr/local
==> Downloading and Installing Homebrew...
remote: Counting objects: 83634, done.
remote: Compressing objects: 100% (39601/39601), done.
remote: Total 83634 (delta 57809), reused 66424 (delta 43208)
Receiving objects: 100% (83634/83634), 11.83 MiB | 110 KiB/s, done.
Resolving deltas: 100% (57809/57809), done.
From https://github.com/mxcl/homebrew
 * [new branch]      master     -> origin/master
HEAD is now at 4b7554c Updated taglib formula to use taglib 1.8
==> Installation successful!
You should run `brew doctor' *before* you install anything.
Now type: brew help

# error!
$ brew doctor
Warning: You have not agreed to the Xcode license.
Builds will fail! Agree to the license by opening Xcode.app or running:
    xcodebuild -license

# again!
$ brew doctor
Your system is raring to brew.