根据提示,改用命令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