Install memcached & redis & tokyocabinet & whitedb in AIX
Memcached
for GNU make, download gmake from http://www.bullfreeware.com/affichage.php?id=1264
Download libevent-2.0.21-stable.tar.gz and memcached-1.4.15.tar.gz from offical website
Configure & Install
1
2./configure --prefix=/home/action/libevent
./configure --with-libevent=/home/action/libevent/ --prefix=/home/action/memcachedRename method
1
2
3sed 's/thread_init/thread_init_memcached/g' memcached.h > memcached.h
sed 's/thread_init/thread_init_memcached/g' memcached.c > memcached.c
sed 's/thread_init/thread_init_memcached/g' thread.c > thread.cProblem
Can’t enable threads without the POSIX thread library.Solve
Remove “-Wl,-rpath,$ledir/lib” in file configureReference
AIX 下安装 memcached
Redis
Download redis from http://www.perzl.org/aix/index.php?n=Main.Redis
Download dependencies from http://www.bullfreeware.com/
check dependency
rpm -qRp redis-2.6.16-1.aix5.2.ppc.rpm
check file list
1
2
3
4rpm -qlp redis-2.6.16-1.aix5.2.ppc.rpm`
rpm -ivh logrotate-3.8.3-1
rpm -ivh popt-1.16-2
rpm -ivh coreutils-8.21-1Reference
Redis 2.4持久化测试报告
nosql-database
tokyocabinet
- Download tokyocabinet-1.4.48 from http://fallabs.com/tokyocabinet/
1
2
3
4
5./configure --prefix=/home/action/tokyocabinet
sed 's/-Wl,-soname,libtokyocabinet.so.$(LIBVER)//g' Makefile > Makefile.bak
mv Makefile.bak Makefile
gmake
gmake install
whitedb
- Download whitedb-0.6.1 from http://whitedb.org
1
2
3
4
5./configure --prefix=/home/action/whitedb --with-python // found python binding not work
sed 's/LIBS = -lm /LIBS = -lm -lpthread /g' Makefile > Makefile.bak
mv Makefile.bak Makefile
gmake
gmake install
Package in my AIX
1 | rpm -qa |