Hypertableのインストール
Google BigtableのオープンソースクローンであるHypertableを実験環境にインストールしてみた。
HypertableのREADMEに従うだけではインストールを完了できなかったので、インストールログをメモ。
wget -P ~/archives http://www.cmake.org/files/v2.6/cmake-2.6.1-Linux-i386.tar.gz tar xzf ~/archives/cmake-2.6.1-Linux-i386.tar.gz export PATH=${HOME}/cmake-2.6.1-Linux-i386/bin:${PATH} sudo apt-get install libdb4.6++-dev ## README では "install" が抜けている‥ sudo apt-get install libboost-.*-dev ## ミラーサイトからのダウンロードになるので、URLは適当‥ #wget -P ~/archives http://log4cpp.sourceforge.net/**/log4cpp-1.0.tar.gz tar xzf ~/archives/log4cpp-1.0.tar.gz cd log4cpp-1.0 ## configureの際、dirnameコマンドのエラーが出ているのだが、処理全体としては問題ないらしい‥ ./configure make make check sudo make install sudo apt-get install libexpat1-dev sudo apt-get install libreadline5-dev ## already installed sudo apt-get install libncurses5-dev ## already installed sudo apt-get install g++ wget -P ~/archives http://google-perftools.googlecode.com/files/google-perftools-0.99.2.tar.gz tar xzf ~/archives/google-perftools-0.99.2.tar.gz cd google-perftools-0.99.2 ./configure make make check sudo make install sudo apt-get install git-core wget -P ~/archives http://www.zlib.net/zlib-1.2.3.tar.gz tar xzf ~/archives/zlib-1.2.3.tar.gz cd zlib-1.2.3 ./configure make make test sudo make install mkdir ~/work_hypertable cd ~/work_hypertable mkdir ~/work_hypertable/src cd ~/work_hypertable/src git clone git://scm.hypertable.org/pub/repos/hypertable.git mkdir ~/work_hypertable/hypertable mkdir -p ~/work_hypertable/build/hypertable cd ~/work_hypertable/build/hypertable cmake -DCMAKE_INSTALL_PREFIX=~/work_hypertable/hypertable ~/work_hypertable/src/hypertable make ## 20分くらいかかる‥ make install export LD_LIBRARY_PATH=/usr/local/lib ## regression test cd ~/work_hypertable/hypertable/0.9.0.10 ## README では kill-servers.sh となっているが間違い。 ## まぁそもそも起動しているわけもないので必要ないけど‥ ./bin/stop-servers.sh ./bin/start-all-servers.sh local cd ~/work_hypertable/build/hypertable make test