2010/05/16

MacPorts

無題

 

今回は、便利で素敵な"MacPorts"のお話。 というか備忘録。

 

最近訳もわからずに触っている、FreeBSDの"Ports"のMac版みたいな感じなのかな?
"wget"が苦戦して、結局Macでは使わない方向でその時は逃げたんですが
時間もあったので、再挑戦。
というか、Portsなんて便利なモノ最近まで知らなかった…。(;´∀`)w

 

ということで、インストール。
これは他の一般的なソフトと同じで、GUIを用いて出来るので問題ないかと。

Mac Ports : http://www.macports.org/

 

で、後は再起動しておk。(私の場合は…。(;^ω^)w

 

詳しくは、この辺りのサイト様を参考にさせてもらうか
Google先生に頼るのがよろしいかと。

MacPortsMacWiki

MacPorts (1) 準備 - ふるかわごうのブログ

MacPortsでステキなUNIXツールをインストール - はこべにっき#

 

 

前回書いた、root権限は要必要かと思いますので
先に使用者に権限を与えておくことをお忘れなく。

 

以下、MacPortsを用いた、wgetインストール時のコンソールログを。

Ritsu:~ tetsu$ port search wget
gwget @1.0.4 (gnome, net)
    Gwget is a Download Manager for Gnome 2. It uses wget as a backend.

wget @1.12 (net, www)
    internet file retriever

wgetpro @0.1.3 (net, www)
    advanced internet file retriever

wput @0.6.2 (net)
    wput is like wget but is for uploading files to ftp-servers

Found 4 ports.
Ritsu:~ tetsu$ sudo port install wget
Password:
--->  Computing dependencies for wget
--->  Fetching expat
--->  Attempting to fetch expat-2.0.1.tar.gz from http://nchc.dl.sourceforge.net/expat
--->  Verifying checksum(s) for expat
--->  Extracting expat
--->  Configuring expat
--->  Building expat
--->  Staging expat into destroot
--->  Installing expat @2.0.1_0
--->  Activating expat @2.0.1_0
--->  Cleaning expat
--->  Fetching gperf
--->  Attempting to fetch gperf-3.0.4.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/gperf
--->  Verifying checksum(s) for gperf
--->  Extracting gperf
--->  Configuring gperf
--->  Building gperf
--->  Staging gperf into destroot
--->  Installing gperf @3.0.4_0
--->  Activating gperf @3.0.4_0
--->  Cleaning gperf
--->  Fetching libiconv
--->  Attempting to fetch libiconv-1.13.1.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/libiconv
--->  Verifying checksum(s) for libiconv
--->  Extracting libiconv
--->  Applying patches to libiconv
--->  Configuring libiconv
--->  Building libiconv
--->  Staging libiconv into destroot
--->  Installing libiconv @1.13.1_0
--->  Activating libiconv @1.13.1_0
--->  Cleaning libiconv
--->  Fetching ncursesw
--->  Attempting to fetch ncurses-5.7.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/ncurses
--->  Verifying checksum(s) for ncursesw
--->  Extracting ncursesw
--->  Configuring ncursesw
--->  Building ncursesw
--->  Staging ncursesw into destroot
--->  Installing ncursesw @5.7_0+darwin_10
--->  Activating ncursesw @5.7_0+darwin_10
--->  Cleaning ncursesw
--->  Fetching ncurses
--->  Verifying checksum(s) for ncurses
--->  Extracting ncurses
--->  Configuring ncurses
--->  Building ncurses
--->  Staging ncurses into destroot
--->  Installing ncurses @5.7_0+darwin_10
--->  Activating ncurses @5.7_0+darwin_10
--->  Cleaning ncurses
--->  Fetching gettext
--->  Attempting to fetch gettext-0.18.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/gettext
--->  Verifying checksum(s) for gettext
--->  Extracting gettext
--->  Applying patches to gettext
--->  Configuring gettext
--->  Building gettext
--->  Staging gettext into destroot
--->  Installing gettext @0.18_0
--->  Activating gettext @0.18_0
--->  Cleaning gettext
--->  Fetching libidn
--->  Attempting to fetch libidn-1.18.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/libidn
--->  Verifying checksum(s) for libidn
--->  Extracting libidn
--->  Configuring libidn
--->  Building libidn
--->  Staging libidn into destroot
--->  Installing libidn @1.18_0
--->  Activating libidn @1.18_0
--->  Cleaning libidn
--->  Fetching zlib
--->  Attempting to fetch zlib-1.2.5.tar.bz2 from http://distfiles.macports.org/zlib
--->  Verifying checksum(s) for zlib
--->  Extracting zlib
--->  Applying patches to zlib
--->  Configuring zlib
--->  Building zlib
--->  Staging zlib into destroot
--->  Installing zlib @1.2.5_0
--->  Activating zlib @1.2.5_0
--->  Cleaning zlib
--->  Fetching openssl
--->  Attempting to fetch openssl-0.9.8n.tar.gz from http://distfiles.macports.org/openssl
--->  Verifying checksum(s) for openssl
--->  Extracting openssl
--->  Applying patches to openssl
--->  Configuring openssl
--->  Building openssl
--->  Staging openssl into destroot
--->  Installing openssl @0.9.8n_0+darwin
--->  Activating openssl @0.9.8n_0+darwin
--->  Cleaning openssl
--->  Fetching pkgconfig
--->  Attempting to fetch pkg-config-0.23.tar.gz from http://distfiles.macports.org/pkgconfig
--->  Verifying checksum(s) for pkgconfig
--->  Extracting pkgconfig
--->  Configuring pkgconfig
--->  Building pkgconfig
--->  Staging pkgconfig into destroot
--->  Installing pkgconfig @0.23_1
--->  Activating pkgconfig @0.23_1
--->  Cleaning pkgconfig
--->  Fetching wget
--->  Attempting to fetch wget-1.12.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/wget
--->  Verifying checksum(s) for wget
--->  Extracting wget
--->  Applying patches to wget
--->  Configuring wget
--->  Building wget
--->  Staging wget into destroot
--->  Installing wget @1.12_0
--->  Activating wget @1.12_0
To customize wget, you can copy wgetrc.sample to wgetrc
in /opt/local/etc and then make changes.
--->  Cleaning wget
Ritsu:~ tetsu$ wget
wget: URLがありません
使い方: wget [オプション]... [URL]...

詳しいオプションは `wget --help' を実行してください。
Ritsu:~ tetsu$

 

結構時間かかりました & 発熱ヤバイです。w

0 件のコメント: