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

Openldap 2.2.4 - build fails under MacOSX 10.2



Has anyone built v2.2.4 for MacOSX 10.2? I got this ...

gcc -g -O2 -I../../include -I./slapi -I../../include -c -o syncrepl.o syncrepl.c
syncrepl.c: In function `syncrepl_entry':
syncrepl.c:1070: union has no member named `o_request'
syncrepl.c:1071: union has no member named `o_request'
make[2]: *** [syncrepl.o] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1


Offending lines are ...

1070 AC_MEMCPY( op->ors_filterstr.bv_val, "entryUUID=", sizeof("entryUUID=")-1 );
1071 AC_MEMCPY( &op->ors_filterstr.bv_val[sizeof("entryUUID=")-1], syncUUID->bv_val, syncUUID->bv_len );


Configure options are ...

./configure \
    --prefix=/usr/local/openldap-2.2.4 \
    --with-tls=openssl \
    --with-openssl \
    --enable-ldbm \
    --enable-crypt \
    --enable-monitor \
    --disable-bdb \
    --sysconfdir=/etc \
    --localstatedir=/var

gcc -v
Reading specs from /usr/libexec/gcc/darwin/ppc/3.1/specs
Thread model: posix
Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420 (prerelease)


Dave
--
Dave Lewney
Principal Systems Programmer, IT Services
University of Sussex, Brighton BN1 9QJ. Tel: 01273 678354 Fax: 01273 271956