You can install Homebrew's Python 3.12 : brew install python@3.12
and run ./configure --with-python=python3.12 to tell Sage to use it and do not build Python. On 2 January 2025 06:27:09 GMT-05:00, Pavel Galashin <pgalas...@gmail.com> wrote: >Hi all, > >I am trying to build a local sage version for development and keep running >into the below problem. > >I have been following this manual ><https://doc.sagemath.org/html/en/installation/source.html#macos-recommended-installation> >and >the README <https://github.com/sagemath/sage/?tab=readme-ov-file#readme> >file. In particular, all the homebrew packages have been installed, and I >also did the > >source ./.homebrew-build-env >I am on an M4 Macbook Pro (2024), Mac OS Sequoia 15.2. >Not sure if this is relevant: I recently migrated from an intel 2020 >macbook, and migrated homebrew as described here ><https://medium.com/@ravi.mba.techie/a-minimalist-guide-to-migrate-homebrew-from-intel-macs-to-apple-silicon-macs-in-a-simple-5-steps-3e545576dab5> >. > >Any help would be appreciated! > >[spkg-build] ld: warning: search path >'/Users/user/sage/sage/local/var/lib/sage/venv-python3.12.5/lib' not >found >[spkg-build] Undefined symbols for architecture arm64: >[spkg-build] "_libintl_bindtextdomain", referenced from: >[spkg-build] __locale_bindtextdomain in _localemodule.o >[spkg-build] "_libintl_dcgettext", referenced from: >[spkg-build] __locale_dcgettext in _localemodule.o >[spkg-build] "_libintl_dgettext", referenced from: >[spkg-build] __locale_dgettext in _localemodule.o >[spkg-build] "_libintl_gettext", referenced from: >[spkg-build] __locale_gettext in _localemodule.o >[spkg-build] "_libintl_setlocale", referenced from: >[spkg-build] __locale_setlocale in _localemodule.o >[spkg-build] __locale_setlocale in _localemodule.o >[spkg-build] __locale_localeconv in _localemodule.o >[spkg-build] __locale_localeconv in _localemodule.o >[spkg-build] __locale_localeconv in _localemodule.o >[spkg-build] __locale_localeconv in _localemodule.o >[spkg-build] "_libintl_textdomain", referenced from: >[spkg-build] __locale_textdomain in _localemodule.o >[spkg-build] ld: symbol(s) not found for architecture arm64 >[spkg-build] clang: error: linker command failed with exit code 1 (use >-v to see invocation) >[spkg-build] make[5]: *** [Programs/_freeze_module] Error 1 >[spkg-build] >******************************************************************************** >[spkg-build] Error building python3-3.12.5 >[spkg-build] >******************************************************************************** >************************************************************************ >Error building package python3-3.12.5 >************************************************************************ > >-- >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/CAFw1yAgYRVd%2B9dLuUoUuD3s%3DGifMZ%3DUKgdLM7P3SYJxoctmjZw%40mail.gmail.com. -- 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/203F1045-E556-4BCF-A3DC-C89457697FB2%40gmail.com.