I have successfully run ./configure --disable-slapd and make depend. When I run make, I get the following errors:
[dwadmin@erptestdb:DGWT]$make
Making all in /var/openldap/openldap-2.4.23
Entering subdirectory include
Entering subdirectory libraries
Making all in /var/openldap/openldap-2.4.23/libraries
Entering subdirectory liblutil
rm -f version.c
../../build/mkversion -v "2.4.23" liblutil.a > version.c
/usr/sfw/bin/gcc -O2 -ansi -Wno-main -DAVALON -DNO_CISAM -DORACLE -DDWLDAP -I../../include -I../../include -c signal.c
signal.c: In function `lutil_sigaction':
signal.c:25: error: storage size of 'action' isn't known
signal.c:25: error: storage size of 'oaction' isn't known
*** Error code 1
make: Fatal error: Command failed for target `signal.o'
Current working directory /var/openldap/openldap-2.4.23/libraries/liblutil
*** Error code 1
The following command caused the error:
for i in liblutil liblber liblunicode libldap libldap_r librewrite ; do \
echo " Entering subdirectory $i"; \
( cd $i; /usr/ccs/bin/make all ); \
if test $? != 0 ; then exit 1; fi ; \
echo " "; \
done
make: Fatal error: Command failed for target `all-common'
Current working directory /var/openldap/openldap-2.4.23/libraries
*** Error code 1
The following command caused the error:
for i in include libraries clients servers tests doc ; do \
echo " Entering subdirectory $i"; \
( cd $i; /usr/ccs/bin/make all ); \
if test $? != 0 ; then exit 1; fi ; \
echo " "; \
done
make: Fatal error: Command failed for target `all-common'
Not sure if this problem compiling signal.c is a bug or not. The include file, signal.h appears to be in the correct place.
Gary Ropp
Senior Programmer
College of the Siskiyous
530-938-5553