新しいブログに移動しました。
9ensanのLifeHack
こちらの記事も必要に応じて新しいブログに移動させる予定です。
今後ともよろしくお願い致します。

HOME > 設定 > 

CentOSにFlareをインストールする為のSRPMを作成しました。

CentOSにFlareをインストールする為のSRPMを作成しました。

  • 2009.05.23 (土) 22:20
  • 設定
  • ,

GREE Labs」で公開されている。

Flare」というmemcached互換の分散key-valueストレージサーバをPHPのセッション管理に利用しようと考えています。

インストール用パッケージがDebianパッケージのみしか用意されていないのでCentOS用にSRPMを作成しました。

よかったら使って見てください。

ダウンロード先:flare-108-1src.rpm

プログラムからはmemcachedを利用する時と同様に簡単に利用することができます。

TokyoCabinetのネットワークインターフェースはTokyoTyrantというのが存在していますが、

TokyoTyrantには、有効期限の指定が出来ないという欠点があった為に、「Flare」を使用するようにしました。

コメント:4件

  1. centkun

    CentOS4.7にflareをインストールしようとしています。
    手順的にはGreelabのHPと同様に進めてきたのですが、
    GreeLab:http://labs.gree.jp/Top/OpenSource/Flare/Document/Installation.html

    # ./configure –with-boost=/usr/lib64/libboost* –with-tokyocabinet=/usr/local/tokyocabinet –prefix=/usr/local/flare

    Flareのインストールのconfigureでこけます。。
    with-boostのオプション指定が違うのだろうと思い、/usr/lib64以下に指定してみたのですがうまくいかず。

    実行結果は以下の通りです。

    # rpm -ql boost
    /usr/lib64/libboost_date_time.so.1.32.0
    …(略)

    # ./configure –with-boost=/usr/lib64 –with-tokyocabinet=/usr/local/tokyocabinet –prefix=/usr/local/flare
    checking for a BSD-compatible install… /usr/bin/install -c
    checking whether build environment is sane… yes
    checking for a thread-safe mkdir -p… /bin/mkdir -p
    checking for gawk… gawk
    checking whether make sets $(MAKE)… yes
    checking build system type… x86_64-unknown-linux-gnu
    checking host system type… x86_64-unknown-linux-gnu
    checking for g++… g++
    checking for C++ compiler default output file name… a.out
    checking whether the C++ compiler works… yes
    checking whether we are cross compiling… no
    checking for suffix of executables…
    checking for suffix of object files… o
    checking whether we are using the GNU C++ compiler… yes
    checking whether g++ accepts -g… yes
    checking for style of include used by make… GNU
    checking dependency style of g++… gcc3
    checking for gcc… gcc
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking dependency style of gcc… gcc3
    checking for ranlib… ranlib
    checking for main in -lboost_program_options… no
    checking for main in -lboost_program_options-mt… no
    configure: error: boost_program_options not found

    RPMまで作られた方なら、もしかして何かご存じかもしれないと思い投稿しました。
    ご教授いただけたらうれしいです。よろしくお願いいたします。

    • gensan

      boostのインストールがデフォルトインストールしているようなので、
      ./configure –with-boost=/usr/lib64
      –with-tokyocabinet=/usr/local/tokyocabinet –prefix=/usr/local/flare

      ではなく、
      ./configure –with-tokyocabinet=/usr/local/tokyocabinet
      –prefix=/usr/local/flare
      でインストールしてみてはどうでしょうか?

  2. centkun

    返信どうもありがとうございます。

    # ./configure –with-tokyocabinet=/usr/local/tokyocabinet
    –prefix=/usr/local/flare
    で試してみたところ、うまくいきました!
    助かりました。どうもありがとうございます。m(_ _)m

  3. rekoo

    ください。:
    1.yum install boost
    2.yum install boost-devel

コメント投稿フォーム
centkun への返信を入力してください。
ユーザー名(必須)
メールアドレス(必須)(非公開)
ホームページ
コメント

トラックバック:0件

この記事のトラックバックURL
http://blog.veryposi.info/server/server-setup/centos-flare-srpm/trackback/
お薦めのレンタルサーバー
広告
お薦めの書籍
HOME > 設定 > 

CentOSにFlareをインストールする為のSRPMを作成しました。