#11119: ECL 11.1.1 fails on Cygwin
-----------------------------------+----------------------------------------
   Reporter:  mhansen              |          Owner:  tbd                       
                      
       Type:  defect               |         Status:  needs_review              
                      
   Priority:  major                |      Milestone:  sage-4.7.2                
                      
  Component:  cygwin               |       Keywords:                            
                      
Work_issues:                       |       Upstream:  Fixed upstream, but not 
in a stable release.    
   Reviewer:  Karl-Dieter Crisman  |         Author:  Dima Pasechnik, Mike 
Hansen, Karl-Dieter Crisman
     Merged:                       |   Dependencies:                            
                      
-----------------------------------+----------------------------------------
Description changed by kcrisman:

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, 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, 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.

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11119#comment:24>
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.

Reply via email to