#11119: ECL 11.1.1 fails on Cygwin
-----------------------+----------------------------------------------------
Reporter: mhansen | Owner: tbd
Type: defect | Status: new
Priority: major | Milestone:
Component: cygwin | Keywords:
Work_issues: | Upstream: Not yet reported upstream; Will do
shortly.
Reviewer: | Author:
Merged: | Dependencies:
-----------------------+----------------------------------------------------
Description changed by dimpase:
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 courses other troubles (see below). This is in fact a Cygwin bug
> uncovered here, which should be fixed in the next Cygwin update.
> Meanwhile, edit your /usr/include/fenv.h.
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, edit your /usr/include/fenv.h.
--
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11119#comment:10>
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.