On Sat, Jan 28, 2012 at 8:05 AM, Vitja Makarov <vitja.makarov@gmail.com> wrote:
2012/1/26 Jason Grout <jason-sage@creativetrax.com>:
On 1/25/12 11:39 AM, Robert Bradshaw wrote:
install
https://sage.math.washington.edu:8091/hudson/view/ext-libs/job/sage-build/la... by downloading it and running "sage -i cython-devel.spkg"
In fact, you could just do
sage -i https://sage.math.washington.edu:8091/hudson/view/ext-libs/job/sage-build/la...
and Sage will (at least, should) download it for you, so that's even one less step!
Jason
Thanks for detailed instruction! I've successfully built it.
"sage -t -gdb ./...." doesn't work, is that a bug?
vitja@mchome:~/Downloads/sage-4.8$ ./sage -t -gdb devel/sage/sage/combinat/sf/macdonald.py sage -t -gdb "devel/sage/sage/combinat/sf/macdonald.py" ******************************************************************************** Type r at the (gdb) prompt to run the doctests. Type bt if there is a crash to see a traceback. ******************************************************************************** gdb --args python /home/vitja/.sage//tmp/macdonald_6182.py starting cmd gdb --args python /home/vitja/.sage//tmp/macdonald_6182.py ImportError: No module named site [0.2 s]
---------------------------------------------------------------------- The following tests failed:
sage -t -gdb "devel/sage/sage/combinat/sf/macdonald.py" Total time for all tests: 0.2 seconds
Yes, that's a bug.
I've found another way to run tests (using sage -sh and then direct python ~/.sage/tmp/...py)
So I found one of the problems. Here is minimal cython example:
def foo(values): return (0,)*len(values) foo([1,2,3])
len(values) somehow is passed as an integer to PyObject_Multiply()
Yeah, that's a bug too :).