Building package with checkinstall
Easy enough, I tested on centos5 with readline:tar zxvf readline-6.1.tar.gz
cd readline-6.1
./configure
make
checkinstall --install=no
...
**************************************
**** RPM package creation selected ***
**************************************
This package will be built according to these values:
1 - Summary: [ readline 6.1 ]
2 - Name: [ readline ]
3 - Version: [ 6.1 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ readline-6.1 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ readline ]
...
mv /usr/src/redhat/RPMS/i386/readline-6.1-1.i386.rpm .
rpm -ivh readline-6.1-1.i386.rpm
cd readline-6.1
./configure
make
checkinstall --install=no
...
**************************************
**** RPM package creation selected ***
**************************************
This package will be built according to these values:
1 - Summary: [ readline 6.1 ]
2 - Name: [ readline ]
3 - Version: [ 6.1 ]
4 - Release: [ 1 ]
5 - License: [ GPL ]
6 - Group: [ Applications/System ]
7 - Architecture: [ i386 ]
8 - Source location: [ readline-6.1 ]
9 - Alternate source location: [ ]
10 - Requires: [ ]
11 - Provides: [ readline ]
...
mv /usr/src/redhat/RPMS/i386/readline-6.1-1.i386.rpm .
rpm -ivh readline-6.1-1.i386.rpm
On ubuntu, it fails with a version number compliance error. I couldn't figure out what is not right with 6.1 / 6.1.0 / 6.1.0.0 / 6.1-custom20100802 / etc. Could be an issue with checkinstall-1.6.1 which is the latest available today.
There are no comments on this page. [Add comment]