python-ldap icon indicating copy to clipboard operation
python-ldap copied to clipboard

pip install python-ldap; error

Open 467754239 opened this issue 8 years ago • 0 comments

Modules/LDAPObject.c:1332: 错误:‘LDAPControl’未声明(在此函数内第一次使用)
Modules/LDAPObject.c:1332: 错误:‘server_ldcs’未声明(在此函数内第一次使用)
Modules/LDAPObject.c:1333: 错误:‘client_ldcs’未声明(在此函数内第一次使用)
Modules/LDAPObject.c:1344: 错误:提供给函数‘LDAPControls_from_object’的实参太多
Modules/LDAPObject.c:1349: 错误:提供给函数‘LDAPControls_from_object’的实参太多
Modules/LDAPObject.c:1353: 错误:‘LDAPObject’没有名为‘_save’的成员
Modules/LDAPObject.c:1353: 错误:‘LDAPObject’没有名为‘_save’的成员
Modules/LDAPObject.c:1354: 警告:隐式声明函数‘ldap_extended_operation’
Modules/LDAPObject.c:1354: 错误:‘LDAPObject’没有名为‘ldap’的成员
Modules/LDAPObject.c:1359: 错误:‘LDAPObject’没有名为‘_save’的成员
Modules/LDAPObject.c:1359: 错误:‘LDAPObject’没有名为‘_save’的成员
Modules/LDAPObject.c:1364: 错误:‘LDAP_SUCCESS’未声明(在此函数内第一次使用)
Modules/LDAPObject.c:1365: 错误:‘LDAPObject’没有名为‘ldap’的成员
Modules/LDAPObject.c:1329: 警告:未使用的变量‘reqvalue’
error: command 'gcc' failed with exit status 1

----------------------------------------

Command "/tmp/234/env/bin/python -u -c "import setuptools, tokenize;file='/tmp/pip-build-wHjqN3/python-ldap/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-o3vPWd-record/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/234/env/include/site/python2.7/python-ldap" failed with error code 1 in /tmp/pip-build-wHjqN3/python-ldap/

467754239 avatar Mar 27 '17 05:03 467754239