2014年8月27日水曜日

homebrew + MORSE リベンジ その2 MORSE インストール失敗したでござる

さて、昨日の続きです。
昨日、blender3.4.0がインストールできたので、今日はいよいよMORSEのインストールです。

MORSEのページ(macにインストール)に従って、ターミナルに入力してエンター…
brew tap morse-simulator/morse

Warning: Already tapped!
え?
気にせずに次!
brew install morse-simulator
-- Configuring incomplete, errors occurred!
See also "/tmp/morse-simulator-RYoWzR/CMakeFiles/CMakeOutput.log".

READ THIS: https://github.com/Homebrew/homebrew/wiki/troubleshooting
If reporting this issue please do so at (not Homebrew/homebrew):

  https://github.com/morse-simulator/homebrew-morse/issues

うぇ!


sudo chown -R $taichis-air-13 /usr/local

export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/Cellar/python3/3.4.0_1/Frameworks/Python.framework/Versions/3.4/lib/pkgconfig

brew install morse-simulator
-- Configuring incomplete, errors occurred!以下同文

あ、あかん。
わからん。
昼休み終了!
本日は失敗!!

2014年8月26日火曜日

homebrew + MORSE リベンジ その1 (python 3.4.0のインストールまで)

Blender のversionが2.71になり、pythonのversionが3.4.0になっていたので、以前あきらめていたMORSEを導入してみようと思います。

With Homebrew on OSX

この↑ページに従ってやってみます。

なんと!「ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"」が、早速動かない…

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"」で動きました(出典)。
すると、すでにインストールされてるよーというメッセージが。
それに従って再インストールを行います。ここは問題なし。

その後、お決まりの「brew doctor」。

python is symlinked to python3 pythonを削除しきれていなかったようです。
Broken symlinks were found. Remove them with `brew prune`: こちらを先にやってみて、もういちどドクターを呼びましょう。

もう一度出ましたpython is symlinked to python3。ptyhon3関係のファイルは削除してあるので、.bash_profile からpython関係のパス指定を削除して、ターミナルを再起動してみます。そんで、もいちどドクター!
Your system is ready to brew.
しめしめ(笑)

ではpythonをインストーーーールと行きたいところですがblender用にversionをあわせなければなりません。今回は3.4.0です。最上部のMORSEのページによると
The provided hash can be found by running: brew versions python3」ということなので「brew versions python3」をターミナルで実行してみると「Warning: brew-versions is unsupported and will be removed soon.You should use the homebrew-versions tap instead:
  https://github.com/Homebrew/homebrew-versions」な〜んて言われますが、分かんないし、目的の 3.4.0    git checkout b7b038f /usr/local/Library/Formula/python3.rb は表示されてるんで、さっさと次にいきます。

またこのMORSEのページに従って
cd /usr/local
「git checkout b7b038f /usr/local/Library/Formula/python3.rb」をターミナルに入力&エンター。しかる後に、「brew install python3」以下同文。


 /usr/local/Cellar/python3/3.4.0_1: 3721 files, 64M

できたみたいですね〜

念のため
「python --version」
Python 2.7.5

「python3 --version」

Python 3.4.0

よいよい!

今日はここまで