You have an old old version of sagex, which is before Robert Bradshaw
added support for "+=" (etc.).  You must do

    sage -upgrade

not just hg_sage.pull(), which only gets the Python/SageX library code.

In particular, Nick's guess is exactly right:

On Wed, 24 Jan 2007 19:23:58 -0800, Nick Alexander <[EMAIL PROTECTED]> wrote:
> Just a guess, but I believe that in place update (+=, *=) were just
> added to sagex.  You might try updating that package.
> Nick

  -- William

On Wed, 24 Jan 2007 17:47:40 -0800, Robert Miller <[EMAIL PROTECTED]> wrote:

>
> Getting the following error when building the latest version of SAGE:
>
> robert-millers-powerbook-g4-12:/Volumes/DATA/sage-1.7 robert$ sage -br
>
> ----------------------------------------------------------
> sage: Building and installing modified SAGE library files.
>
> pyrexc --embed-positions -I/Volumes/DATA/sage-1.7/devel/sage-main
> sage/matrix/matrix_integer_dense.pyx
>
> Error converting Pyrex file to C:
> ------------------------------------------------------------
> ...
> #        moduli = [ start_prime ]
>         residues = [ left._mod_int(start_prime) *
> right._mod_int(start_prime) ]
>         cur_prime = start_prime
>         while product < height:
>             cur_prime = next_prime(cur_prime)
>             product *= cur_prime
>                     ^
> ------------------------------------------------------------
>
> /Volumes/DATA/sage-1.7/devel/sage-main/sage/matrix/matrix_integer_dense.pyx:614:21:
> Expected an identifier or literal
> sage: Error running pyrexc.
> sage: There was an error installing modified sage library code.
>
>
> >
>


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to