[Date Prev][Date Next]
Build Problems for 2.1.13 with Win2K/Cygwin (ITS#2333)
Full_Name: Matt Heitker
OS: Win 2K/Cygwin
Submission from: (NULL) (22.214.171.124)
I run OpenLDAP on Win2K using Cygwin. I was able to get 2.1.12 compiled and
running wonderfully without changes!!!
When I downloaded 2.1.13 and tried to build it, it had problems with
liblutil/getpeereid.c and libldap/os-local.c.
Both were looking for a definition of "struct iovec", which was not found.
I did some fishing in Cygwin, and discovered that "struct iovec" was defined in
So, I added these lines to both files:
and I added the following definition to include/portable.h:
#define HAVE_SYS_UIO_H 1
At that point, 2.1.13 built (and also runs).
I don't know how to fix the configure script, so I thought I'd just describe
what I did to get things to compile and work with Win2K/Cygwin.