I have opened https://trac.sagemath.org/ticket/32060#ticket (configure: Change defaults to --with-system-gcc=force, --with-system-python3=force) for this.
On Friday, June 25, 2021 at 8:45:53 AM UTC-7 Matthias Koeppe wrote: > On Friday, June 25, 2021 at 8:17:27 AM UTC-7 mathzeta2 wrote: > >> >> 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. >> > > We already issue hints at the end of configure regarding the installation > of system packages. > > I would support strengthening these to *errors* for some key packages > such as gcc (but not gfortran - because Xcode does not provide it) and > python3, with the option of overriding them by configure options. We > already have such options: --without-system-gcc, --without-system-python3. > > This is a milder step than making lots of changes to our build system. > > > > > -- 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/df2121e0-fc7e-40b8-91a5-a02d4e9435e4n%40googlegroups.com.