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

RE: OpenLDAP on OSX?



This is a pretty simple problem. See ITS#2763, the fix is in CVS.
http://www.openldap.org/its/index.cgi/Build?id=2763

As for BDB 4.1 - read the OpenLDAP INSTALL file, read the FAQ, etc.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support 

> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of Marc Boorshtein
 
> 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?
> 
> Thanks
> 
> --------------------------------------------------------------
> ---------- 
> --------------------------
> Marc Boorshtein
> Software Engineer, Octet String
> marc.boorshtein@octetstring.com
> 
> 
>