補足: MacPorts でやろうとして失敗したでござるの作業メモ
(マシン名は hayate2, アカウント名は yucken です)
hayate2:~ yucken$ sudo port -d sync WARNING: Improper use of the sudo command could lead to data loss or the deletion of important system files. Please double-check your typing when using sudo. Type "man sudo" for more information. To proceed, enter your password, or type Ctrl-C to abort. Password: dlopen(/opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib, 10): no suitable image found. Did find: /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib: no matching architecture in universal wrapper while executing "load /opt/local/share/macports/Tcl/pextlib1.0/Pextlib.dylib" ("package ifneeded Pextlib 1.0" script) invoked from within "package require Pextlib 1.0" (file "/opt/local/bin/port" line 40)
なんだかおかしいので再起動してみる。
よくよく考えてみると、プロキシの設定*1をちゃんとせねばならないのかも知れない。
svn co http://svn. を入力した後、動き出すまで 20 分ほど。
trunk の置き場所に注意。あとで、/opt/local/etc/macports/source.conf を編集するときに必要になる。svn co http://svn. コマンドを入力したときのディレクトリに置かれるようです。
MacPorts をインストール後、/opt/local/etc/macports/source.conf を書き換えたあと sudo port -d sync を入力する、ところまではうまくいった。しかしsudo port -d install DCL (sudo env http_proxy=http://fw-proxy.jamstec.go.jp:8080 port -d install DCL) を入力するとうまくいかない。
もういちど private ports を導入しないといけないのかと思い、
- dpp-0.9.pkg のインストール
- /opt/local/etc/macports/source.conf の書き換え
- sudo port -d sync の実行
を行った。
特に、/opt/local/etc/macports/source.conf を中心にいろいろと条件を変えてやってみるがうまくいかず‥‥‥。
fink でやってみるか!