mac の開発環境構築 〜Subversion〜

方針

MacPortsがインストールできたので、MacPortsを利用して、バージョン管理システム「Subversion」をインストールします。

バージョンの確認

まずはデフォルトのsvnバージョンの確認

$ svn --version
svn, version 1.6.5 (r38866)
   compiled Jan 26 2010, 17:43:42

portsの確認

次にMacPortsでインストールできるsvnバージョンの確認

$ port search subversion
・・・
subversion @1.6.13 (devel)
    subversion (svn) -- a version control system designed to be a better cvs
・・・

Subversionインストール

それではMacPortsでインストール

$ sudo port install subversion

インストール時間:約30分。
結構時間がかかりますね。何も入っていない状態だったので関連リソースがかなりインストールされたみたい。

バージョンの確認

では、改めてsvnバージョンの確認。(確認の前にターミナルを再起動してね!)

$ svn --version
svn, バージョン 1.6.13 (r1002816)
   コンパイル日時: Oct 26 2010, 00:32:52

無事、最新バージョンにかわっていることを確認できました。
うれしいことに日本語表示になってますw

インストールログ

念のため、インストール時のログを記録。

$ sudo port install subversion
Password:
--->  Computing dependencies for subversion
--->  Dependencies to be installed: apr apr-util db46 expat libiconv gperf sqlite3 ncurses ncursesw readline cyrus-sasl2 openssl zlib gettext neon serf
--->  Fetching apr
--->  Attempting to fetch apr-1.4.2.tar.bz2 from ftp://ftp.infoscience.co.jp/pub/net/apache/dist/apr
--->  Attempting to fetch apr-1.4.2.tar.bz2 from http://distfiles.macports.org/apr
--->  Verifying checksum(s) for apr
--->  Extracting apr
--->  Applying patches to apr
--->  Configuring apr
--->  Building apr
--->  Staging apr into destroot
--->  Installing apr @1.4.2_1
--->  Activating apr @1.4.2_1
--->  Cleaning apr
--->  Fetching db46
--->  Attempting to fetch patch.4.6.21.1 from http://download.oracle.com/berkeley-db/patches/db/4.6.21/
--->  Attempting to fetch patch.4.6.21.2 from http://download.oracle.com/berkeley-db/patches/db/4.6.21/
--->  Attempting to fetch patch.4.6.21.3 from http://download.oracle.com/berkeley-db/patches/db/4.6.21/
--->  Attempting to fetch patch.4.6.21.4 from http://download.oracle.com/berkeley-db/patches/db/4.6.21/
--->  Attempting to fetch db-4.6.21.tar.gz from http://download-uk.oracle.com/berkeley-db/
--->  Verifying checksum(s) for db46
--->  Extracting db46
--->  Applying patches to db46
--->  Configuring db46
--->  Building db46
--->  Staging db46 into destroot
--->  Installing db46 @4.6.21_6
--->  Activating db46 @4.6.21_6
--->  Cleaning db46
--->  Fetching expat
--->  Attempting to fetch expat-2.0.1.tar.gz from http://jaist.dl.sourceforge.net/expat
--->  Verifying checksum(s) for expat
--->  Extracting expat
--->  Configuring expat
--->  Building expat
--->  Staging expat into destroot
--->  Installing expat @2.0.1_1
--->  Activating expat @2.0.1_1
--->  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
--->  Applying patches to ncursesw
--->  Configuring ncursesw
--->  Building ncursesw
--->  Staging ncursesw into destroot
--->  Installing ncursesw @5.7_1
--->  Activating ncursesw @5.7_1
--->  Cleaning ncursesw
--->  Fetching ncurses
--->  Verifying checksum(s) for ncurses
--->  Extracting ncurses
--->  Applying patches to ncurses
--->  Configuring ncurses
--->  Building ncurses
--->  Staging ncurses into destroot
--->  Installing ncurses @5.7_1
--->  Activating ncurses @5.7_1
--->  Cleaning ncurses
--->  Fetching readline
--->  Attempting to fetch readline61-001 from ftp://ftp.dti.ad.jp/pub/GNU/readline/readline-6.1-patches/
--->  Attempting to fetch readline61-002 from ftp://ftp.dti.ad.jp/pub/GNU/readline/readline-6.1-patches/
--->  Attempting to fetch readline-6.1.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/readline
--->  Verifying checksum(s) for readline
--->  Extracting readline
--->  Applying patches to readline
--->  Configuring readline
--->  Building readline
--->  Staging readline into destroot
--->  Installing readline @6.1.002_0
--->  Activating readline @6.1.002_0
--->  Cleaning readline
--->  Fetching sqlite3
--->  Attempting to fetch sqlite-3.7.3.tar.gz from http://distfiles.macports.org/sqlite3
--->  Verifying checksum(s) for sqlite3
--->  Extracting sqlite3
--->  Configuring sqlite3
--->  Building sqlite3
--->  Staging sqlite3 into destroot
--->  Installing sqlite3 @3.7.3_0
--->  Activating sqlite3 @3.7.3_0
--->  Cleaning sqlite3
--->  Fetching apr-util
--->  Attempting to fetch apr-util-1.3.9.tar.bz2 from ftp://ftp.infoscience.co.jp/pub/net/apache/dist/apr
--->  Attempting to fetch apr-util-1.3.9.tar.bz2 from http://distfiles.macports.org/apr-util
--->  Verifying checksum(s) for apr-util
--->  Extracting apr-util
--->  Configuring apr-util
--->  Building apr-util
--->  Staging apr-util into destroot
--->  Installing apr-util @1.3.9_2
--->  Activating apr-util @1.3.9_2
--->  Cleaning apr-util
--->  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-1.0.0a.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 @1.0.0a_0
--->  Activating openssl @1.0.0a_0
--->  Cleaning openssl
--->  Fetching cyrus-sasl2
--->  Attempting to fetch cyrus-sasl-2.1.23.tar.gz from http://distfiles.macports.org/cyrus-sasl2
--->  Verifying checksum(s) for cyrus-sasl2
--->  Extracting cyrus-sasl2
--->  Applying patches to cyrus-sasl2
--->  Configuring cyrus-sasl2
--->  Building cyrus-sasl2
--->  Staging cyrus-sasl2 into destroot
--->  Installing cyrus-sasl2 @2.1.23_3+kerberos
--->  Activating cyrus-sasl2 @2.1.23_3+kerberos
--->  Cleaning cyrus-sasl2
--->  Fetching gettext
--->  Attempting to fetch gettext-0.18.1.1.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.1.1_2
--->  Activating gettext @0.18.1.1_2
--->  Cleaning gettext
--->  Fetching neon
--->  Attempting to fetch neon-0.29.5.tar.gz from http://distfiles.macports.org/neon
--->  Verifying checksum(s) for neon
--->  Extracting neon
--->  Configuring neon
--->  Building neon
--->  Staging neon into destroot
--->  Installing neon @0.29.5_0
--->  Activating neon @0.29.5_0
--->  Cleaning neon
--->  Fetching serf
--->  Attempting to fetch serf-0.7.0.tar.bz2 from http://serf.googlecode.com/files/
--->  Verifying checksum(s) for serf
--->  Extracting serf
--->  Configuring serf
--->  Building serf
--->  Staging serf into destroot
--->  Installing serf @0.7.0_0
--->  Activating serf @0.7.0_0
--->  Cleaning serf
--->  Fetching subversion
--->  Attempting to fetch subversion-1.6.13.tar.bz2 from http://distfiles.macports.org/subversion
--->  Verifying checksum(s) for subversion
--->  Extracting subversion
--->  Applying patches to subversion
--->  Configuring subversion
--->  Building subversion
--->  Staging subversion into destroot
--->  Installing subversion @1.6.13_0
--->  Activating subversion @1.6.13_0
--->  Cleaning subversion

subversion本体が入るまでにいったい何個の関連リソースがインストールされたのでしょう。。

投稿日:

ページのトップへ戻る