IT系メモ

興味のあったことや、勉強したことなどをメモしていきます。

MacPort入れた

MacPorts-1.7.0をインストール。
http://svn.macosforge.org/repository/macports/downloads/MacPorts-1.7.0/からMacPorts-1.7.0-10.5-Leopard.dmg

ファイルをすべて/opt/local以下にインストールするのでPATHの設定が必要。

ここを参考に行った。
http://d.hatena.ne.jp/hakobe932/20061208/1165646618

$ sudo port -d selfupdate
$ sudo port -d syncを実行した


出てきたログがこれ。

sudo port -d selfupdate
Password:
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports
receiving file list ... done

sent 36 bytes received 358378 bytes 143365.60 bytes/sec
total size is 21430775 speedup is 59.79
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/base
DEBUG: Updating MacPorts sources using rsync
receiving file list ... done

sent 36 bytes received 6886 bytes 4614.67 bytes/sec
total size is 4045815 speedup is 584.49

MacPorts base version 1.700 installed
DEBUG: Rebuilding and reinstalling MacPorts if needed
Downloaded MacPorts base version 1.700

The MacPorts installation is not outdated so it was not updated
DEBUG: Setting MacPorts sources ownership to root

$ sudo port -d sync
DEBUG: Synchronizing ports tree(s)
Synchronizing local ports tree from rsync://rsync.macports.org/release/ports/
DEBUG: /usr/bin/rsync -rtzv --delete-after rsync://rsync.macports.org/release/ports/ /opt/local/var/macports/sources/rsync.macports.org/release/ports
receiving file list ... done

sent 36 bytes received 358378 bytes 143365.60 bytes/sec
total size is 21430775 speedup is 59.79

未だにUNIXが何やってるかさっぱりわからない。あとでちょっと調べてみることにする。

あとMacPortのドキュメントは読んでおく
http://guide.macports.org/