fc2ブログ

checkinstallのインストール

# tar zxf checkinstall-1.6.1.tgz
# cd checkinstall-1.6.1
# make
# make install
# /usr/local/sbin/checkinstall

Please choose the packaging method you want to use.
Slackwareなら[S], RPMなら[R], Debianなら[D]を入力 R<ENTER>

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

This package will be built according to these values:

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

変更するものの番号を入力してください。Enterで続行します:<ENTER>

# cd /usr/src/redhat/RPMS/x86_64
# rpm -Uvh checkinstall-1.6.1-1.x86_64.rpm
エラー: unpacking of archive failed on file /bin/cp;470c7e48: cpio: MD5 sum mismatch

checkinstall version1.6.1のバグらしい。

# rpm -Uvh --nomd5 checkinstall-1.6.1-1.x86_64.rpm

で成功

# rpm -qa | grep checkinstall
checkinstall-1.6.1-1

ちなみに、rpmbuildがないと↓みたいなエラーになったりする。

*** The "rpmbuild" program is not in your PATH!
*** RPM package creation aborted

なのでrpmbuildはインストールしておく。yumなら

# yum install rpm-build

この記事のトラックバックURL

http://ysmt.blog21.fc2.com/tb.php/168-f1364f19

RHEL5 x86_64にcheckinstall-1.6.1をインストールしようとしたらmakeでエラー
RHEL5 x86_64にcheckinstall1.6.1をインストールしようとした。 # tar zxf checkinstall-1.6.1.tgz # cd checkinstall-1.6.1 # make そしたら↓みたいなエラー。for file in...

コメント

コメントする

管理者にだけ表示を許可する

Template Designed by DW99