|
1 源码安装
错误如下
[root@portal openldap-2.3.31]# ./configure
Configuring OpenLDAP 2.3.31-Release ...
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking configure arguments... done
checking for cc... no
checking for gcc... no
configure: error: Unable to locate cc(1) or suitable replacement. Check PATH or set CC.
2.rpm包安装
错误如下
[root@portal openldap]# rpm -ivh openldap-debuginfo-2.3.27-5.x86_64.rpm
warning: openldap-debuginfo-2.3.27-5.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
Preparing... ########################################### [100%]
1penldap-debuginfo ########################################### [100%]
error: unpacking of archive failed on file /usr/lib/debug/usr/lib64/liblber-2.2.so.7.0.22.debug;4a25c249: cpio: read
3.安装createrepo
错误如下
[root@portal server]# rpm -ivh createrepo-0.4.4-2.fc6.src.rpm
warning: createrepo-0.4.4-2.fc6.src.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
error: cannot create %sourcedir /usr/src/redhat/SOURCES
手动创建目录后,错误如下
[root@portal server]# rpm -ivh createrepo-0.4.4-2.fc6.src.rpm
warning: createrepo-0.4.4-2.fc6.src.rpm: Header V3 DSA signature: NOKEY, key ID 37017186
1:createrepo warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
warning: user brewbuilder does not exist - using root
warning: group brewbuilder does not exist - using root
如有师哥师姐看到我的帖子,有心帮我一下,联系方式如下
msn: fengruizhi@live.cn
QQ:81161805 |
|