<br><font size=2 face="sans-serif">I hit an error when trying to build
python-ldap. The first error encountered:</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp;Modules/LDAPObject.c:574:
error: `LDAP_SASL_QUIET' undeclared (first use in this function)</font>
<br>
<br><font size=2 face="sans-serif">I am using Cyrus SASL on Solaris 9 SPARC
64-bit. &nbsp;I had to compile Cyrus with the switch &quot;--with-des=no&quot;
due to an error I was not able to resolve. &nbsp;I am hoping this is not
the cause. Any ideas?</font>
<br>
<br><font size=2 face="sans-serif">Thanks,</font>
<br>
<br><font size=2 face="sans-serif">Paul.</font>
<br>
<br><font size=2 face="sans-serif">Compilation output:</font>
<br><font size=2 face="sans-serif">=================================================================</font>
<br><font size=2 face="sans-serif">mnbweb6 # python setup.py build</font>
<br><font size=2 face="sans-serif">extra_compile_args:</font>
<br><font size=2 face="sans-serif">extra_objects:</font>
<br><font size=2 face="sans-serif">include_dirs: /usr/local/openldap-OPENLDAP_REL_ENG_2_2/include
/usr/local/sasl/include/sasl /usr/include/sasl /usr/local/include/sasl</font>
<br><font size=2 face="sans-serif">library_dirs: /usr/local/openldap-OPENLDAP_REL_ENG_2_2/lib
/usr/local/sasl/lib /usr/local/lib/sasl2</font>
<br><font size=2 face="sans-serif">libs: ldap_r lber ssl crypto sasl2</font>
<br><font size=2 face="sans-serif">running build</font>
<br><font size=2 face="sans-serif">running build_py</font>
<br><font size=2 face="sans-serif">file Lib/ldap.py (for module ldap) not
found</font>
<br><font size=2 face="sans-serif">file Lib/ldap/schema.py (for module
ldap.schema) not found</font>
<br><font size=2 face="sans-serif">file Lib/ldap.py (for module ldap) not
found</font>
<br><font size=2 face="sans-serif">file Lib/ldap/schema.py (for module
ldap.schema) not found</font>
<br><font size=2 face="sans-serif">running build_ext</font>
<br><font size=2 face="sans-serif">building '_ldap' extension</font>
<br><font size=2 face="sans-serif">/usr/local/bin/gcc -fno-strict-aliasing
-DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -DHAVE_LIBLDAP_R -DHAVE_SASL
-DHAVE_TLS -DLDAPMODULE_VERSION=2.0.6 -IModules -I/usr/local/openldap-OPENLDAP_REL_ENG_2_2/include
-I/usr/local/sasl/include/sasl -I/usr/include/sasl -I/usr/local/include/sasl
-I/usr/local/include/sasl -I/usr/local/include/python2.3 -c Modules/LDAPObject.c
-o build/temp.solaris-2.9-sun4u-2.3/Modules/LDAPObject.o</font>
<br><font size=2 face="sans-serif">In file included from Modules/LDAPObject.c:20:</font>
<br><font size=2 face="sans-serif">/usr/local/include/sasl/sasl.h:343:
warning: function declaration isn't a prototype</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c: In function `interaction':</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c:497: warning: unused
variable `dflt'</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c: In function `l_ldap_sasl_interactive_bind_s':</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c:574: error: `LDAP_SASL_QUIET'
undeclared (first use in this function)</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c:574: error: (Each
undeclared identifier is reported only once</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c:574: error: for
each function it appears in.)</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c:593: warning: implicit
declaration of function `ldap_sasl_interactive_bind_s'</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c:564: warning: unused
variable `cred'</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c:571: warning: unused
variable `version'</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c:573: warning: unused
variable `defaults'</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c: In function `l_ldap_start_tls_s':</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c:901: warning: implicit
declaration of function `ldap_start_tls_s'</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c: In function `l_ldap_passwd':</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c:1003: warning:
implicit declaration of function `ldap_passwd'</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c: At top level:</font>
<br><font size=2 face="sans-serif">Modules/LDAPObject.c:980: warning: `l_ldap_passwd'
defined but not used</font>
<br><font size=2 face="sans-serif">error: command '/usr/local/bin/gcc'
failed with exit status 1</font>
<br>