./configure reports no gcc but it is installed

52 views
Skip to first unread message

brett stevens

unread,
Dec 16, 2024, 8:29:56 PM12/16/24
to sage-support
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
config.log
2024_12_16_configure_output.txt

Dima Pasechnik

unread,
Dec 16, 2024, 8:44:09 PM12/16/24
to sage-s...@googlegroups.com, bret...@gmail.com
Hi,
you are trying to install Sage 10.0, for some reason.
Since Sage 10.4 or 10.5 (the current one) you certainly can use gcc-14/g++-14.
HTH
Dima
> --
> You received this message because you are subscribed to the Google Groups "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-support...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/sage-support/56c16b7d-bc2f-4a91-8d25-2a721b21d892n%40googlegroups.com.

brett stevens

unread,
Dec 16, 2024, 10:32:32 PM12/16/24
to sage-support
thanks Dima
brett
Reply all
Reply to author
Forward
0 new messages