On Mon, 31 Jan 2022, 20:13 John Cremona, <john.crem...@gmail.com> wrote:
> On Mon, 31 Jan 2022 at 20:07, Dima Pasechnik <dimp...@gmail.com> wrote: > > > > > > > > On Mon, 31 Jan 2022, 20:01 John Cremona, <john.crem...@gmail.com> wrote: > >> > >> > >> > >> On Mon, 31 Jan 2022, 17:12 Sébastien Labbé, <sla...@gmail.com> wrote: > >>> > >>> The "./configure" part of the installation of sage advice this: > >>> database_cremona_ellcurve-20190911: optional, use > "./configure --enable-database_cremona_ellcurve" to install > >>> > >>> Therefore, if I were you, after updating the source tree with git > let's say, I would do: > >>> > >>> make configure > >>> ./configure --enable-database_cremona_ellcurve > >>> MAKE='make -j8' make > >>> > >>> to compile sagemath in parallel such a way that it automatically > installs the desired optional packages in whatever ordering respecting the > dependencies which works. > >>> > >>> You may also want more such "enable" as follows: > >>> > >>> ./configure \ > >>> --enable-experimental-packages \ > >>> --enable-download-from-upstream-url \ > >>> --enable-ccache \ > >>> --enable-database_cremona_ellcurve > >>> > >>> You may consult the config.log file which lists a lot of them. > >>> > >>> Sincerely, > >>> > >>> Sébastien > >> > >> > >> Thanks for that. Some of us have been building Sage from source for a > long time (14 years!) which means we are set in our ways and just do what > we have always done. > >> > >> On the other hand it should surely be possible to install a package as > simple as this one without triggering a full rebuild, completely > unnecessarily, instead having to know before starting every optional > package one might ever need. > > > > > > you can run ./configure as above after running make, you don't typically > have to do this from scratch. > > > > one also should be able to run > > > > > > make database_cremona_ellcurve > > Dime, you're a hero -- that worked perfectly just as sage -i used to. > > > > > > > (./sage -i should be deprecated and removed...) > > -- or just have 'sage -i xyz' do whatever 'make xyz' now does, perhaps. > note that we now also have make xyz-clean which will uninstall xyz. So, if you want to upgrade xyz, run this first. needless to say, in some cases (eg if xyz is a dependency of some other packages) make xyz should be followed by make build > John > > > > > > >> > >>> > >>> > >>> On Monday, January 31, 2022 at 5:57:08 PM UTC+1 john.c...@gmail.com > wrote: > >>>> > >>>> [copied from sage-release] > >>>> > >>>> ---------- Forwarded message --------- > >>>> From: John Cremona <john.c...@gmail.com> > >>>> Date: Mon, 31 Jan 2022 at 13:47 > >>>> Subject: Re: [sage-release] Re: Sage 9.5 released > >>>> To: <sage-r...@googlegroups.com> > >>>> > >>>> > >>>> I just successfully built 9.5 from a fresh tarball. After completing > >>>> the build I installed (as I usually do) an optional package with the > >>>> command-line "./sage -i database_cremona_ellcurve" and now it is > >>>> rebuilding gmp. What is going on here? Has the way of installing > >>>> optional packages changed -- in which case, surely the use of "sage > >>>> -i" should tell you what to do instead, instead of doing the 'wrong' > >>>> thing? > >>>> > >>>> John > >>>> > >>>> PS In the end it seemed to rebuild just about everything, even though > >>>> installing that package only involves copying one data file; it took a > >>>> couple of hours. It would be nice to know how to avoid it happening > >>>> again (I have several other machines I want to install Sage on and I > >>>> do always need this package;)) > >>> > >>> -- > >>> You received this message because you are subscribed to the Google > Groups "sage-devel" group. > >>> To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+unsubscr...@googlegroups.com. > >>> To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/aa5c66df-2b53-4ef6-9cd0-4338035cef00n%40googlegroups.com > . > >> > >> -- > >> You received this message because you are subscribed to the Google > Groups "sage-devel" group. > >> To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+unsubscr...@googlegroups.com. > >> To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/CAD0p0K6htUkAZ%2BpiW9qgn89_AYowTmE9unkFjXGRrwUW_DTiqw%40mail.gmail.com > . > > > > -- > > You received this message because you are subscribed to the Google > Groups "sage-devel" group. > > To unsubscribe from this group and stop receiving emails from it, send > an email to sage-devel+unsubscr...@googlegroups.com. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/CAAWYfq1eB7YW4AhDbFNc3AuZDXkEf0x5P42ixxU8YL9BpwkXOQ%40mail.gmail.com > . > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/CAD0p0K4JT1EHH%3DpjQ3qh3VEEj3M70-gRrOrAbTBjM9NwrYyW_A%40mail.gmail.com > . > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq0VJtJQF-VD0sM5KBxsogm8gWh3Hqu6%2BKepHvE9bZsA1A%40mail.gmail.com.