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

1.2.3 build problem



Some colleagues of mine in India are trying to build OpenLDAP and are
running into this problem after ./configure, when they run 'make
depend'.

Any hints or suggestion are appreciated, and I will forward them on.

Thanks,
Bill Anderson
Xerox Research & Technology

===========================

Here are some the details.
O.S :- SunOS Release 5.6 Generic_105181-03
Window System: Open Windows Version 3.6

The software is untared in the directory /xdsc/ldap.

I run the configure from in /xdsc/ldap directory.

This is what I run to configure and it configures every thing successfully.

env ac_cv_func_pthread_create=no ol_cv_kthread_flag=no
ol_cv_pthread_flag=no ol_cv_pthreads_flag=no ol_cv_thread_flag=no
CPPFLAGS="-I/usr/local/BerkeleyDB/include -I/usr/include"
LDFLAGS="-L/usr/local/BerkeleyDB/lib -L/usr/lib" ./configure
--with-ldbm-api=db2

When I run make depend, I get the following.

Making depend in /xdsc/ldap
  Entering subdirectory include
Making ldapconfig.h

  Entering subdirectory libraries
Making depend in /xdsc/ldap/libraries
  Entering subdirectory liblutil
../../build/mkdep  -d "." -c "cc" -I../../include -I../../include
-I/usr/local/BerkeleyDB/include -I/usr/include -DHAVE_CONFIG_H   base64.c
detach.c md5.c passwd.c sha1.c
base64.c:
detach.c:
md5.c:
passwd.c:
sha1.c:
ld: fatal: file -I../../include: stat failed: No such file or directory

  Entering subdirectory libavl
../../build/mkdep  -d "." -c "cc" -I../../include -I../../include
-I/usr/local/BerkeleyDB/include -I/usr/include -DHAVE_CONFIG_H   avl.c
testavl.c
avl.c:
testavl.c:
"testavl.c", line 28: warning: argument #2 is incompatible with prototype:
     prototype: pointer to function() returning int :
"../../include/avl.h", line 58
     argument : pointer to function(pointer to void) returning void
ld: fatal: file -I../../include: stat failed: No such file or directory

  Entering subdirectory libldif
../../build/mkdep  -d "." -c "cc" -I../../include -I../../include
-I/usr/local/BerkeleyDB/include -I/usr/include -DHAVE_CONFIG_H   line64.c
ld: fatal: file -I../../include: stat failed: No such file or directory