Skip to content
Kiyoshi Ikehara edited this page May 16, 2013 · 11 revisions

From source code

1. Installation of Tokyo Cabinet

Flare depends on Tokyo Cabinet. Installation of Tokyo Cabinet is very simple and see also document of Tokyo Cabinet.

2. Installation of Flare

Flare also depends on boost, so please install boost in advance.

Installation of Flare itself is also simple ("configure -> make -> make install" will do).

$ wget 'http://labs.gree.jp/data/source/flare-1.0.5.tgz'
$ tar zxvf flare-1.0.5.tgz
$ cd flare-1.0.5
$ ./configure --with-boost=/usr/local/boost --with-tokyocabinet=/usr/local/tokyocabinet --prefix=/usr/local/flare
$ make
$ sudo make install

(adjust configure options to your installation path)

Some configuration is required before running, so please check tutorial.

From Debian package

1. Installation of depending packages

please "apt-get install" before installation of Tokyo Cabinet and Flare.

  • zlib1g
  • libbz2-1.0
  • libboost-program-options1.33.1
  • libboost-regex1.33.1

like:

$ sudo aptitude install zlib1g libbz2-1.0 libboost-program-options1.33.1 libboost-regex1.33.1

2. Installation of Tokyo Cabinet

Download deb files according to your architecture (i386 or amd64), and "dpkg -i".

$ wget 'http://labs.gree.jp/data/source/tokyocabinet-dev_1.3.20-1_i386.deb
$ sudo dpkg -i tokyocabinet-dev_1.3.20-1_i386.deb

3. Installation of Flare

It's also simple:

$ wget 'http://labs.gree.jp/data/source/flare_1.0.5-1_i386.deb
$ sudo dpkg -i flare_1.0.5-1_i386.deb

and please see also Tutorial.

Clone this wiki locally