python-ldap on OS X 10.3

Kyle Mott kyle at klmhosting.net
Wed Oct 27 21:34:48 CEST 2004


 
Hi, I'm trying to compile and install python-ldap-2.0.3 and 2.0.4 on Mac
OS X 10.3, but I seem to be getting some errors, and nothing ends up
getting installed. The weirdest part about this is that I originally had
this working just fine not even a week ago with version 2.0.3. If I
uncompress the older (2.0.3) version and try to install, I still get the
following:
 
 
root at localhost:~ # python setup.py install
extra_compile_args: 
extra_objects: 
include_dirs: /usr/local/openldap-REL_ENG_2_1/include /usr/include/sasl
/usr/local/sasl/include/sasl
library_dirs: /usr/local/openldap-REL_ENG_2_1/lib /usr/lib/sasl
/usr/local/sasl/lib
libs: ldap_r lber sasl2 ssl crypto
running install
running build
running build_py
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
running build_ext
building '_ldap' extension
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-protoo
gcc -fno-strict-aliasing -Wno-long-double -no-cpp-precomp
-mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -Wall
-Wstrict-protoo
Modules/LDAPObject.c:20:18: sasl.h: No such file or directory
Modules/LDAPObject.c:492: error: parse error before "sasl_interact_t"
Modules/LDAPObject.c:494: warning: function declaration isn't a
prototype
Modules/LDAPObject.c: In function `interaction':
Modules/LDAPObject.c:495: error: `interact' undeclared (first use in
this function)
Modules/LDAPObject.c:495: error: (Each undeclared identifier is reported
only once
Modules/LDAPObject.c:495: error: for each function it appears in.)
Modules/LDAPObject.c:498: error: `SASLObject' undeclared (first use in
this function)
Modules/LDAPObject.c:495: warning: unused variable `dflt'
Modules/LDAPObject.c: In function `py_ldap_sasl_interaction':
Modules/LDAPObject.c:546: error: `sasl_interact_t' undeclared (first use
in this function)
Modules/LDAPObject.c:546: error: `interact' undeclared (first use in
this function)
Modules/LDAPObject.c:549: error: `SASL_CB_LIST_END' undeclared (first
use in this function)
Modules/LDAPObject.c: In function `l_ldap_sasl_interactive_bind_s':
Modules/LDAPObject.c:562: warning: unused variable `cred'
Modules/LDAPObject.c:569: warning: unused variable `version'
Modules/LDAPObject.c:571: warning: unused variable `defaults'
error: command 'gcc' failed with exit status 1
 
 
 
-Kyle Mott
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ldap/attachments/20041027/8510628c/attachment.html>


More information about the python-ldap mailing list