LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 687|回复: 1

在Red Hat Enterparse Linux 5 64位 操作系统上安装OpenLDAP 之 错误一堆

[复制链接]
发表于 2009-6-3 09:12:34 | 显示全部楼层 |阅读模式
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
发表于 2009-6-3 12:08:44 | 显示全部楼层
源里没有吗,干吗要自己编译呢?
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表