From: MORIOKA Tomohiko Date: Thu, 7 Nov 2013 10:02:48 +0000 (+0900) Subject: - Use apple-gcc42 instead of X-Git-Url: http://git.chise.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=435bf87f87694615aa5519d9aefc2f35af938358;p=chise%2Fchise-base.git - 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. --- 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