#6456: Upgrade cvxopt in sage from 0.9 to 1.1.2
--------------------------------+-------------------------------------------
Reporter: was | Owner: mabshoff
Type: defect | Status: needs_info
Priority: major | Milestone: sage-4.5.2
Component: packages | Keywords:
Author: schilly, dimpase | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
--------------------------------+-------------------------------------------
Comment(by drkirkby):
Replying to [comment:51 jhpalmieri]:
> While this builds on t2.math, it fails to build on mark (a skynet
solaris machine). Of course, the old version of cvxopt doesn't build on
mark, either...
>
> With either version, I get this, right at the start of the build:
> {{{
> running build_ext
> building 'glpk' extension
> creating build/temp.solaris-2.10-sun4u-2.6
> creating build/temp.solaris-2.10-sun4u-2.6/C
> gcc -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -fPIC -I/home/pa\
> lmieri/mark/sage-4.5.2.alpha1/local/include
-I/home/palmieri/mark/sage-4.5.2.alpha1/local/include/\
> python2.6 -c C/glpk.c -o build/temp.solaris-2.10-sun4u-2.6/C/glpk.o
> In file included from C/cvxopt.h:32:0,
> from C/glpk.c:20:
> C/sun_complex.h:33:32: error: expected identifier or '(' before
'_Imaginary'
> error: command 'gcc' failed with exit status 1
> Error building/installing cvxopt
> }}}
John, what is the md5 checksum of the package you used? Where did you get
it from? I took Dima's package
http://boxen.math.washington.edu/home/dima/packages/cvxopt-1.1.2.p1.spkg
(md5 = 38681db8e19f69b0e7972c5278e8e183)
but get no such error message on t2.math (Solaris 10). I do notice a lot
of unused variables, and other compiler warnings, which always make me a
bit weary of code.
I think in light of what Peter Jeremy has found, it would be foolish to
not add an spkg-check file and execute the self-tests for cvxopt.
Dave
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6456#comment:52>
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.