(wrist blog)

twitterはこちら http://twitter.com/wrist

osx

pip install scipyしてコケる時

mountain lionでpip install scipyしたのにranlib: archive member: build/temp.macosx-10.8-x86_64-2.7/libarpack_scipy.a(znaup2.o) cputype (7) does not match previous archive members cputype (16777223) (all members must match)と表示されてscipy…

homebrewでphp5.4.12をインストール

brew tapでリポジトリを追加したらインストールできるはずだがconfigure: error: GD build test failed. Please check the config.log for details.と表示されてコケて調べたのでそのメモ。 このissueを参考にして、freetype, jpeg, libpng, gdを入れなおし…

osxとdebian上でrbenv + ruby-buildを使ってruby 2.0.0-p0をインストール

今更な上に色んな人が書いていますが自分もやってみました。 rbenv, ruby-build rbenvはrvmのような複数バージョンのRubyを管理するためのツールで、 ruby-buildはrbenv installを提供するrbenvのプラグインです。 環境変数でバージョンの切替などができる模…