#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.3.3
  Component:  cygwin  |    Keywords:            
     Author:          |    Upstream:  N/A       
   Reviewer:          |      Merged:            
Work_issues:          |  
----------------------+-----------------------------------------------------
Description changed by was:

Old description:

> Using either cvxopt-0.9.p8 (in sage-4.3.3) or cvxopt-1.1.2.p2, which is
> at http://boxen.math.washington.edu/home/schilly/sage/spkg/, we get this
> huge error very quickly upon trying to build:
>
> {{{
> building 'base' extension
> creating build/temp.cygwin-1.7.1-i686-2.6
> creating build/temp.cygwin-1.7.1-i686-2.6/C
> gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
> -I/home/wstein/build/sage-4.3.3.alpha0/local/include/python2.6 -c
> C/base.c -o build/temp.cygwin-1.7.1-i686-2.6/C/base.o
> In file included from C/base.c:23:
> C/cvxopt.h:29:21: error: complex.h: No such file or directory
> In file included from C/base.c:24:
> C/misc.h:29: error: expected specifier-qualifier-list before ‘complex’
> C/base.c:58: error: ‘complex’ undeclared here (not in a function)
> C/base.c: In function ‘write_znum’:
> }}}
>
> IDEAS:
>
>  1. Look for complex.h on this page:
> http://www.cygwin.com/ml/cygwin/2006-07/threads.html#00763  That has some
> ideas.
>
>  2. I think Mike Hansen said that he recently released (then
> unreleased!?) numpy-1.4 had a drop-in complex.h?

New description:

 Using either cvxopt-0.9.p8 (in sage-4.3.3) or cvxopt-1.1.2.p2, which is at
 http://boxen.math.washington.edu/home/schilly/sage/spkg/, we get this huge
 error very quickly upon trying to build:

 {{{
 building 'base' extension
 creating build/temp.cygwin-1.7.1-i686-2.6
 creating build/temp.cygwin-1.7.1-i686-2.6/C
 gcc -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
 -I/home/wstein/build/sage-4.3.3.alpha0/local/include/python2.6 -c C/base.c
 -o build/temp.cygwin-1.7.1-i686-2.6/C/base.o
 In file included from C/base.c:23:
 C/cvxopt.h:29:21: error: complex.h: No such file or directory
 In file included from C/base.c:24:
 C/misc.h:29: error: expected specifier-qualifier-list before ‘complex’
 C/base.c:58: error: ‘complex’ undeclared here (not in a function)
 C/base.c: In function ‘write_znum’:
 }}}

 IDEAS:

  1. Look for complex.h on this page:
 http://www.cygwin.com/ml/cygwin/2006-07/threads.html#00763  That has some
 ideas.

  2. I think Mike Hansen said that he recently released (then unreleased!?)
 numpy-1.4 had a drop-in complex.h?

--

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