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

Re: Open LDAP Installation/Configuration Failed.



I have removed the "-I/usr/include" and added "-I/opt/montavista/pro/devkit/mips/fp_be/include" in the configuration command.

The command and options used for configuration is as follows.

./configure --host=mips CC=/opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-gcc LD=/opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-ld CFLAGS="-g -O2 -I/opt/montavista/pro/devkit/mips/fp_be/include" LDFLAGS=-Bsharable --prefix=/mips/ldap --with-yielding_select=no

The error which i got is 

configure: error: BerkeleyDB version incompatible with BDB/HDB backends

The erros observed in the config.log files are as follows.

conftest.c:29:36: __FOO__/generate_error.h: No such file or directory
configure:12289: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""

conftest.c:30:38: __ASCII__/generate_error.h: No such file or directory

configure:14968: result: no
configure:14992: checking to see if -lrpcrt4 is needed for win32 UUID support
configure:15013: /opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-gcc -o conftest -g -O2 -I/opt/montavista/pro/devkit/mips/fp_be/include  -Bsharable conftest.c  -lrpcrt4 >&5
conftest.c:88: error: parse error before "UuidCreate"
conftest.c:88: warning: data definition has no type or storage class
conftest.c:89: error: parse error before "UuidToStringA"
conftest.c:89: warning: data definition has no type or storage class
configure:15013: $? = 1
configure: failed program was:
| /* confdefs.h */

configure:19126: checking for pthread_rwlock_destroy with <pthread.h>
configure:19146: /opt/montavista/pro/devkit/mips/fp_be/bin/mips_fp_be-gcc -o conftest -g -O2 -I/opt/montavista/pro/devkit/mips/fp_be/include  -Bsharable conftest.c  -pthread -lresolv  >&5
conftest.c:106: error: parse error before "rwlock"
conftest.c:106: warning: data definition has no type or storage class

conftest.c:125: error: too many arguments to function `ctime_r'
conftest.c:133: error: too few arguments to function `gethostbyname_r'
conftest.c:136: error: too few arguments to function `gethostbyaddr_r'

configure:20250: checking for db.h
configure:20250: result: yes
configure:20261: checking for Berkeley DB major version in db.h
configure:20281: result: 3
configure:20287: checking for Berkeley DB minor version in db.h
configure:20307: result: 2
configure:20313: checking if Berkeley DB version supported by BDB/HDB backends
configure:20349: result: no
configure:20354: error: BerkeleyDB version incompatible with BDB/HDB backends


I am not getting what is the exact problem. :(




Treat yourself at a restaurant, spa, resort and much more with Rediff Deal ho jaye!