#11119: ECL 11.1.1 fails on Cygwin
------------------------------------------------+---------------------------
Reporter: mhansen | Owner: tbd
Type: defect | Status:
positive_review
Priority: major | Milestone: sage-4.7.3
Component: cygwin | Keywords:
Work_issues: | Upstream: Fixed
upstream, but not in a stable release.
Reviewer: Karl-Dieter Crisman, Reg Burgess | Author: Dmitrii
Pasechnik, Mike Hansen, Karl-Dieter Crisman
Merged: | Dependencies:
------------------------------------------------+---------------------------
Description changed by jdemeyer:
Old description:
> ECL 11.1.1 fails on Cygwin with
>
> {{{
> gcc -DECLDIR="\"/home/mhansen/sage-4.7.alpha3/local/lib/ecl-11.1.1\"" -I.
> -I/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/build
> -I/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c
> -I../ecl/gc -DECL_API -DECL_NO_LEGACY
> -I/home/mhansen/sage-4.7.alpha3/local/include -g -O2 -Dcygwin -c -o
> ffi/libraries.o tmp.c
> /home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:
> In function ‘copy_object_file’:
> /home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:108:
> error: ‘S_IRWXU’ undeclared (first use in this function)
> /home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:108:
> error: (Each undeclared identifier is reported only once
> /home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:108:
> error: for each function it appears in.)
> make[4]: *** [ffi/libraries.o] Error 1
> }}}
>
> another problem is absence of double inclusion guard in
> /usr/include/fenv.h,
> which causes other troubles (see below). This is in fact a Cygwin bug
> uncovered here (cf. below), which should be fixed in the next Cygwin
> update. Meanwhile, you could edit your /usr/include/fenv.h.
>
> ----
>
> Upstream patches fixing the issues here are in the spkg at
> [http://sage.math.washington.edu/home/kcrisman/ecl-11.1.1.p3.spkg]. This
> is separate from Cygwin fixing their problems, of course, so hopefully
> once both have new stable releases we'll really be in good shape, but
> this package should be sufficient on both XP and Windows 7.
New description:
ECL 11.1.1 fails on Cygwin with
{{{
gcc -DECLDIR="\"/home/mhansen/sage-4.7.alpha3/local/lib/ecl-11.1.1\"" -I.
-I/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/build
-I/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c
-I../ecl/gc -DECL_API -DECL_NO_LEGACY
-I/home/mhansen/sage-4.7.alpha3/local/include -g -O2 -Dcygwin -c -o
ffi/libraries.o tmp.c
/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:
In function ‘copy_object_file’:
/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:108:
error: ‘S_IRWXU’ undeclared (first use in this function)
/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:108:
error: (Each undeclared identifier is reported only once
/home/mhansen/sage-4.7.alpha3/spkg/build/ecl-11.1.1/src/src/c/ffi/libraries.d:108:
error: for each function it appears in.)
make[4]: *** [ffi/libraries.o] Error 1
}}}
another problem is absence of double inclusion guard in
/usr/include/fenv.h,
which causes other troubles (see below). This is in fact a Cygwin bug
uncovered here (cf. below), which should be fixed in the next Cygwin
update. Meanwhile, you could edit your /usr/include/fenv.h.
----
Upstream patches fixing the issues here are in the spkg below. This is
separate from Cygwin fixing their problems, of course, so hopefully once
both have new stable releases we'll really be in good shape, but this
package should be sufficient on both XP and Windows 7.
----
'''Apply'''
[http://sage.math.washington.edu/home/kcrisman/ecl-11.1.1.p3.spkg]
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11119#comment:44>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.