Skip to content

Upgrade ECL to 12.12.1 and let it build on (recent) Cygwins #13324

@jpflori

Description

@jpflori

On my 1.7.16 installation of Cygwin, the ecl spkg does not build because it defines unconditionaly _WINSOCKAPI_ in h/ecl-cmp.h which then prevents the definition of fd_set in /usr/include/sys/types.h.
I guess this is harmless on Linux, intended on Windows, but on Cygwin this breaks the build of ECL.

The proposed spkg patches h/ecl-cmp.h so that _WINSOCKAPI_ is not defined on CYGWIN.
This has been merged upstream and is in 12.12.1:
https://sourceforge.net/p/ecls/ecl/ci/07c4ab7db83eda2eed7fa4a5ddeec2e28c7eb58b/

Moreover comes patches from upstream to get correct signal handling and is in 12.12.1:

We build ECL single threaded to get hopefully more correct signal handling in library mode and avoid problems with the pexpect interface.

And a later patch to avoid infinite loops while compiling lisp to C:
http://sourceforge.net/p/ecls/ecl/ci/13459a98f0c0c58ccc4e9241c3bf0625e39f2383/

Older patches which are now upstream have been removed.

Be sure to use Sage 5.6.beta2 or higher, so that the Maxima spkg is ready for this.

Try spkg at
http://boxen.math.washington.edu/home/jpflori/ecl-12.12.1.p0.spkg

Apply:

Depends on #13860

Upstream: Fixed upstream, but not in a stable release.

CC: @kiwifb

Component: porting: Cygwin

Keywords: cygwin ecl spkg

Author: Jean-Pierre Flori

Reviewer: François Bissey, Karl-Dieter Crisman, Dmitrii Pasechnik

Merged: sage-5.7.beta0

Issue created by migration from https://trac.sagemath.org/ticket/13324

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions