Amazon LinuxにKyototycoonをインストール

Basic 64-bit Amazon Linux AMI 2011.09 (AMI Id: ami-0a44f00b) にて。
Checkinstallインストール済

先にKyotocabinetをインストール

[root@localhost ~]# yum install -y gcc-c++ zlib-devel
[root@localhost ~]# cd ~/workspace
[root@localhost workspace]# wget http://fallabs.com/kyotocabinet/pkg/kyotocabinet-1.2.72.tar.gz
[root@localhost workspace]# tar xzf kyotocabinet-1.2.72.tar.gz 
[root@localhost workspace]# cd kyotocabinet-1.2.72
[root@localhost kyotocabinet-1.2.72]# ./configure
[root@localhost kyotocabinet-1.2.72]# make
[root@localhost kyotocabinet-1.2.72]# checkinstall

checkinstall 1.6.3, Copyright 2010 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.

The checkinstallrc file was not found at:
/usr/local/sbin/../checkinstallrc

Assuming default values.

The package documentation directory ./doc-pak does not exist. 
Should I create a default set of package docs?  [y]: 

Preparing package documentation...OK

Please choose the packaging method you want to use.
Slackware [S], RPM [R] or Debian [D]? R


Please write a description for the package.
End your description with an empty line or EOF.
>> 

**************************************
**** RPM package creation selected ***
**************************************

This package will be built according to these values: 

1 -  Summary: [ Package created with checkinstall 1.6.3 ]
2 -  Name:    [ kyotocabinet ]
3 -  Version: [ 1.2.72 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ Applications/System ]
7 -  Architecture: [ x86_64 ]
8 -  Source location: [ kyotocabinet-1.2.72 ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ kyotocabinet ]

Enter a number to change any of them or press ENTER to continue: 

Installing with make install...

[root@localhost kyotocabinet-1.2.72]# rpm -ivh ~/rpmbuild/RPMS/x86_64/kyotocabinet-1.2.72-1.x86_64.rpm 
Preparing...                ########################################### [100%]
   1:kyotocabinet           ########################################### [100%]

[root@localhost kyotocabinet-1.2.72]# cd ..
<

続いてKyototycoonをインストール

>|sh|
[root@localhost workspace]# wget http://fallabs.com/kyototycoon/pkg/kyototycoon-0.9.53.tar.gz
[root@localhost workspace]# tar xzf kyototycoon-0.9.53.tar.gz 
[root@localhost workspace]# cd kyototycoon-0.9.53
[root@localhost kyototycoon-0.9.53]# ./configure
[root@localhost kyototycoon-0.9.53]# make
[root@localhost kyototycoon-0.9.53]# checkinstall 

checkinstall 1.6.3, Copyright 2010 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.

The checkinstallrc file was not found at:
/usr/local/sbin/../checkinstallrc

Assuming default values.

The package documentation directory ./doc-pak does not exist. 
Should I create a default set of package docs?  [y]: 

Preparing package documentation...OK

Please choose the packaging method you want to use.
Slackware [S], RPM [R] or Debian [D]? R


Please write a description for the package.
End your description with an empty line or EOF.
>> 

**************************************
**** RPM package creation selected ***
**************************************

This package will be built according to these values: 

1 -  Summary: [ Package created with checkinstall 1.6.3 ]
2 -  Name:    [ kyototycoon ]
3 -  Version: [ 0.9.53 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ Applications/System ]
7 -  Architecture: [ x86_64 ]
8 -  Source location: [ kyototycoon-0.9.53 ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ kyototycoon ]

Enter a number to change any of them or press ENTER to continue: 

Installing with make install...

[root@localhost kyototycoon-0.9.53]# rpm -ivh ~/rpmbuild/RPMS/x86_64/kyototycoon-0.9.53-1.x86_64.rpm 
Preparing...                ########################################### [100%]
   1:kyototycoon            ########################################### [100%]

[root@localhost kyototycoon-0.9.53]# echo /usr/local/lib >> /etc/ld.so.conf
[root@localhost kyototycoon-0.9.53]# ldconfig
<

Basic 64-bit Amazon Linux AMI 2011.09 (AMI Id: ami-0a44f00b) にて実施

>|sh|
[root@localhost ~]# yum install -y git gettext rpm-build
[root@localhost ~]# mkdir workspace
[root@localhost ~]# cd workspace/
[root@localhost workspace]# git clone http://checkinstall.izto.org/checkinstall.git
[root@localhost workspace]# cd checkinstall
[root@localhost checkinstall]# make
[root@localhost checkinstall]# make install
[root@localhost checkinstall]# mkdir -p  ~/rpmbuild/SOURCES
[root@localhost checkinstall]# checkinstall

checkinstall 1.6.3, Copyright 2010 Felipe Eduardo Sanchez Diaz Duran
           This software is released under the GNU GPL.

The checkinstallrc file was not found at:
/usr/local/sbin/../checkinstallrc

Assuming default values.

The package documentation directory ./doc-pak does not exist. 
Should I create a default set of package docs?  [y]: 

Preparing package documentation...OK

Please choose the packaging method you want to use.
Slackware [S], RPM [R] or Debian [D]? R


**************************************
**** RPM package creation selected ***
**************************************

This package will be built according to these values: 

1 -  Summary: [ CheckInstall installations tracker, version 1.6.2 ]
2 -  Name:    [ checkinstall ]
3 -  Version: [ 20120219 ]
4 -  Release: [ 1 ]
5 -  License: [ GPL ]
6 -  Group:   [ Applications/System ]
7 -  Architecture: [ x86_64 ]
8 -  Source location: [ checkinstall ]
9 -  Alternate source location: [  ]
10 - Requires: [  ]
11 - Provides: [ checkinstall ]

Enter a number to change any of them or press ENTER to continue: 

Installing with make install...

[root@localhost checkinstall]# rpm -ivh ~/rpmbuild/RPMS/x86_64/checkinstall-20120219-1.x86_64.rpm