lists.arthurdejong.org
RSS feed

RE: [nssldap] cyrus-sasl 2.1.22, nss_ldap 255

[Date Prev][Date Next] [Thread Prev][Thread Next]

RE: [nssldap] cyrus-sasl 2.1.22, nss_ldap 255



Jason,
try to modify config.h after ./configure:

#define HAVE_SASL_AUXPROP_REQUEST 1

Is it appropriate for you?


Denis


> I recently upgraded cyrus-sasl to 2.1.22  I was upgrading 
> nss_ldap for 
> the first time in a while.  I think a 24x version was the last one.
> sasl.h is in /usr/local/include/sasl, I have no other sasl.h anywhere.
> 
> nss_ldap's configure shows this:
> 
> checking for sasl.h... no
> checking for sasl/sasl.h... yes
> 
> and this:
> 
> checking for sasl_auxprop_request... no
> 
> config.log says this:
> 
> /home/jason/src/ldap/nss_ldap-255/configure:4178: undefined 
> reference to 
> `sasl_auxprop_request'
> 
> ...even though:
> 
> $ grep sasl_auxprop_request /usr/local/include/sasl/sasl.h
>   *  sasl_auxprop_request  Request auxiliary properties
> LIBSASL_API int sasl_auxprop_request(sasl_conn_t *conn,
> 
> So, since ldap-nss.c has this (which I saw mentioned in another post):
> 
> #if defined(HAVE_SASL_SASL_H) && defined(HAVE_SASL_AUXPROP_REQUEST)
> #include <sasl/sasl.h>
> #elif defined(HAVE_SASL_H)
> #include <sasl.h>
> #endif
> 
> ...it fails to build for me.  If I run configure with 
> CPPFLAGS=-I/usr/local/include/sasl then it builds OK.
> 
> If anyone has a "proper" fix/suggestion, I'd appreciate it.
> 
> Thanks,
>    Jason
> 
> -- 
> Jason Englander <jason@englanders.cc>
> 394F 7E02 C105 7268 777A  3F5A 0AC0 C618 0675 80CA