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

OpenLDAP on OSX?

Has anyone had any luck building and installing OpenLDAP on OSX? I downloaded the latest but I can't build it. I downloaded BDB 4.1, which built and installed ok into /usr/local/BerkeleyDB.4.1/lib/ . When configuring it says it can't find bdb. I disabled bdb, which allowed it to configure and make dep, but during make I get the following error:

/bin/sh /Users/mlb/downloads/openldap-2.1.23/libtool --mode=compile cc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c dnssrv.c
rm -f .libs/dnssrv.lo
cc -g -O2 -I../../include -I../../include -DLDAP_LIBRARY -c dnssrv.c -fno-common -DPIC -o .libs/dnssrv.lo
dnssrv.c: In function `ldap_domain2hostlist':
dnssrv.c:203: error: `C_IN' undeclared (first use in this function)
dnssrv.c:203: error: (Each undeclared identifier is reported only once
dnssrv.c:203: error: for each function it appears in.)
dnssrv.c:213: error: `HEADER' undeclared (first use in this function)
make[2]: *** [dnssrv.lo] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1

Any thoughts?


------------------------------------------------------------------------ --------------------------
Marc Boorshtein
Software Engineer, Octet String