Helpful Information
 
 
Category: LDAP Programming
Installation LDAP under cygwin

Hey I´m a beginner in LDAP and I try to install it under cygwin.

The BerkeleyDB is installed and makes no problem, then I run:

$ env CPPFLAGS="-I/usr/local/BerkeleyDB.4.1/include" LDFLAGS="-L/usr/local/BerkeleyDB.4.1/lib" ./configure --prefix=/usr/local/openldap

to configure the openldap-2.1.21 and the BerkeleyDB was found and I should achieve make depend, but when I achieve make depend I get a lot of warnings: (please have a look below!)

Sorry about my english!

Thank you

Joe


In file included from ../../include/ac/socket.h:55,
from slapd-modrdn.c:14:
/usr/include/w32api/winsock2.h:96: warning: #warning "fd_set and associated macr
os have been defined in sys/types. This may cause runtime problems with W32
sockets"
/usr/include/w32api/winsock2.h:119: warning: `timercmp' redefined
/usr/include/sys/time.h:51: warning: this is the location of the previous defini
tion
/usr/include/w32api/winsock2.h:120: warning: `timerclear' redefined
/usr/include/sys/time.h:47: warning: this is the location of the previous defini
tion
/usr/include/w32api/winsock2.h:129: warning: `_IO' redefined
/usr/include/asm/socket.h:21: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:130: warning: `_IOR' redefined
/usr/include/asm/socket.h:22: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:131: warning: `_IOW' redefined
/usr/include/asm/socket.h:23: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:132: warning: `FIONBIO' redefined
/usr/include/asm/socket.h:27: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:225: warning: `IN_CLASSA' redefined
/usr/include/cygwin/in.h:113: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:228: warning: `IN_CLASSA_HOST' redefined
/usr/include/cygwin/in.h:116: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:230: warning: `IN_CLASSB' redefined
/usr/include/cygwin/in.h:119: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:233: warning: `IN_CLASSB_HOST' redefined
/usr/include/cygwin/in.h:122: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:235: warning: `IN_CLASSC' redefined
/usr/include/cygwin/in.h:125: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:238: warning: `IN_CLASSC_HOST' redefined
/usr/include/cygwin/in.h:128: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:239: warning: `INADDR_ANY' redefined
/usr/include/cygwin/in.h:138: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:241: warning: `INADDR_BROADCAST' redefined
/usr/include/cygwin/in.h:141: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:264: warning: `SO_DEBUG' redefined
/usr/include/asm/socket.h:47: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:265: warning: `SO_ACCEPTCONN' redefined
/usr/include/asm/socket.h:48: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:266: warning: `SO_REUSEADDR' redefined
/usr/include/asm/socket.h:49: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:267: warning: `SO_KEEPALIVE' redefined
/usr/include/asm/socket.h:50: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:268: warning: `SO_DONTROUTE' redefined
/usr/include/asm/socket.h:51: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:269: warning: `SO_BROADCAST' redefined
/usr/include/asm/socket.h:52: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:270: warning: `SO_USELOOPBACK' redefined
/usr/include/asm/socket.h:53: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:271: warning: `SO_LINGER' redefined
/usr/include/asm/socket.h:54: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:272: warning: `SO_OOBINLINE' redefined
/usr/include/asm/socket.h:55: warning: this is the location of the previous defi
nition
/usr/include/w32api/winsock2.h:323: warning: `AF_MAX' redefined
/usr/include/cygwin/socket.h:80: warning: this is the location of the previous d
efinition
/usr/include/w32api/winsock2.h:372: warning: `SOMAXCONN' redefined
/usr/include/cygwin/socket.h:109: warning: this is the location of the previous
definition
/usr/include/w32api/winsock2.h:373: warning: `MSG_OOB' redefined
/usr/include/cygwin/socket.h:112: warning: this is the location of the previous
definition
/usr/include/w32api/winsock2.h:374: warning: `MSG_PEEK' redefined
/usr/include/cygwin/socket.h:113: warning: this is the location of the previous
definition
/usr/include/w32api/winsock2.h:375: warning: `MSG_DONTROUTE' redefined
/usr/include/cygwin/socket.h:114: warning: this is the location of the previous
definition
/usr/include/w32api/winsock2.h:460: warning: `HOST_NOT_FOUND' redefined
/usr/include/netdb.h:127: warning: this is the location of the previous definiti
on
/usr/include/w32api/winsock2.h:461: warning: `TRY_AGAIN' redefined
/usr/include/netdb.h:128: warning: this is the location of the previous definiti
on
/usr/include/w32api/winsock2.h:462: warning: `NO_RECOVERY' redefined
/usr/include/netdb.h:129: warning: this is the location of the previous definiti
on
/usr/include/w32api/winsock2.h:463: warning: `NO_DATA' redefined
/usr/include/netdb.h:130: warning: this is the location of the previous definiti
on
/usr/include/w32api/winsock2.h:464: warning: `NO_ADDRESS' redefined
/usr/include/netdb.h:131: warning: this is the location of the previous definiti
on
/usr/include/w32api/winsock2.h:559: warning: `IN_CLASSD' redefined
/usr/include/cygwin/in.h:130: warning: this is the location of the previous defi
nition
make[2]: Leaving directory `/tmp/openldap-2.1.21/tests/progs'

make[1]: Leaving directory `/tmp/openldap-2.1.21/tests'

Entering subdirectory doc
make[1]: Entering directory `/tmp/openldap-2.1.21/doc'
Making depend in /tmp/openldap-2.1.21/doc
Entering subdirectory man
make[2]: Entering directory `/tmp/openldap-2.1.21/doc/man'
Making depend in /tmp/openldap-2.1.21/doc/man
Entering subdirectory man1
make[3]: Entering directory `/tmp/openldap-2.1.21/doc/man/man1'
make[3]: Nothing to be done for `depend'.
make[3]: Leaving directory `/tmp/openldap-2.1.21/doc/man/man1'

Entering subdirectory man3
make[3]: Entering directory `/tmp/openldap-2.1.21/doc/man/man3'
make[3]: Nothing to be done for `depend'.
make[3]: Leaving directory `/tmp/openldap-2.1.21/doc/man/man3'

Entering subdirectory man5
make[3]: Entering directory `/tmp/openldap-2.1.21/doc/man/man5'
make[3]: Nothing to be done for `depend'.
make[3]: Leaving directory `/tmp/openldap-2.1.21/doc/man/man5'

Entering subdirectory man8
make[3]: Entering directory `/tmp/openldap-2.1.21/doc/man/man8'
make[3]: Nothing to be done for `depend'.
make[3]: Leaving directory `/tmp/openldap-2.1.21/doc/man/man8'

make[2]: Leaving directory `/tmp/openldap-2.1.21/doc/man'

make[1]: Leaving directory `/tmp/openldap-2.1.21/doc'

I've never used cygwin so I'm not sure of anything to do with it. But is the program installing and owrking fine? Or do the warnings stop it from being installled? Normally warnings are just that they warn you but still allow it to be completed.

When I achieve make install after make depend nothing will be installed. So I think the warings are importend.

I still trying

Jochen R.

If you are a beginner to LDAP on windows you should try qsladp from qualcum.










privacy (GDPR)