GnuPG 2.5.4 build failure on Cygwin
marco atzeri
marco.atzeri at gmail.com
Mon Feb 17 09:38:17 CET 2025
On Fri, Feb 14, 2025 at 5:53 PM Werner Koch wrote:
>
> On Thu, 13 Feb 2025 15:14, Marco Atzeri said:
> > Building on Cygwin 64 bit
>
> > What is supposed to be SOCKET ?
>
> This is used by Windows; configure.ac has this test:
>
> # Check SOCKET type for Windows.
> AC_CHECK_TYPES([SOCKET], [], [], [[#include "winsock2.h"]])
>
> > Posix does not define "SOCKET" in sys/socket.h
>
> Cygwin is a mix of WIndows and Posix and thus you will run into such
> problems. Cygwin is not supported by GnuPG because you can build it
> native for Windows or use it with WSL.
Cygwin Users disagree ;-)
> I would suggest to run configure this way
>
> ./configure ac_cv_type_SOCKET=no
It works as expected
Thanks
Marco
Cygwin package maintainer for gnupg packages
More information about the Gnupg-devel
mailing list