Hi

Ubuntu jaunty 64bit, sage 4.1 built from source tarball.

During sage -upgrade (from a mirror)

<snip>
python `which cython` --embed-positions --incref-local-binop 
-I/usr/local/src/sage-4.1/devel/sage-main -o sage/finance/time_series.c 
sage/finance/time_series.pyx
warning: 
/usr/local/src/sage-4.1/devel/sage-main/sage/finance/time_series.pyx:1722:24: 
cdef variable 'j' declared after it is used

Error converting Pyrex file to C:
------------------------------------------------------------
...
            [20.0000, -3.0000, 4.5000, -2.0000]
        """
        cnumpy.import_array() #This must be called before using the numpy C/api 
or you will get segfault
        cdef cnumpy.npy_intp dims[1]
        dims[0] = self._length
        cdef cnumpy.ndarray n = cnumpy.PyArray_SimpleNewFromData(1, dims, 
cnumpy.NPY_DOUBLE, self._values)
                                                                       ^
------------------------------------------------------------

/usr/local/src/sage-4.1/devel/sage-main/sage/finance/time_series.pyx:1862:72: 
Cannot convert 'numpy.npy_intp [1]' to Python object

Error converting Pyrex file to C:
------------------------------------------------------------
...
            [20.0000, -3.0000, 4.5000, -2.0000]
        """
        cnumpy.import_array() #This must be called before using the numpy C/api 
or you will get segfault
        cdef cnumpy.npy_intp dims[1]
        dims[0] = self._length
        cdef cnumpy.ndarray n = cnumpy.PyArray_SimpleNewFromData(1, dims, 
cnumpy.NPY_DOUBLE, self._values)
                                                                                
                ^
------------------------------------------------------------

/usr/local/src/sage-4.1/devel/sage-main/sage/finance/time_series.pyx:1862:97: 
Cannot convert 'double *' to Python object
Error running command, failed with status 256.
sage: There was an error installing modified sage library code.


real    0m27.868s
user    0m26.042s
sys     0m0.796s
Error building new version of SAGE.
You might try typing 'sage -ba' or write to sage-support with as much 
information as possible.

real    0m42.526s
user    0m33.414s
sys     0m1.896s
sage: An error occurred while installing sage-4.1.1
Please email sage-devel http://groups.google.com/group/sage-devel
explaining the problem and send the relevant part of
of /usr/local/src/sage-4.1/install.log.  Describe your computer, operating 
system, etc.
If you want to try to fix the problem, yourself *don't* just cd to
/usr/local/src/sage-4.1/spkg/build/sage-4.1.1 and type 'make'.
Instead type "/usr/local/src/sage-4.1/sage -sh"
in order to set all environment variables correctly, then cd to
/usr/local/src/sage-4.1/spkg/build/sage-4.1.1
(When you are done debugging, you can type "exit" to leave the
subshell.)
make: *** [installed/sage-4.1.1] Error 1

real    6m56.353s
user    6m17.288s
sys     0m23.837s
Error building Sage.
Error installing Sage!
1 r...@muizenberg:/usr/local/src/sage-4.1#

Should I be getting a brand new tarball to build from?
This is the first sage -upgrade that has failed for me.

regards,
Jan
-- 
   .~. 
   /V\     Jan Groenewald
  /( )\    www.aims.ac.za
  ^^-^^ 

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to