From 435bf87f87694615aa5519d9aefc2f35af938358 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Thu, 7 Nov 2013 19:02:48 +0900 Subject: [PATCH] - Use apple-gcc42 instead of https://raw.github.com/Homebrew/homebrew-dupes/master/gcc.rb. (IMAKECPP): Use /usr/local/bin/cpp-4.2 instead of /usr/local/bin/cpp-4.7. - Use "brew tap chise/cjkv". - Use gcc-4.2 to compile CHISE-base. --- bootstrap.homebrew | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/bootstrap.homebrew b/bootstrap.homebrew index d99212f..2ca3586 100755 --- a/bootstrap.homebrew +++ b/bootstrap.homebrew @@ -3,9 +3,10 @@ brew update brew upgrade -brew install https://raw.github.com/Homebrew/homebrew-dupes/master/gcc.rb \ - --use-llvm -export IMAKECPP=/usr/local/bin/cpp-4.7 +#brew install https://raw.github.com/Homebrew/homebrew-dupes/master/gcc.rb \ +# --use-llvm +brew install apple-gcc42 +export IMAKECPP=/usr/local/bin/cpp-4.2 brew -v install libtiff brew -v install openjpeg @@ -24,10 +25,16 @@ then sudo ${brew_prefix}/sbin/cannakill fi -(cd ${brew_prefix}; git pull https://github.com/chise/homebrew/) +#(cd ${brew_prefix}; git pull https://github.com/chise/homebrew/) + +#brew -v install canna +#brew upgrade + +brew tap chise/cjkv +( cd /usr/local/Library/Taps/chise-cjkv ; \ + git remote set-url origin git@github.com:chise/homebrew-cjkv.git) +brew -v install /usr/local/Library/Taps/chise-cjkv/Library/Formula/canna.rb -brew -v install canna -brew upgrade sudo sh -c "sed 's/rc\.canna/rc.canna-root/' \ < ${brew_prefix}`ls -l ${brew_prefix}/sbin/cannaserver \ @@ -38,7 +45,7 @@ sudo launchctl load -w /Library/LaunchDaemons/homebrew.mxcl.canna.plist brew -v install wget -./configure \ +CC=gcc-4.2 ./configure \ --with-site-includes=/usr/X11/include \ --with-site-libraries=/usr/X11/lib \ --with-canna -- 1.7.10.4