I recently updated my system to Ubuntu 24.10 and am having trouble compiling sagemath.
I run ```make distclean```, ```make configure``` followed by ```./configure``` This ends with
```
configure: error:
Given --with-system-gcc=force, but no system package could be used.
That's an error. Please install the indicated package to continue.
(To override this error, use ./configure --without-system-gcc)
```
Early in the configure output, it is clear that it is finding gcc but then at line 829 it reports
```gcc: no suitable system package; this is an error```
I attach the full output from ./configure and also the config.log