事前確認事項

インストール

homebrewのインストール方法

aya-Air:~ aya$ /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/man7
/usr/local/share/info
==> 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/man7
/usr/local/share/info 

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/man7 /usr/local/share/info
==> /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/man7 /usr/local/share/info
==> 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/libfuse.2.dylib
/usr/local/lib/libfuse_ino64.2.dylib
/usr/local/lib/libgcc_ext.10.4.dylib
/usr/local/lib/libgcc_ext.10.5.dylib
/usr/local/lib/libgcc_s.1.dylib
/usr/local/lib/libgfortran.3.dylib
/usr/local/lib/libgomp.1.dylib
/usr/local/lib/libquadmath.0.dylib
/usr/local/lib/libssp.0.dylib
/usr/local/lib/libstdc++.6.dylib
= => Installation successful!
Now type: brew help 

brewコマンドの使い方

brew help

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

brew update

updateをすると、git repositoryを作成して、cloneし始めた

aya-Air:~ aya$ brew update
Initialized empty Git repository in /usr/local/.git/
remote: Counting objects: 50697, done.
remote: Compressing objects: 100% (24502/24502), done.
remote: Total 50697 (delta 32284), reused 41433 (delta 25498)
Receiving objects: 100% (50697/50697), 7.32 MiB | 336 KiB/s, done.
Resolving deltas: 100% (32284/32284), done.
From https://github.com/mxcl/homebrew
* [new branch]      gh-pages   -> origin/gh-pages
* [new branch]      master     -> origin/master
HEAD is now at 61853c2 Revamped GraphViz formula
Already up-to-date.

/usr/localに移動してgit logを見ると色々見える

cd /usr/local/
git log

面白い

commit 61853c21811ced7476904dd61d89c5989f241ddd
Author: Camillo Lugaresi <camillo.lugaresi@gmail.com>
Date:   Tue Dec 13 04:13:51 2011 -0600

   Revamped GraphViz formula
    
   - enable Quartz backend
   - Cairo/Pango are now optional; if not enabled, PDF output is done with Quartz
   - enable language bindings by default (option to disable)
   - build GraphViz.app
   
   Closes #9100.
   
   Signed-off-by: Misty De Meo <mistydemeo@gmail.com>

設定箇所

確認方法

エラー時には

参考URL


トップ   編集 凍結 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS
Last-modified: 2012-03-12 (月) 16:54:34 (197d)