On Sat, Apr 23, 2022 at 2:08 AM Ray Rogers <raymond.roger...@gmail.com> wrote:
>
> Do you still (?) want reports of successes/failures/hick-ups.  I always seem 
> to find the last :)

Sure, we do. Needless to say, it's better be triaged against known bugs.
>
> rrogers
>
> On 4/22/22 11:16, seb....@gmail.com wrote:
>
> (./sage -i should be deprecated and removed…)
>
> — or just have ‘sage -i xyz’ do whatever ‘make xyz’ now does, perhaps.
>
> +1
>
> Replacing sage -i xyz by make xyz sounds like assuming all Sage users are 
> developers. make xyz doesn’t work if the current directory isn’t SAGE_ROOT or 
> if make doesn’t exist on the system. Our advice in _spkg_installation_hint to 
> install an optional package is still sage -i.
>
> If we don’t support optional packages for binary distribution, we should make 
> it clear in the installation guide. Otherwise we need to make sure this works 
> (at least for packages that just copy one file or can be installed by pip).
>
> At the moment both methods don’t work for binary distribution. Regarding sage 
> -i see for example this post along with this update. Regarding make, I 
> verified this on the ubuntu:latest docker image by following both binary 
> install instructions from our guide.
>
> BTW: It seems that things became harder for newcomers to Sage to get it’s 
> current version installed from binaries. Tarballs for 9.5 are not available 
> on download mirrors anymore. For Ubuntu users the hint to use the systems 
> standard package managers leads to an old version (9.0) (assuming most of 
> them would use apt before installing conda, see for examples this thread). 
> Another irritation: command-not-found tells you:
>
> Command 'sage' not found, but can be installed with:
> sudo apt install sagemath-common
>
> But if you do that it will end up with a failure.
>
> john.c...@gmail.com schrieb am Montag, 31. Januar 2022 um 21:13:41 UTC+1:
>>
>> On Mon, 31 Jan 2022 at 20:07, Dima Pasechnik <dim...@gmail.com> wrote:
>> >
>> >
>> >
>> > On Mon, 31 Jan 2022, 20:01 John Cremona, <john.c...@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.
>>
>> 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+...@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+...@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+...@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/0670163c-df7f-4b61-906f-3dc86ece9d11n%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/86368d30-0a1e-3ffa-b48d-aa522bd2f098%40gmail.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/CAAWYfq3GkiN73SLk7vJ6DP_wLDJhT43zzX%3DkcGDqR4MTADZ7fg%40mail.gmail.com.

Reply via email to