#13864: Configure Python with pydebug when SAGE_DEBUG is set
----------------------------------------------------------+-----------------
Reporter: jpflori | Owner:
jason
Type: task | Status:
needs_work
Priority: major | Milestone:
sage-pending
Component: misc | Resolution:
Keywords: python spkg | Work issues:
make sure Sage builds and starts
Report Upstream: N/A | Reviewers:
Volker Braun
Authors: Jean-Pierre Flori | Merged in:
Dependencies: #13865, #13867, #13868, #13876, #13832 | Stopgaps:
----------------------------------------------------------+-----------------
Changes (by vbraun):
* dependencies: #13865, #13867, #13868 => #13865, #13867, #13868,
#13876, #13832
* type: enhancement => task
Old description:
> Try spkg at:
> http://boxen.math.washington.edu/home/jpflori/python-2.7.3.p4.spkg
>
> You'll have to rebuild cython and the Sage library if installing this on
> top of a previous Sage install.
>
> You will also have to rebuild a custom gdb linked to a debug version of
> Python if you plan on using gdb.
New description:
Instructions for getting a debug version of Python:
* Download and untar sage-5.6.beta1
* Copy the Cython spkg from #13832 to spkg/standard
* Copy the Python spkg from #13867 to spkg/standard
* Copy the Singular spkg from #13876 to spkg/standard
* Run
{{{
export SAGE_DEBUG=yes
make
}}}
and wait. At the end, Sage will die in a SIGABRT during "Testing
startup"
* Apply the patch from #13868 to the Sage library
* Run `sage -br`
This gives you a Sage version that starts up, but some doctests segfault.
Probably because we just found some bugs ;-)
--
Comment:
I'm making this into a meta-ticket to collect information to build a
Python debug version.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13864#comment:68>
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.