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
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 \
brew -v install wget
-./configure \
+CC=gcc-4.2 ./configure \
--with-site-includes=/usr/X11/include \
--with-site-libraries=/usr/X11/lib \
--with-canna