Python-LDAP wont compile(Python-LDAP 无法编译)
问题描述
所以我从源代码中获得了最新的 python-ldap.我也在运行 python 2.7.2 的源代码编译版本,我在 RHEL 上运行它.因此,当我尝试编译包时,我会收到如下所示的长错误消息.所以我安装了 openldap-devel 包,现在它是一个小得多的错误.但仍然没有编译.
So I got the latest python-ldap from source. I am also running the source compiled version of python 2.7.2 and I am running this on RHEL. So when I try to compile the package I get this long error message as seen below. So I installed the openldap-devel package and now it is a much smaller error. But still not compiling.
由于这个问题已关闭,所以这不是问题,请帮助我不是问题.我想到了.我不得不手动编译最新的 ldap、berkleydb,然后用它进行构建安装.然后它构建得很好
Since this is closed because the question, this doesnt ocmpile please help me out is not a question. I figured it out. I had to manually compile the latest ldap, berkleydb, and then do a build install with it. Then it built fine
推荐答案
第一个和第二个错误消息状态你缺少 lber.h
和 ldap.h
.这是一个指向丢失或无效的 openldap-devel
包的强指针.您是否安装了该软件包(或类似的匹配 *ldap-dev*
)?
The first and second error message state that you're missing lber.h
and ldap.h
. This is a strong pointer to a missing or invalid openldap-devel
package. Do you you have that package (or a similar one matching *ldap-dev*
) installed?
这篇关于Python-LDAP 无法编译的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!