matsuda
11/24/2013 - 4:28 AM

log of setup Homebrew and install development tools in Marvericks

log of setup Homebrew and install development tools in Marvericks

$ 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 8 seconds

$ 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: 8 files, 684K, built in 71 seconds

$ brew install openssl
==> Downloading http://openssl.org/source/openssl-1.0.1e.tar.gz
######################################################################## 100.0%
==> perl ./Configure --prefix=/usr/local/Cellar/openssl/1.0.1e --openssldir=/usr/local/etc/openssl zlib-dynamic shared darwin64-x86_64-cc enable-ec_ni
==> make depend
==> make
==> make test
==> make install MANDIR=/usr/local/Cellar/openssl/1.0.1e/share/man MANSUFFIX=ssl
==> security find-certificate -a -p /Library/Keychains/System.keychain > '/usr/local/etc/openssl/osx_cert.pem.tmp'
==> security find-certificate -a -p /System/Library/Keychains/SystemRootCertificates.keychain >> '/usr/local/etc/openssl/osx_cert.pem.tmp'
==> mv -f /usr/local/etc/openssl/osx_cert.pem.tmp /usr/local/etc/openssl/osx_cert.pem
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.

Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.

The OpenSSL provided by OS X is too old for some software.

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/openssl/lib
    CPPFLAGS: -I/usr/local/opt/openssl/include

==> Summary
  /usr/local/Cellar/openssl/1.0.1e: 429 files, 15M, built in 4.0 minutes
$ brew install readline
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/readline-6.2.4.mavericks.bottle.1.tar.gz
######################################################################## 100.0%
==> Pouring readline-6.2.4.mavericks.bottle.1.tar.gz
==> 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: 31 files, 1.6M
$ brew install git
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/git-1.8.4.3.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring git-1.8.4.3.mavericks.bottle.tar.gz
==> 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

Bash completion has been installed to:
  /usr/local/etc/bash_completion.d

zsh completion has been installed to:
  /usr/local/share/zsh/site-functions
==> Summary
  /usr/local/Cellar/git/1.8.4.3: 1343 files, 29M
$ ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go/install)"
==> This script will install:
/usr/local/bin/brew
/usr/local/Library/...
/usr/local/share/man/man1/brew.1

Press ENTER to continue or any other key to abort
==> /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...


Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.


==> Installation successful!
You should run `brew doctor' *before* you install anything.
Now type: brew help

# doctorを実行。ただしエラーに
$ brew doctor


Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.




Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.




Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.




Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.




Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.


Warning: A newer Command Line Tools release is available
Update them from Software Update in the App Store.

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

# 一度Xcodeを起動してから、再度doctorを実行
$ brew doctor
Your system is ready to brew.