wine を Mountain Lion にインストール

手順

$ brew install wine
Error: wine dependency jpeg not installed with:
  --universal

意味が良く分からないのでググった.

http://apple.stackexchange.com/questions/68426/installing-wine-with-homebrew

ふむふむ, jpeg のビルドの方法がマズかったのね. では再度.

$ brew rm jpeg
Uninstalling /usr/local/Cellar/jpeg/8d...

$ brew install jpeg --universal
$ brew install wine
Error: wine dependency jasper not installed with:
  --universal

うっ, また別のライブラリが.

$ brew rm jasper
Uninstalling /usr/local/Cellar/jasper/1.900.1...

$ brew install jasper --universal
$ brew install wine
Error: wine dependency libpng not installed with:
  --universal

$ brew rm libpng
Uninstalling /usr/local/Cellar/libpng/1.5.14...

$ brew install libpng --universal
$ brew install wine
Error: wine dependency libtiff not installed with:
  --universal

$ brew rm libtiff
Uninstalling /usr/local/Cellar/libtiff/4.0.3...
$ brew install libtiff --universal
$ brew install wine
...
Warning: Clang currently miscompiles some parts of Wine. If you have gcc, you
can get a more stable build with:
  brew install wine --use-gcc
...
checking for -lfreetype... not found
configure: error: FreeType 32-bit development files not found. Fonts will not be built.
Use the --without-freetype option if you really want this.

まだまだかかる. Warning が出た gcc のとこはとりあえず無視. 必要なら gcc47 を homebrew で入れてなんとかする.

$ brew install wine --without-freetype

同じエラーで落ちる. なぜだ. 一縷の望みを掛けて freetype を入れ直す.

$ brew rm freetype
Uninstalling /usr/local/Cellar/freetype/2.4.11...
$ brew install freetype --universal
$ brew install wine --without-freetype

ここまでやって, ようやく無事にインストールできた. 長かった.

余談

そもそもは http://gogui.sourceforge.net/doc/programs.html にある「彩」を Mountain ...

Licenses