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

OpenLDAP make errors on Mac OS X 10.2



Hi,

I am trying to install OpenLDAP 2.2.24 on Mac OS X client 10.2.8, but have run into a few problems. I have looked at a number of sites, which fixed a few problems, but I still have the following.

I am using the configuration:
env LIBS="-Lresolv" CPPFLAGS="-I/usr/local/BerkeleyDB.4.3/include"  \
LDFLAGS="-L/usr/local/BerkeleyDB.4.3/lib" ./configure


I then run 'make depend', without any errors. Then when I run 'make', I get the following:


...
ar cru .libs/liblber.a assert.o decode.o encode.o io.o bprint.o debug.o memory.o options.o sockbuf.o stdio.o version.o
ranlib .libs/liblber.a
creating liblber.la
(cd .libs && rm -f liblber.la && ln -s ../liblber.la liblber.la)
cc -g -O2 -I../../include -I../../include -I/usr/local/BerkeleyDB.4.3/include -c -o dtest.o dtest.c
/bin/sh /Users/admin/Desktop/openldap-2.2.24/libtool --mode=link cc -static -g -O2 -L/usr/local/BerkeleyDB.4.3/lib -o dtest dtest.o liblber.la ../../libraries/liblutil/liblutil.a -Lresolv
/Users/admin/Desktop/openldap-2.2.24/libtool: cd: resolv: No such file or directory
libtool: link: cannot determine absolute directory name of `resolv'
make[2]: *** [dtest] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1


Does this mean it can't find a directory called 'resolv', or is it something else? Does it look as though I am doing anything wrong? Any help would be much appreciated.

Thanks,

Edwin