>

2013年10月6日日曜日

mac os moutain lion (10.8.5) にてmacportsでgettextがインストールできない件

macportsでvtkをインストールしようとしたら依存しているgettextのインストールで失敗したために結果的に失敗してしまった。詳細なエラーコードが残ってなくて申し訳ないのだが次のようなメッセージで失敗している。

 
Error: org.macports.build for port gettext returned: command execution failed
Please see the log file for port gettext for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gettext/gettext/main.log
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: Processing of port gettext failed
一度macportsでインストールしたプログラムを全てアンインストールする
 
$sudo port -f uninstall installed
gettextのインストールを再度試みる。
 
$sudo port install gettext
これでも失敗するのでもう一度gettextを削除する。
 
sudo port clean gettext
gettextのインストールを再度試みる。
 
$sudo port install gettext
するとなんだかよく分からないけどインストールに成功した。