Are there up to date instructions on how to build with Cygwin or Msys somewhere? I am trying to do this on a 64 bit Windows 10 computer. The way I am doing it with Cygwin with default configure options must be wrong. I am new to both Cygwin and OpenLDAP so apologies for my inexperience.
-----Original Message----- From: Howard Chu hyc@symas.com Sent: Thursday, February 17, 2022 5:40 PM To: Quanah Gibson-Mount quanah@fast-mail.org; Joshua Dunbar jdunbar@montereytechnologies.com; openldap-technical@openldap.org Subject: Re: Error when running make test or slapd after building on windows
Quanah Gibson-Mount wrote:
--On Thursday, February 17, 2022 8:00 PM +0000 Joshua Dunbar jdunbar@montereytechnologies.com wrote:
Hello,
I am attempting to install openldap (latest version 2.6.1) on windows using Cygwin where I have installed dependencies of gcc core and make in order to get configure to run. I then run configure from a Cygwin terminal (without any arguments). Configure seems to run fine, and so does make depend, and make. Then when I attempt to run make test (or slapd with any other well formatted slapd.conf file) I get the following error message. I
Hi Joshua,
It's likely related to this discussion:
More than just that. OpenLDAP code supports real POSIX environments and native WIN32 environments. It doesn't support Cygwin, which is a partially-working fake POSIX environment.
You can use Cygwin or MSYS as the build platform, but the binaries will only work if built with the MinGW toolchain for native WIN32 output.
-- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/