[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: openldap 2.0.23 on freebsd
Are you using the FreeBSD ports collection to compile this?
> I'm having trouble compiling this on freebsd. it compiles
> on debian gnu/linux 2.2 and 3.0 and solaris 7 for me
> sofar ..
>
> with freebsd i get this when i run 'make' (it gets pretty
> far through the compile):
>
> mv -f .libs/util-int.lo util-int.lo
> /bin/sh /usr/ports/net/openldap2/work/openldap-2.0.23/libtool
> --mode=compile
cc -I/usr/local/include -I../../include -I../../include
> -D_REENTRANT -D_THREAD_SAFE -I/usr/local/include
> -I/usr/local/include/db3 -c schema.c
> rm -f .libs/schema.lo
> cc -I/usr/local/include -I../../include -I../../include -D_REENTRANT
> -D_THREAD_SAFE -I/usr/local/include -I/usr/local/include/db3 -c
> schema.c -fPIC -DPIC -o .libs/schema.lo
> schema.c: In function `ldap_str2attributetype':
> schema.c:1417: `LDAP_SCHEMA_ALLOW_OID_MACRO' undeclared
> (first use in this function)
> schema.c:1417: (Each undeclared identifier is reported only once
> schema.c:1417: for each function it appears in.)
> schema.c: In function `ldap_str2objectclass':
> schema.c:1807: `LDAP_SCHEMA_ALLOW_OID_MACRO' undeclared
> (first use in this function)
> *** Error code 1
>
>
> these are the options that i am using:
> --enable-debug --enable-syslog --enable-proctitle --enable-cache
> --enable-referrals --enable-local --with-readline --with-threads
> --enable-slapd --enable-cleartext --enable-crypt --enable-passwd
> --enable-multimaster --enable-phonetic --enable-rlookups
> --enable-dynamic --disable-dnssrv --enable-ldap --enable-ldbm
> --enable-shell --enable-slurpd --enable-shared --with-tls
> --prefix=/usr/local/openldap
>
> i tried running some searches but didnt come up with
> any hits with the error message.
>
> any ideas ?
>
> thanks!
>
> nate
>
>
>
>