Re: GnuPG 2.5.4 build failure on Cygwin

marco atzeri via Gnupg-devel <[email protected]>
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <CAB8Xom-eQ2kY7Nz+DAPoSdkQCQ4VE_ncSrxt9QZ3tPcC-Li_Mw@mail.gmail.com>
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

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
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.