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

LDAP Installation problem



Hi,

I am not sure whether I had contact the right person or not but I hope you
will help me in this issue ....

We have perform the step as follow :

a) I have install these prerequisite softwares
	i) db-4.0.14
	ii) Cyrus-sasl-1.5.27
	iii) openssl-0.9.6g

b) env CPPFLAGS="-I/usr/local/include -I/home/cpt2tli/Berkeley4.0/include"
LDFLAGS="-L/usr/local/lib -L /home/cpt2tli/Berkeley4.0/lib"
CC="/usr/local/gnu/bin/gcc"
    ./configure --prefix =/home/cpt2tli/Openldap2.1.3

c) After configure, we receive message as "Please run "make depend" to build
dependencies". Then we "make depend".

d) After make depend, then I proceed with make and we got the error message
as below :
	Making all in /home/cpt2tli/openldap-2.1.3
	  Entering subdirectory include
	make[1]: Entering directory `/home/cpt2tli/openldap-2.1.3/include'
	make[1]: Nothing to be done for `all'.
	make[1]: Leaving directory `/home/cpt2tli/openldap-2.1.3/include'

	  Entering subdirectory libraries
	make[1]: Entering directory `/home/cpt2tli/openldap-2.1.3/libraries'
	Making all in /home/cpt2tli/openldap-2.1.3/libraries
	  Entering subdirectory liblunicode
	make[2]: Entering directory
`/home/cpt2tli/openldap-2.1.3/libraries/liblunicode'/usr/local/gnu/bin/gcc -
O2 -I../../include        -I../../include   -I/usr/local/include -
I/home/cpt2tli/Berkeley4.0/include     -c -o ucdata.o ucdata.c
	rm -f version.c
	../../build/mkversion -v "2.1.3" liblunicode.a > version.c

sr/local/gnu/bin/gcc -O2 -I../../include        -I../../include   -I/usr/loc
al/include -I/home/cpt2tli/Berkeley4.0/include     -c -o version.o version.c
	ar ru liblunicode.a ucdata.o ure.o urestubs.o ucstr.o version.o

sr/local/gnu/bin/gcc -O2 -I../../include        -I../../include   -I/usr/loc
al/include -I/home/cpt2tli/Berkeley4.0/include     -c -o ucgendat.o
ucgendat.c
	/bin/sh /home/cpt2tli/openldap-2.1.3/libtool --mode=link
/usr/local/gnu/bin/gcc
	-static -O2  -L/usr/local/lib -L/home/cpt2tli/Berkeley4.0/lib   -o ucgendat
ucgendat.o   -lV3
	/usr/local/gnu/bin/gcc -O2 -o ucgendat
ucgendat.o  -L/usr/local/lib -L/home/cpt2tli/Berkeley4.0/lib -lV3
	/usr/bin/ld: (Warning) Linker features were used that may not be supported
in future releases. The +vallcompatwarnings option can be used to display
more details, 	and the ld(1) man page contains additional information. This
warning can be suppressed with the +vnocompatwarnings option.
	./ucgendat ./UnicodeData.txt -x ./CompositionExclusions.txt
	make[2]: Leaving directory
`/home/cpt2tli/openldap-2.1.3/libraries/liblunicode'

	  Entering subdirectory liblutil
	make[2]: Entering directory
`/home/cpt2tli/openldap-2.1.3/libraries/liblutil'

sr/local/gnu/bin/gcc -O2 -I../../include        -I../../include   -I/usr/loc
al/include -I/home/cpt2tli/Berkeley4.0/include     -c -o debug.o debug.c

sr/local/gnu/bin/gcc -O2 -I../../include        -I../../include   -I/usr/loc
al/include -I/home/cpt2tli/Berkeley4.0/include     -c -o utils.o utils.c

sr/local/gnu/bin/gcc -O2 -I../../include        -I../../include   -I/usr/loc
al/include -I/home/cpt2tli/Berkeley4.0/include     -c -o uuid.o uuid.c
	uuid.c: In function `lutil_eaddr':
	uuid.c:101: sizeof applied to an incomplete type
	uuid.c:102: storage size of `ifc' isn't known
	uuid.c:122: sizeof applied to an incomplete type
	uuid.c:131: dereferencing pointer to incomplete type
	uuid.c:133: structure has no member named `sa_len'
	uuid.c:133: dereferencing pointer to incomplete type
	uuid.c:134: dereferencing pointer to incomplete type
	uuid.c:134: structure has no member named `sa_len'
	uuid.c:136: dereferencing pointer to incomplete type
	uuid.c:139: `AF_LINK' undeclared (first use this function)
	uuid.c:139: (Each undeclared identifier is reported only once
	uuid.c:139: for each function it appears in.)
	uuid.c:145: dereferencing pointer to incomplete type
	uuid.c:147: dereferencing pointer to incomplete type
	uuid.c:147: dereferencing pointer to incomplete type
	make[2]: *** [uuid.o] Error 1
	make[2]: Leaving directory
`/home/cpt2tli/openldap-2.1.3/libraries/liblutil'
	make[1]: *** [all-common] Error 1
	make[1]: Leaving directory `/home/cpt2tli/openldap-2.1.3/libraries'
	make: *** [all-common] Error 1

Take care and enjoy working ...

Regards,
- Tassy -