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

There's problem with install Openldap-2.1.12



hello everyone.

I am installing Openldap2.1.12 to Solaris8.
I installed cyrus-sasl-1.5.27 and db-4.1.25 well, but not installed Openssl.

When I installed Openldap-2.1.12, I did:
%setenv CC /usr/local/bin/gcc
%setenv CFLAGS "-O -g"
%setenv CPPFLAGS "-I/export/home/zhang/LDAP/V2.1.12/openldap-2.1.2/include -Ddef"
%setenv LDFLAGS "-L/usr/local/lib"
#./configure --with-cyrus-sasl --with-threadsad --without-tls
It's OK
#make depend
It's OK
#make
...
mkdir .libs
/usr/local/bin/gcc -O -g -I../../../include -I../../../include -I.. -I./.. -I/ex
port/home/zhang/LDAP/V2.1.12/openldap-2.1.12/include -Ddef -c init.c  -fPIC -DPI
C -o .libs/init.lo
In file included from ../slap.h:1833,
                 from back-bdb.h:12,
                 from init.c:17:
../proto-slap.h:628: parse error before `1'
../proto-slap.h:634: parse error before `1'
../proto-slap.h:999: parse error before `1'
../proto-slap.h:1004: parse error before `1'
*** Error code 1
make: Fatal error: Command failed for target `init.lo'
Current working directory /space/home/zhang/LDAP/V2.1.12/openldap-2.1.12/servers
/slapd/back-bdb
*** Error code 1
make: Fatal error: Command failed for target `.backend'
Current working directory /space/home/zhang/LDAP/V2.1.12/openldap-2.1.12/servers
/slapd
*** Error code 1
make: Fatal error: Command failed for target `all-common'
Current working directory /space/home/zhang/LDAP/V2.1.12/openldap-2.1.12/servers
*** Error code 1
make: Fatal error: Command failed for target `all-common'

What's this error? How can I solve it?
Give me helps. Thanks a lot.

Pu Zhang