Dr. Ogg wrote: > Why not run in a Linux VM or a docker container? and avoid Cygwin?
Or WSL2. I hear that works pretty well these days. > > >> On Feb 17, 2022, at 2:48 PM, Joshua Dunbar >> <[email protected]> wrote: >> >> 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 <[email protected]> >> Sent: Thursday, February 17, 2022 5:40 PM >> To: Quanah Gibson-Mount <[email protected]>; Joshua Dunbar >> <[email protected]>; [email protected] >> 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 >>> <[email protected]> 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: >>> >>> <https://cygwin.com/pipermail/cygwin/2019-July/241961.html> >> >> 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/
