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

Error while Compiling openldap



I got the follwing error while doing "make" .. I had done configure and 
make depend without any errors .. what could be the problem ??

[root@sunil openldap-2.1.12]# make

Making all in /root/RPMS/openldap-2.1.12
  Entering subdirectory include
make[1]: Entering directory `/root/RPMS/openldap-2.1.12/include'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/RPMS/openldap-2.1.12/include'

  Entering subdirectory libraries
make[1]: Entering directory `/root/RPMS/openldap-2.1.12/libraries'
Making all in /root/RPMS/openldap-2.1.12/libraries
  Entering subdirectory liblutil
make[2]: Entering directory 
`/root/RPMS/openldap-2.1.12/libraries/liblutil'
cc -g -O2 -I../../include        -I../../include   
-I/usr/local/BerkeleyDB.4.1/include   -I/usr/local/BerkeleyDB.4.1/include  
-c -o base64.o base64.c
In file included from ../../include/ac/socket.h:46,
                 from base64.c:60:
/usr/include/netdb.h:33:24: rpc/netdb.h: Not a directory
make[2]: *** [base64.o] Error 1
make[2]: Leaving directory `/root/RPMS/openldap-2.1.12/libraries/liblutil'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/root/RPMS/openldap-2.1.12/libraries'
make: *** [all-common] Error 1
 

Regards
Sunil Verekar
email:sverekar@phildigital.com
      sverekar@yahoo.com