Kyoto Tycoon
What is Kyoto Tycoon? http://fallabs.com/kyototycoon/
How to Set up?
- Install build tools
$ yum install gcc gcc-c++ zlib-devel - Install kyoto cabinet
$ cd /usr/src $ wget http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.76.tar.gz [^] $ tar xzvf kyotocabinet-1.2.76.tar.gz $ cd kyotocabinet-1.2.76 $ ./configure $ make $ make install - Install kyoto tycoon
$ wget http://fallabs.com/kyototycoon/pkg/kyototycoon-0.9.56.tar.gz [^] $ tar xzvf kyototycoon-0.9.56.tar.gz $ cd kyototycoon-0.9.56 $ ./configure $ makeThen you will find an error!
ktdbext.h:274:29: エラー: ‘getpid’ was not declared in this scope uint32_t pid = getpid() & kc::UINT16MAX;Lets edit
ktdbext.h.$ vi ktdbext.h #include <unistd.h> <= Add THISmakeagain then install$ make $ make install - Test ktserver
$ ktserver --versionsThrere’re missing libraries
ktserver: error while loading shared libraries: libkyototycoon.so.2: cannot open shared object file: No such file or directoryEdit dynamic linker
$ vi /etc/ld.so.conf /usr/local/lib <= Add THISTest again
$ ktserver --versions
:)