Some options:

- try Sage 10.7 instead of 10.6
- do you have any homebrew packages installed? Try installing libpng, since 
that seems to be what's causing your error.
- alternatively, for Sage to build libpng with `make distclean && 
./configure --with-system-libpng=no && make`


On Wednesday, August 20, 2025 at 10:11:23 PM UTC-7 yuand...@gmail.com wrote:

> Hello all. 
> I am trying to install sage from source code on my Macbook Air M2. Now I 
> met a error. 
> I used the release sage-10.6.tar.gz 
> <https://github.com/sagemath/sage/releases/download/10.6/sage-10.6.tar.gz>
> .
> Error building Sage.
>
> The following package(s) may have failed to build (not necessarily
> during this run of 'make all-start'):
>
> * package:         m4ri-20200125
>   last build time: Aug 21 11:19
>   log file:        /Users/imwy/sage/sage-10.6/logs/pkgs/m4ri-20200125.log
>   build directory: 
> /Users/imwy/sage/sage-10.6/local/var/tmp/sage/build/m4ri-20200125
>
> Here is more information:
> 1. As the title says, my system is macOS 15.6 Sequoia. 
> 2. I got xcode-select version 2410. 
> Actually, I met *another* error in my *last* try on* lcalc*(using same 
> resources). 
>
> * package: lcalc-2.0.5 last build time: Aug 20 19:45 log file: 
> /Users/imwy/sage/sage-10.6/logs/pkgs/lcalc-2.0.5.log build directory: 
> /Users/imwy/sage/sage-10.6/local/var/tmp/sage/build/lcalc-2.0.5
>
> I tried the method in unable to build 
> <https://groups.google.com/g/sage-support/c/ytMCZx4xFSA/m/KD7IEn6CDAAJ>, 
> which is 
>
> git pull origin pull/39915/head
> git pull origin pull/39936/head
>
> to change the version of lcalc and givaro, then do make disclean and make 
> again. 
> Then I met the error at the begining. 
>
> Please tell me what can I do!
>
> The log for the error on m4ri is attached.
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/sage-support/385f76cd-2d9a-49c6-9ea2-1c8b2243b6adn%40googlegroups.com.

Reply via email to