ブログトップ 記事一覧 ログイン 無料ブログ開設

理想未来はどうなった? このページをアンテナに追加 RSSフィード Twitter

2008-02-10

Mac(Leopard)にhypertableをインストールしてみる。

Googleの巨大な検索システムを支えているデータベースBigTableクローンであるhypertable?Leopardインストールしてみます。

尚、必要なモジュールインストールMacPorts使っているので、入っていない方はどこかを参考にインストールしてください。

hypertable?について知りたい方はこちら。

d:id:pcmaster:20080210:1202532499

手順1:buildするのに必要なportsMacPortsインストールする。

$ sudo port install git-core 
$ sudo port install cogito 
$ sudo port install cmake 
$ sudo port install boost
$ sudo port install log4cpp
$ sudo port install expat

gitインストールがうまく行かない場合はこの辺を参考に

d:id:pcmaster:20080210:1202659625

手順2:gitで、hypertableをダウンロードする。

gitで、hypertableをダウンロードします。

<your name>と<your email>は適当に書き換えてください。

$ git config --global user.name "<your name>"
$ git config --global user.email "<your email>"
$ mkdir ~/src
$ cd ~/src
$ git clone git://scm.hypertable.org/pub/repos/hypertable.git

参考:http://code.google.com/p/hypertable/wiki/SourceCode?tm=4

手順3:ビルドインストールする

$ mkdir -p ~/build/hypertable
$ cd ~/build/hypertable
$ cmake -DCMAKE_INSTALL_PREFIX= -DCMAKE_BUILD_TYPE="Debug" ~/src/hypertable
$ mkdir ~/hypertable
$ make install DESTDIR=~/hypertable

こんな感じで。

インストールまではMacでもサクッとできました。

明日は実際に使ってみようと思います。

追記

軽く触った感じ、make testの際の16/17 Testing hypertableがFailedになるのが気になりますが、

チュートリアルを参考に試してみると、普通に使えますね。

http://code.google.com/p/hypertable/wiki/HQLTutorial

スパム対策のためのダミーです。もし見えても何も入力しないでください
ゲスト


画像認証

トラックバック - http://d.hatena.ne.jp/pcmaster/20080210/1202661431