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

OpenLDAP 2.1.23 compile fails on Mac OS X 10.3 (Panther) (ITS#2809)

Full_Name: Scott Goodwin
Version: 2.1.23
OS: Mac OS 10.3
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

Compile fails at dnssrv.c:

  Entering subdirectory libldap
/bin/sh /Users/scott/m/var/compile/openldap-2.1.23/libtool  --mode=compile cc -g
-O2 -I../../include        -I../../include   -I/Users/scott/m/install/db/include
  -DLDAP_LIBRARY -c dnssrv.c
rm -f .libs/dnssrv.lo
cc -g -O2 -I../../include -I../../include -I/Users/scott/m/install/db/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

Here's the way I'm kicking off the compilation:

env \
    CPPFLAGS="-I/Users/scott/m/install/db/include" \
    LDFLAGS="-L/Users/scott/m/install/db/lib" \
    ./configure \
    --prefix=/Users/scott/m/install/openldap \
    --without-cyrus_sasl \
    --without-kerberos \
    --with-zlib=/Users/scott/m/install/zlib \
    --enable-bdb \