« ボルダリング2回目 | トップページ | カワイソウなクルマ »

2010年11月 6日 (土)

MacPortsでCouchDBをインストール

MacPortsRuby on Railsが動作するPaaS環境HerokuNoSQLなアドオンとしてCouchDBが利用できるようになったらしい。

ということでCouchDBをMac OS Xにインストール。

$ sudo port list couchdb
couchdb @1.0.1 databases/couchdb
現時点でのMacPortsリポジトリに上がってるバージョンは1.0.1。

さっそくインストール。

$ sudo port install couchdb
---> Computing dependencies for couchdb
---> Dependencies to be installed: autoconf help2man p5-locale-gettext perl5 perl5.8 m4 automake curl curl-ca-bundle libidn openssl zlib pkgconfig icu libtool spidermonkey nspr readline
---> Fetching perl5.8
---> Attempting to fetch perl-5.8.9.tar.bz2 from http://www.cpan.org/src/
---> Verifying checksum(s) for perl5.8
---> Extracting perl5.8
---> Applying patches to perl5.8
---> Configuring perl5.8
---> Building perl5.8
---> Staging perl5.8 into destroot
---> Installing perl5.8 @5.8.9_3
---> Activating perl5.8 @5.8.9_3
---> Cleaning perl5.8
---> Fetching perl5
---> Verifying checksum(s) for perl5
---> Extracting perl5
---> Configuring perl5
---> Building perl5
---> Staging perl5 into destroot
---> Installing perl5 @5.8.9_0
---> Activating perl5 @5.8.9_0
---> Cleaning perl5
---> Fetching p5-locale-gettext
---> Attempting to fetch gettext-1.05.tar.gz from ftp://ftp.cpan.org/pub/CPAN/modules/by-module/Locale
---> Verifying checksum(s) for p5-locale-gettext
---> Extracting p5-locale-gettext
---> Applying patches to p5-locale-gettext
---> Configuring p5-locale-gettext
---> Building p5-locale-gettext
---> Staging p5-locale-gettext into destroot
---> Installing p5-locale-gettext @1.05_3
---> Activating p5-locale-gettext @1.05_3
---> Cleaning p5-locale-gettext
---> Fetching help2man
---> Attempting to fetch help2man-1.38.2.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/help2man
---> Verifying checksum(s) for help2man
---> Extracting help2man
---> Configuring help2man
---> Building help2man
---> Staging help2man into destroot
---> Installing help2man @1.38.2_0
---> Activating help2man @1.38.2_0
---> Cleaning help2man
---> Fetching m4
---> Attempting to fetch m4-1.4.15.tar.bz2 from ftp://ftp.dti.ad.jp/pub/GNU/m4
---> Verifying checksum(s) for m4
---> Extracting m4
---> Configuring m4
---> Building m4
---> Staging m4 into destroot
---> Installing m4 @1.4.15_0
---> Activating m4 @1.4.15_0
---> Cleaning m4
---> Fetching autoconf
---> Attempting to fetch autoconf-2.68.tar.bz2 from ftp://ftp.dti.ad.jp/pub/GNU/autoconf
---> Verifying checksum(s) for autoconf
---> Extracting autoconf
---> Configuring autoconf
---> Building autoconf
---> Staging autoconf into destroot
---> Installing autoconf @2.68_0
---> Activating autoconf @2.68_0
---> Cleaning autoconf
---> Fetching automake
---> Attempting to fetch automake-1.11.1.tar.bz2 from ftp://ftp.dti.ad.jp/pub/GNU/automake
---> Verifying checksum(s) for automake
---> Extracting automake
---> Configuring automake
---> Building automake
---> Staging automake into destroot
---> Installing automake @1.11.1_0
---> Activating automake @1.11.1_0
---> Cleaning automake
---> Fetching curl-ca-bundle
---> Attempting to fetch curl-7.21.2.tar.bz2 from http://distfiles.macports.org/curl
---> Attempting to fetch certdata-1.65.txt from http://distfiles.macports.org/curl
---> Verifying checksum(s) for curl-ca-bundle
---> Extracting curl-ca-bundle
---> Applying patches to curl-ca-bundle
---> Configuring curl-ca-bundle
---> Building curl-ca-bundle
---> Staging curl-ca-bundle into destroot
---> Installing curl-ca-bundle @7.21.2_0
---> Activating curl-ca-bundle @7.21.2_0
---> Cleaning curl-ca-bundle
---> Fetching libidn
---> Attempting to fetch libidn-1.19.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.19_0
---> Activating libidn @1.19_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-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_1
---> Activating openssl @1.0.0a_1
---> Cleaning openssl
---> Fetching pkgconfig
---> Attempting to fetch pkg-config-0.25.tar.gz from http://distfiles.macports.org/pkgconfig
---> Verifying checksum(s) for pkgconfig
---> Extracting pkgconfig
---> Applying patches to pkgconfig
---> Configuring pkgconfig
---> Building pkgconfig
---> Staging pkgconfig into destroot
---> Installing pkgconfig @0.25_1
---> Activating pkgconfig @0.25_1
---> Cleaning pkgconfig
---> Fetching curl
---> Verifying checksum(s) for curl
---> Extracting curl
---> Configuring curl
---> Building curl
---> Staging curl into destroot
---> Installing curl @7.21.2_1+ssl
---> Activating curl @7.21.2_1+ssl
---> Cleaning curl
---> Fetching icu
---> Attempting to fetch icu4c-4_3_4-src.tgz from http://distfiles.macports.org/icu
---> Verifying checksum(s) for icu
---> Extracting icu
---> Applying patches to icu
---> Configuring icu
---> Building icu
---> Staging icu into destroot
---> Installing icu @4.3.4_0
---> Activating icu @4.3.4_0
---> Cleaning icu
---> Fetching libtool
---> Attempting to fetch libtool-2.4.tar.gz from ftp://ftp.dti.ad.jp/pub/GNU/libtool
---> Verifying checksum(s) for libtool
---> Extracting libtool
---> Configuring libtool
---> Building libtool
---> Staging libtool into destroot
---> Installing libtool @2.4_0
---> Activating libtool @2.4_0
---> Cleaning libtool
---> Fetching nspr
---> Attempting to fetch nspr-4.8.6.tar.gz from http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v4.8.6/src/
---> Verifying checksum(s) for nspr
---> Extracting nspr
---> Configuring nspr
---> Building nspr
---> Staging nspr into destroot
---> Installing nspr @4.8.6_0
---> Activating nspr @4.8.6_0
---> Cleaning nspr
---> 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
---> Attempting to fetch readline-6.1.tar.gz from http://mirror.facebook.net/gnu/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 spidermonkey
---> Attempting to fetch js-1.7.0.tar.gz from http://ftp.mozilla.org/pub/mozilla.org/js/
---> Verifying checksum(s) for spidermonkey
---> Extracting spidermonkey
---> Applying patches to spidermonkey
---> Configuring spidermonkey
---> Building spidermonkey
---> Staging spidermonkey into destroot
---> Installing spidermonkey @1.7.0_4
---> Activating spidermonkey @1.7.0_4
---> Cleaning spidermonkey
---> Fetching couchdb
---> Attempting to fetch apache-couchdb-1.0.1.tar.gz from ftp://ftp.infoscience.co.jp/pub/net/apache/dist/couchdb/1.0.1/
---> Attempting to fetch apache-couchdb-1.0.1.tar.gz from http://mirror.facebook.net/apache/couchdb/1.0.1/
---> Verifying checksum(s) for couchdb
---> Extracting couchdb
---> Configuring couchdb
---> Building couchdb
---> Staging couchdb into destroot
---> Installing couchdb @1.0.1_0
---> Activating couchdb @1.0.1_0
########################################################################
# Run the following command to install the CouchDB launchd
# startup item in order to start and re-start service automatically:
#
# sudo launchctl load -w /Library/LaunchDaemons/org.apache.couchdb.plist
########################################################################
---> Cleaning couchdb
依存パッケージが大量にインストールされた。Perlも入ってんなぁ。

CouchDBをサービス(daemon)化するにはlaunchctlを使用する。

$ sudo launchctl load -w /opt/local/Library/LaunchDaemons/org.apache.couchdb.plist
ブラウザでhttp://localhost:5984/_utils/にアクセスするとFutonという管理ツールが起動する。

Futon

|

« ボルダリング2回目 | トップページ | カワイソウなクルマ »

Apple」カテゴリの記事

Erlang」カテゴリの記事

Ruby」カテゴリの記事

コメント

It’s really a nice and helpful piece of information. I’m glad that you shared this helpful info with us. Please keep us informed like this. Thanks for sharing.

投稿: college scholarship | 2010年11月29日 (月) 05:32

Do you people have a facebook fan page? I looked for one on twitter but could not discover one, I would really like to become a fan!

投稿: computer services | 2010年12月 2日 (木) 13:16

I am sorry, that I interfere, but you could not give little bit more information.

投稿: replica watches | 2010年12月 5日 (日) 02:48

I had got a dream to begin my commerce, nevertheless I did not have got enough amount of cash to do it. Thank goodness my close friend proposed to take the loan. Therefore I took the sba loan and realized my old dream.

投稿: KatherineTalley | 2012年6月 1日 (金) 12:21

コメントを書く



(ウェブ上には掲載しません)




トラックバック

この記事のトラックバックURL:
http://app.cocolog-nifty.com/t/trackback/16742/49957292

この記事へのトラックバック一覧です: MacPortsでCouchDBをインストール:

« ボルダリング2回目 | トップページ | カワイソウなクルマ »