A relevant conversation with William, earlier:

William wrote:
>> By the way, what are the differences between the following?
>>
>> sage -update
>
>This is the first step of doing "sage -upgrade".  It downloads new
>packages but doesn't apply them.  It confuses WAY more people (at least 3)
>than it helps (David Kohel), so I'm removing it.
>
>> hg_sage.pull()
>> hg_sage.update()

>This refers only the SAGE library hg repository.

What is the difference between "new packages" and the "SAGE library hg
repository"?

On Jan 24, 11:39 pm, "Robert Miller" <[EMAIL PROTECTED]> wrote:
> Ok, I think I know a little more about what went wrong:
>
> After doing sage -update-build, sage compiles just fine. My assumption
> was that
>
> sage -update
> sage -br
>
> would do the trick, but it seems as if sage -br doesn't build the
> downloaded updates... I'm wondering, what does sage -br actually do?
> Where is the dividing line?
>
> On Jan 24, 11:31 pm, "Robert Miller" <[EMAIL PROTECTED]> wrote:
>
> > Ok, I got it mixed up, what I did was -update followed by -br. Point
> > is, after update, my sage fails to build.
>
> > On Jan 24, 11:27 pm, Robert Bradshaw <[EMAIL PROTECTED]>
> > wrote:
>
> > > Yeah, upgrade != update (though to be honest I don't know the
> > > intricacies of the differences).
>
> > > On Jan 24, 2007, at 11:26 PM, Robert Miller wrote:
>
> > > > Look carefully at my previous post: all I did was sage -upgrade
> > > > followed by sage -br.
>
> > > > On Jan 24, 11:23 pm, Robert Bradshaw <[EMAIL PROTECTED]>
> > > > wrote:
> > > >> Doesn't look like it got the new sagex package, have you tried sage -
> > > >> upgrade?
>
> > > >> On Jan 24, 2007, at 11:14 PM, Robert Miller wrote:
>
> > > >>> This only emphasizes my frustration with mercurial:
>
> > > >>> robert-millers-powerbook-g4-12:/Volumes/DATA/sage-1.7 robert$ sage
> > > >>> -update
> > > >>> Using SAGE Serverhttp://sage.math.washington.edu/sage//packages
> > > >>>http://sage.math.washington.edu/sage//packages/install--> install
> > > >>> [.]
> > > >>>http://sage.math.washington.edu/sage//packages/standard/list--> list
> > > >>> [.]
> > > >>>http://sage.math.washington.edu/sage//packages/standard/deps--> deps
> > > >>> [.]
> > > >>>http://sage.math.washington.edu/sage//packages/standard/
> > > >>> newest_version
> > > >>> --> newest_version
> > > >>> [.]
> > > >>>http://sage.math.washington.edu/sage//packages/standard/README-->
> > > >>> README
> > > >>> [.]
> > > >>>http://sage.math.washington.edu/sage//packages/standard/
> > > >>> doc-1.8.2.1.spkg
> > > >>> --> doc-1.8.2.1.spkg
> > > >>> [..................................................]
> > > >>>http://sage.math.washington.edu/sage//packages/standard/
> > > >>> examples-1.8.2.1.spkg
> > > >>> --> examples-1.8.2.1.spkg
> > > >>> [..................................................]
> > > >>>http://sage.math.washington.edu/sage//packages/standard/
> > > >>> extcode-1.8.2.1.spkg
> > > >>> --> extcode-1.8.2.1.spkg
> > > >>> [..................................................]
> > > >>>http://sage.math.washington.edu/sage//packages/standard/mpfi-1.3.4-
> > > >>> rc3.p2.spkg
> > > >>> --> mpfi-1.3.4-rc3.p2.spkg
> > > >>> [...............]
> > > >>>http://sage.math.washington.edu/sage//packages/standard/
> > > >>> sage-1.8.2.1.spkg
> > > >>> --> sage-1.8.2.1.spkg
> > > >>> [..................................................]
> > > >>>http://sage.math.washington.edu/sage//packages/standard/
> > > >>> sage_c_lib-1.8.2.1.spkg
> > > >>> --> sage_c_lib-1.8.2.1.spkg
> > > >>> [....................................]
> > > >>>http://sage.math.washington.edu/sage//packages/standard/
> > > >>> sage_scripts-1.8.2.1.spkg
> > > >>> --> sage_scripts-1.8.2.1.spkg
> > > >>> [..............................]
> > > >>> 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.
>
> > > >>> On Jan 24, 8:02 pm, "William Stein" <[EMAIL PROTECTED]> wrote:
> > > >>>> 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