GnuPG 2.5.4 build failure on Cygwin
Werner Koch
wk at gnupg.org
Fri Feb 14 17:54:47 CET 2025
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.
I would suggest to run configure this way
./configure ac_cv_type_SOCKET=no
to tell the test that there is no SOCKET type on your system.
Salam-Shalom,
Werner
--
The pioneers of a warless world are the youth that
refuse military service. - A. Einstein
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 247 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20250214/296fd171/attachment.sig>
More information about the Gnupg-devel
mailing list