[Tips] Octave,そしてDarwinPorts
Octaveのインストールがうまくいかない.
そういうことで,DarwinPorts経由でのインストールを試みる.
DarwinPortsとは,MacOSX用のパッケージ管理ソフトみたいなものである.
aptくらい使えるものなのか?
DarwinPorts
ここからソースコードをダウンロードし,インストールする.
http://darwinports.opendarwin.org/
意外にサクっと入る.
インストールパスは,/optになる.
octaveのインストール
<sudo ports install octave
これが偉い時間がかかる.どうやら,gccをビルドしてインストールしているみたいだ.
これでoctaveに関連するパッケージやらなんやらが全部インストールされる.
しかし.若干のエラーが出た.
---> Attempting to fetch tetex-src-3.0.tar.gz from ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/ ---> Attempting to fetch tetex-texmf-3.0po.tar.gz from ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/ ---> Attempting to fetch tetex-texmf-3.0po.tar.gz from ftp://cam.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/ ---> Attempting to fetch tetex-texmf-3.0po.tar.gz from ftp://dante.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/ ---> Attempting to fetch tetex-texmf-3.0po.tar.gz from http://distfiles-od.opendarwin.org/teTeX ---> Attempting to fetch tetex-texmf-3.0po.tar.gz from http://distfiles-msn.opendarwin.org/teTeX ---> Attempting to fetch tetex-texmf-3.0po.tar.gz from http://distfiles-bay13.opendarwin.org/teTeX ---> Attempting to fetch tetex-texmf-3.0po.tar.gz from http://distfiles-od.opendarwin.org/ ---> Attempting to fetch tetex-texmf-3.0po.tar.gz from http://distfiles-msn.opendarwin.org/ ---> Attempting to fetch tetex-texmf-3.0po.tar.gz from http://distfiles-bay13.opendarwin.org/ Error: Target com.apple.fetch returned: fetch failed Error: The following dependencies failed to build: teTeX Error: Status 1 encountered during processing.
どうやら,tetex-texmf-3.0po.tar.gzがダウンロードできていない様子.
そこで,ftp://dante.ctan.org/tex-archive/systems/unix/teTeX/3.0/distribここいら当たりから直接そのパッケージをダウンロードする.
ダウンロードするパッケージは,
/opt/local/var/db/dports/distfiles
のパスにパッケージ毎に保存される.
今のパッケージは,teTeXなので
/opt/local/var/db/dports/distfiles/teTeX
にインストールし,再度ports実行すると,ダウンロードでつまづかなくなる.
まぁ,かなり時間がかかりましたが・・・.