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

unable to install openldap 2.1



Hi,

I'm using OpenBSD 3.2 and i would like to install openldap 2.1.12 with sources. (i'm not using ported packages cause i'm not sure that all compilation options are good). I've already installed db 4.1, Kerberos V and i've got problems to compile SASL 2.1.10.
error compilation:

/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb  -I/usr/local/include
-I/usr/local/include  -Wall -W -Wall -g -O2 -c otp.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../lib -I../sasldb -I/usr/local/include -I/usr/local/include -Wall -W -Wall
 -g -O2 -c otp.c -o otp.o
In file included from ../include/saslplug.h:14,
                 from otp.c:60:
../include/hmac-md5.h:11: syntax error before `MD5_CTX'
In file included from otp.c:60:
../include/saslplug.h:69: syntax error before `*'
../include/saslplug.h:70: syntax error before `*'
../include/saslplug.h:71: syntax error before `MD5_CTX'
*** Error code 1

Stop in /home/ftp/opensource/cyrus-sasl/cyrus-sasl-2.1.10/plugins.
*** Error code 1

Stop in /home/ftp/opensource/cyrus-sasl/cyrus-sasl-2.1.10 (line 274 of Makefile).
*** Error code 1


with ./configure options:

./configure --prefix=/usr/local --sysconfdir=/etc/sasl --disable-java --localstatedir=/var/sasl --with-dbpath=
/usr/local --with-dblib=berkeley with-bdb-libdir=/usr/local/lib --with-bdb-incdir=/usr/local/include --with-saslauth=/usr/l
ocal --disable-digest


is somebody success in installing openldap with sasl, or is there good docs to do it ?

thanks

Vincent