MacPostsのインストールがうまくいかないとき
treeを入れようとしたらエラーになってしまいました。
# sudo port install tree Password: ---> Fetching tree ---> Attempting to fetch tree-1.5.1.1.tgz from ftp://mama.indstate.edu/linux/tree/ ---> Attempting to fetch tree-1.5.1.1.tgz from http://svn.macports.org/repository/macports/distfiles/tree ---> Attempting to fetch tree-1.5.1.1.tgz from http://svn.macports.org/repository/macports/distfiles/general/ ---> Attempting to fetch tree-1.5.1.1.tgz from http://svn.macports.org/repository/macports/downloads/tree Error: Target org.macports.fetch returned: fetch failed
ちょっと調べてみると回避策があるらしいのでやってみる。
# sudo env MASTER_SITE_LOCAL=http://distfiles.macports.org/tree/ port -v fetch tree
そしてもう一度
# sudo port install tree ---> Verifying checksum(s) for tree ---> Extracting tree ---> Applying patches to tree ---> Configuring tree ---> Building tree with target all ---> Staging tree into destroot ---> Installing tree 1.5.1.1_0 ---> Activating tree 1.5.1.1_0 ---> Cleaning tree
入りました!