#13160: upgrade cvxopt to 1.1.5
-------------------------------+--------------------------------------------
Reporter: fbissey | Owner: tbd
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.3
Component: packages | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
-------------------------------+--------------------------------------------
Old description:
> Upgrading cvxopt to 1.1.5 we can get rid of a patch to correct a wrong
> behavior that is obvious on OS X. Also I want to simplify the setup.py
> patch which give rise to overlinking (and in fact potential linking of
> multiple cblas libraries - yuk!). I am also attempting to install the
> documentation.
>
> Experimental spkg at:
> * [http://spkg-upload.googlecode.com/files/cvxopt-1.1.5.spkg]
New description:
Upgrading cvxopt to 1.1.5 we can get rid of a patch to correct a wrong
behavior that is obvious on OS X. Also I want to simplify the setup.py
patch which give rise to overlinking (and in fact potential linking of
multiple cblas libraries - yuk!). I am also attempting to install the
documentation.
Updated spkg at:
* [http://www.stp.dias.ie/~vbraun/Sage/spkg/cvxopt-1.1.5.spkg]
--
Comment (by vbraun):
On Fedora 17 x86_64:
{{{
building 'gsl' extension
creating build/temp.linux-x86_64-2.7
creating build/temp.linux-x86_64-2.7/C
gcc -fno-strict-aliasing -fwrapv -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-
prototypes -fPIC -I/home/vbraun/opt/sage-atlas/sage-5.2/local/include/gsl
-I/home/vbraun/opt/sage-atlas/sage-5.2/local/include/python2.7 -c C/gsl.c
-o build/temp.linux-x86_64-2.7/C/gsl.o
C/gsl.c:28:25: fatal error: gsl/gsl_rng.h: No such file or directory
compilation terminated.
}}}
The header is in Sage but the include path is wrong:
{{{
[vbraun@laptop sage-5.2]$ find | grep gsl_rng
./local/include/gsl/gsl_rng.h
}}}
The fix is to set If I edit `GSL_INC_DIR = SAGE_INCLUDE` in `setup.py`,
and not `SAGE_INCLUDE/gsl`.
I've updated the spkg (see description, only change is the `GSL_INC_DIR`)
and it builds for me now.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13160#comment:20>
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.