king_cxj 发表于 2004-2-21 23:19:13

.src.rpm怎么安装

.src.rpm怎么安装

rpm -rebuild *.src.rpm
cd /usr/src/dist/RPMS
rpm -ivh *.rpm

没有用啊,哪位能教教我啊,我刚接触linux

flashor 发表于 2004-2-21 23:40:08

怎么没用了?
装不上?缺少依赖?

flashor 发表于 2004-2-21 23:48:21

对了
你的命令错了吧

#rpm -ivh XX.src.rpm
#cd /usr/src/redhat/SPECS
#rpmbuild -bb XXX.spec
#cd/usr/src/redhat/RPMS/iX86/
#rpm -ivh XX.rpm

king_cxj 发表于 2004-2-22 00:10:26

我试试,谢谢

king_cxj 发表于 2004-2-22 00:14:01

*** The esd-config script installed by ESD could not be found
*** If ESD was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the ESD_CONFIG environment variable to the
*** full path to esd-config.
checking for pkg-config... /usr/bin/pkg-config
checking for GLIB - version >= 2.2.0... no
*** Could not run GLIB test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GLIB is incorrectly installed.
configure: error: *** GLIB >= 2.2.0 not installed! ***
error: Bad exit status from /var/tmp/rpm-tmp.28559 (%build)


什么意思呢?

king_cxj 发表于 2004-2-22 00:18:56

GLIB是个什么东东,我要先安装GLIB2.2.0以上版本才可以吗?

flashor 发表于 2004-2-22 00:33:20

是啊
www.rpmfind.net
下一个装上

king_cxj 发表于 2004-2-22 01:01:51

谢谢
页: [1]
查看完整版本: .src.rpm怎么安装