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

Trouble building 2.0.7 on MacOSX. Help appreciated.



I have been trying without success to build OpenLDAP 2.0.7 on MacOSX. I have modified the configure to run bash. The configure flags are:

./configure --enable-slapd --enable-shell --disable-ldbm --without-threads

Any suggestions would be very welcome. I've included some output below that I hope proves useful. Thanks in advance!
Jonathan Harclerode
jonahark@falcon.cc.ukans.edu


--------------------------------
Env settings
--------------------------------
[localhost:/usr/local] jonahark% env
PWD=/usr/local
VENDOR=apple
HOSTNAME=localhost
TERM_PROGRAM=Apple_Terminal
MANPATH=~/man:/usr/local/share/man:/usr/share/man:/usr/X11R6/man:/usr/local/
man:/usr/X11R6/man:/usr/local/man:/usr/X11R6/man:/usr/local/man
USER=jonahark
MACHTYPE=powerpc
ENV_SET=
CPPFLAGS=-traditional-cpp
TERMCAP=d0|vt100|vt100-am|vt100am|dec vt100: :do=^J:co#80:li#24:cl=\E[;H\E[2J:sf=2*\ED: :le=^H:bs:am:cm=5\E[%i%d;%dH:nd=2\E[C:up=2\E[A: :ce=3\E[K:cd=50\E[J:so=2\E[7m:se=2\E[m:us=2\E[4m:ue=2\E[m: :md=2\E[1m:mr=2\E[7m:mb=2\E[5m:me=2\E[m: :rf=/usr/share/tabset/vt100: :rs=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[;r\E[0m\E(B\E)B\E[2J: :ks=\E[?1h\E=:ke=\E[?1l\E>: :ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H: :ho=\E[H:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sr=2*\EM:vt#3:xn: :sc=\E7:rc=\E8:cs=\E[%i%d;%dr:
LANG=en_US
HOST=localhost
SHLVL=4
LOGNAME=jonahark
GROUP=staff
SHELL=/bin/tcsh
HOSTTYPE=macintosh
OSTYPE=macos
HOME=/Users/jonahark
TERM=vt100
TERM_PROGRAM_VERSION=41
PATH=~/bin/powerpc-apple-
macos:/Users/jonahark/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/
sbin:/sbin:/usr/X11R6/bin:/usr/X11R6/bin:/usr/X11R6/bin
CFLAGS=-traditional-cpp
__CF_USER_TEXT_ENCODING=0x1F5:0:0
_=/bin/csh
OLDPWD=/usr/local/bin
[localhost:/usr/local] jonahark%
---------------------------------------
Last few lines of output when running make
---------------------------------------
options.o print.o string.o util-int.o schema.o charray.o tls.o dn.o os-local.o dnssrv.o utf-8.o version.o
ranlib .libs/libldap.a
ranlib: file: .libs/libldap.a(kbind.o) has no symbols
ranlib: file: .libs/libldap.a(dn.o) has no symbols
creating libldap.la
(cd .libs && rm -f libldap.la && ln -s ../libldap.la libldap.la)
/Volumes/Storage/Downloads/globus/openldap-2.0.7/libraries/libldap/.libs
rm -f ../libldap.la
d=`pwd`; d=`basename $d`; cd ..; ln -s $d/libldap.la libldap.la; \
t=`basename libldap.la .la`.a; rm -f $t; ln -s $d/.libs/$t $t
if test "no" = "yes"; then \
d=`pwd`; d=`basename $d`; b=`basename libldap.la .la`; \
cd .libs; t=`echo $b*.so`; (cd ../.. ; rm -f $t; \
ln -s $d/.libs/$t $t); \
if test "so" != dll; then \
t=`echo $b.so.?`; cd ../.. ; \
rm -f $t; \
ln -s $d/.libs/$t $t; \
fi \
fi
cc -traditional-cpp -I../../include -I../../include -traditional-cpp -c -o apitest.o apitest.c
/bin/sh /Volumes/Storage/Downloads/globus/openldap-2.0.7/libtool --mode=link cc -traditional-cpp -I../../include -I../../include -traditional-cpp -L/Volumes/Storage/Downloads/globus/openldap-2.0.7/libraries -o apitest apitest.o -lldap -llber -llutil
cc -traditional-cpp -I../../include -I../../include -traditional-cpp -L/Volumes/Storage/Downloads/globus/openldap-2.0.7/libraries -o apitest apitest.o -lldap -llber -llutil
/usr/bin/ld: Undefined symbols:
_inet_ntop
make[2]: *** [apitest] Error 1
make[1]: *** [all-common] Error 1
make: *** [all-common] Error 1
bash-2.03$ l