主题: iredadmin 安装初始化时报错

[root@mail ~]# sudo easy_install web.py Jinja2 python-ldap==2.3.8 netifaces 根据安装手册,操作到此步时报错
Searching for web.py
…… ……
Processing dependencies for Jinja2
Searching for python-ldap==2.3.8
Reading http://cheeseshop.python.org/pypi/python-ldap/
Reading http://www.python-ldap.org/
Reading http://cheeseshop.python.org/pypi/python-ldap/2.3.10
No local packages or download links found for python-ldap==2.3.8
error: Could not find suitable distribution for Requirement.parse('python-ldap==2.3.8')

2 最后由 bluegloom (2009-12-31 14:36:36) 编辑

回复: iredadmin 安装初始化时报错

根据提示,改用命令sudo easy_install web.py Jinja2 python-ldap==2.3.10 netifaces 继续报错,
[root@mail tools]# sudo easy_install web.py Jinja2 python-ldap==2.3.10 netifaces
Searching for web.py
…………
include_dirs: /usr/local/openldap-2.3/include /usr/include/sasl
library_dirs: /usr/local/openldap-2.3/lib
libs: ldap_r lber sasl2 ssl crypto
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
warning: no files found matching 'Makefile'
warning: no files found matching 'Modules/LICENSE'
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
file Lib/ldap.py (for module ldap) not found
file Lib/ldap/schema.py (for module ldap.schema) not found
Modules/constants.c: In function 鈥楲DAPinit_constants鈥?
Modules/constants.c:184: 閿欒锛氣€楲DAP_OPT_X_TLS_NEWCTX鈥?鏈0鏄?(鍦ㄦ鍑芥暟鍐呯涓€娆′娇鐢?
Modules/constants.c:184: 閿欒锛?鍗充娇鍦ㄤ竴涓嚱鏁板唴澶氭鍑虹幇锛屾瘡涓湭澹版槑鐨勬爣璇嗙鍦ㄥ叾
Modules/constants.c:184: 閿欒锛氭墍鍦ㄧ殑鍑芥暟鍐呭彧鎶ュ憡涓€娆°€?
error: Setup script exited with error: command 'gcc' failed with exit status 1

回复: iredadmin 安装初始化时报错

不是说了用 2.3.9 么?
2.3.8 的下载已经被撤下,但 2.3.10 是无法编译通过的。

回复: iredadmin 安装初始化时报错

为什么使用sudo easy_install web.py Jinja2 python-ldap==2.3.9 netifaces 也报错误啊?

回复: iredadmin 安装初始化时报错

麻烦将错误信息贴上来,这样才能知道是哪个地方出错

回复: iredadmin 安装初始化时报错

更新源配置好了吗?