Re: GnuPG 2.5.4 build failure on Cygwin

Werner Koch via Gnupg-devel <[email protected]>
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
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

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
openpgp-digital-signature.asc (application/pgp-signature, 247 B)
-----BEGIN PGP SIGNATURE-----

iIMEARYKACsWIQSHd0YfKgdOvEgNNZQZzByeCFsQegUCZ691Vw0cd2tAZ251cGcu
b3JnAAoJEBnMHJ4IWxB68zsA/iV8Vug8YXw5tA1T2Arl2C+hwYCSLyeQICZEuBwK
Sl3aAQD9rc6k676hh7Jb9XfN1Ib1JSi/gAJ9mCR0bgWsL6XFCw==
=w9cC
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.