I have briefly read the thread, and the related threads, but first I
would like to say thanks to all those who do remote debugging by config
logs and general support for others.
Few questions below.
On 25/06/2021 16:27, Dima Pasechnik wrote:
> On Thu, Jun 24, 2021 at 11:54 PM Volker Braun <
vbrau...@gmail.com> wrote:
>>
>> What about replacing gcc with a script that installs the conda toolchain automatically.
>
> automatically is too much, I think. Configure should error out if
> there is no usable C/C++/gfortran compiler,
> along with its toolchain friends patch, etc, and Python3 (just as we
> do for tar and make, say).
>
> A by-default off option that installs Conda and deps can be included.
> But normally speaking, default system/conda/homebrew packages should do.
>
>
>
I think it is common do have a working compiler as a dependency for
building a library, like the build-essential [1] package in Debian. I do
not know how difficult it is to have a Sage-compatible compiler suite on
a Mac (this mailing list gives some hints), but at many Linux distros I
suppose it is not too difficult. Is it?
Why does Sage builds gcc by default if it can not find it, instead of
what Dima proposes above? Only if ./configure is called with some flag
like "--with-compile-missing-gcc" it will try to build gcc, and
otherwise it will print the tip about installing system packages, or at
least those missing packages detected to be minimal required dependencies.
I recall Volker(?) once suggested to use nix for packaging. How does it
compare to conda for end-users? For development of Sage and optional
packages? Being free from a cooperation? For offline builds?
>> The distro gcc currently does not work for me, so its not THAT rare to get into problems. On the other hard, installing conda is more likely to work than compiling gcc from scratch.
>>
>> On Thursday, June 24, 2021 at 12:57:44 PM UTC+2
dim...@gmail.com wrote:
>>>
>>> It's high time we get rid of this annoyances; all the systems Sage
>>> supports have C/C++/fortran
>>> compilers capable of building Sage, and Python3 as well.
>>>
>>> (and in the very rare cases where it's not available, it's usually a
>>> problem solved
>>> by using something like Conda;)
>>
>> --
>> 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/763f5e25-ec75-434c-b2dc-978e94457c86n%40googlegroups.com.
>
Regards,
TB
[1]
https://packages.debian.org/sid/build-essential