#8278: cygwin: cvxopt doesn't build on cygwin/windows due to missing complex.h
----------------------+-----------------------------------------------------
   Reporter:  was     |       Owner:  tbd       
       Type:  defect  |      Status:  new       
   Priority:  major   |   Milestone:  sage-4.5.2
  Component:  cygwin  |    Keywords:            
     Author:          |    Upstream:  N/A       
   Reviewer:          |      Merged:            
Work_issues:          |  
----------------------+-----------------------------------------------------

Comment(by pjeremy):

 Replying to [comment:6 drkirkby]:
 > complex.h is the header file that you need, but you almost certainly
 need the C99 libraries too. So it's not as simple as just adding a
 complex.h file.

 And the complex.h needs to match the C99 libraries.

 > I'm cc'ing Peter on this, as I know he has (or at least did have), C99
 issues on FreeBSD.

 cephes was introduced to provide C99 functions for Cygwin.  FreeBSD does
 not provide a complete C99 library and I've written a number of tickets to
 use cephes to provide the missing functionality.  See trac tickets #9543
 and #9601 (both of which include patches, though they haven't been
 converted to new SPKG files yet).  numpy also needs the same patch as
 #9601 but I haven't updated the relevant trac ticket for that yet.

 Note that the patch in #9543 relies on some ELF shared library magic (and
 installs a $SAGE_LOCAL/libm.so that includes the cephes functions and
 automatically falls back to the base libm.so for other functions) that may
 not work in Cygwin (on Cygwin, cephes installs C99 libraries as
 $SAGE_LOCAL/libm{c,d,f,l}.a and any other SPKGs needing to reference those
 libraries will need patches to their link steps).

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