[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: 2.4.14 : compilation fails with "--with-tls=gnutls"



--On Tuesday, February 17, 2009 5:38 PM +0100 "COMBES Julien - CETE Lyon/DI/ET/PAMELA" <julien.combes@i-carre.net> wrote:

Hello,

When I try to build openldap 2.4.14. with the option "--with-tls=gnutls",
the compilation fails with this error:
/bin/sh ../../libtool  --mode=compile cc -g -O2 -I../../include
-I../../include     -DLDAP_LIBRARY -c tls2.c
  cc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c tls2.c
-fPIC -DPIC -o .libs/tls2.o
tls2.c: In function 'ldap_pvt_tls_get_option':
tls2.c:642: error: 'struct ldapoptions' has no member named
'ldo_tls_crlcheck'
tls2.c: In function 'ldap_pvt_tls_set_option':
tls2.c:773: error: 'struct ldapoptions' has no member named
'ldo_tls_crlcheck'
make[2]: *** [tls2.lo] Erreur 1

With the option "--with-tls=openssl", the compilation ends correctly. I
have compiled openldap 2.4.13 on the same computer with the option
"--with-tls=gnutls" without problem.

I have looked in to the code, I don't understand why some of the "#ifdef
HAVE_(OPENSSL|GNTUTLS)*" have disappeared in the new file tls2.c.

I suggest you file an ITS:

<http://www.openldap.org/its/>

--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration