On Tue, Dec 3, 2024 at 4:15 AM Giacomo Pope <
giaco...@gmail.com> wrote:
>
> Running brew install gmp:
>
> Jack: sage % brew install gmp
> Warning: gmp 6.3.0 is already installed and up-to-date.
> To reinstall 6.3.0, run:
> brew reinstall gmp
>
> I ran brew update and brew upgrade yesterday before attempting to install sage
>
> Jack: sage % brew update
> ==> Updating Homebrew...
> Updated 1 tap (homebrew/services).
> No changes to formulae or casks.
>
> Here's a new config log file after building with ./bootstrap instead of make configure (the same error occurs).
>
> p.s.
>
> Running find, I can see the gmp.h file:
>
> Jack: sage % find /usr /opt -name "gmp.h"
> /usr/local/include/gmp.h
> /usr/local/Cellar/gmp/6.3.0/include/gmp.h
The 1st should be a link to the 2nd one. What's the output of
ls -l /usr/local/include/gmp.h
ls -l /usr/local/Cellar/gmp/6.3.0/include/gmp.h
(Homebrew does weird things if it finds already installed stuff in
/usr/local...)
Anyhow, your log shows that your C++ toolchain is broken.
I don't understand why it still passed C++ tests as OK.
What happens if you create a one-line file named x.cpp, containing just
#include <iosfwd>
and then run
clang++ -c x.cpp
You should get an error, it's basically also the error shown in the config.log
> --
> 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 visit
https://groups.google.com/d/msgid/sage-devel/3118c678-58ca-43a2-93dd-bb39dd973b83n%40googlegroups.com.