这是什么安装错误?
rpm -Uvh redhat-config-samba-1.0.4-1.src.rpmwarning: redhat-config-samba-1.0.4-1.src.rpm: V3 DSA signature: NOKEY, key ID db42a60e
1:redhat-config-samba ###########################################
安装情况如上,查询是rpm包没有安装.该如何解决?顺便问问这个rpm包中的src表示什么?和一般的rpm包有什么不同之处吗?? 这是一个源码包, 需要编译的
用rpmbuild --rebluild *.rpm试试
编译完之后, 生成的rpm包会在/usr/src/REDHAT/RPMS/i386里面 --rebluild参数是不是有错?以下是我的编译过程,看不懂啊,请再看看
# rpmbuild --rebuild redhat-config-samba-1.0.4-1.src.rpm
Installing redhat-config-samba-1.0.4-1.src.rpm
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.14919
+ umask 022
+ cd /usr/src/redhat/BUILD
+ LANG=C
+ export LANG
+ cd /usr/src/redhat/BUILD
+ rm -rf redhat-config-samba-1.0.4
+ /usr/bin/bzip2 -dc /usr/src/redhat/SOURCES/redhat-config-samba-1.0.4.ta
r.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd redhat-config-samba-1.0.4
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chown -Rhf root .
++ /usr/bin/id -u
+ '[' 0 = 0 ']'
+ /bin/chgrp -Rhf root .
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.34436
+ umask 022
+ cd /usr/src/redhat/BUILD
+ cd redhat-config-samba-1.0.4
+ LANG=C
+ export LANG
+ make
for d in po; do make -C $d; [ $? = 0 ] || exit 1; done
make: Entering directory `/usr/src/redhat/BUILD/redhat-config-samba-1.
0.4/po'
pygettext.py --default-domain=redhat-config-samba --verbose --output=redh
at-config-samba.po--keyword=_ --keyword=N_ ../src/addUserWin.py ../src/
basicPreferencesWin.py ../src/mainWindow.py ../src/redhat-config-samba.py
../src/sambaBackend.py ../src/sambaDefaults.py ../src/sambaParser.py ../
src/sambaToken.py ../src/sambaUserData.py ../src/sambaUserWin.py ../src/s
hareWindow.py redhat-config-samba.gladestrings
make: pygettext.py: Command not found
make: *** Error 127
make: Leaving directory `/usr/src/redhat/BUILD/redhat-config-samba-1.0
.4/po'
make: *** Error 1
error: Bad exit status from /var/tmp/rpm-tmp.34436 (%build)
RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.34436 (%build)
页:
[1]