Thanks, Kwankyu,,

I'll take the incremental testing approach.  As a first set of questions:

   - On the Install from Source Code
   <https://doc.sagemath.org/html/en/installation/source.html> page, the
   "macOS package installation" paragraph advises the installation of a long
   list of binary packages with Homebrew, e.g.,


   1.

      brew install bdw-gc boost bzip2 cddlib cmake curl ecl flint
fplll freetype...


I presume that all the listed packages should be installed, if at all
possible.  Correct?


   - Such pkg installations often issue cautions and advice, e.,g.

For compilers to find libffi you may need to set:

  export LDFLAGS="-L/usr/local/opt/libffi/lib"

  export CPPFLAGS="-I/usr/local/opt/libffi/include"


For pkg-config to find libffi you may need to set:

  export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig" ==> libiconv

To what extent should the environment variables, etc., be modified in order
to follow this advice?


   - If I understand correctly, system binaries which fail to be installed
   during this preparation phase will be replaced by source from inside the
   repo (rts files?) which will be built during the compile phase (at the
   expense of increased build time).  Correct?

The last question may provide an answer to my other question: How is it
possible to do just the configure/make steps without the preparatory work
to instal system binaries?  At worst case everything will be built on the
fly.

Thanks for any responses and further illumination,

Mike


On Sun, Feb 23, 2025 at 5:45 PM Kwankyu Lee <[email protected]> wrote:

> https://github.com/sagemath/sage/pull/39571 is needed for successful
> build with the latest release.
>
> On Saturday, February 22, 2025 at 10:27:40 PM UTC+9 [email protected]
> wrote:
>
> Thank you, Volker, for that proof of viability of building Sage on Apple
> silicon (an M2 Mini) and to Kwankyu on both an M4 and Intel, all with macOS
> 15.3.1 (I assume).  I would be happy to try again as suggested.  But I
> expect I need to do some *cleaning of accumulated crud on my system* first
> to eliminate possible stumbling blocks.  In that regard, I would appreciate
> any info you could provide on the following:
>
>    - Pre-existing Python and pip installations, whether part of std macOS
>    "Sequoia" 15.3.1 or otherwise.
>    - Any venv environments outside those initiated inside the build.
>    - Expected Homebrew release level
>    - Any changes to the list of suggested brew-installed packages (either
>    from the Installation Guide web pages or the README file in the repo)
>    - Installed certificates for secure downloads during the build process
>    or any proxy issues. (I don't use any proxy.)
>    - Any special considerations for the environment variables, esp. PATH
>
> Instead you try first, and then report where it fails and provide the logs.
>
> --
> 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 [email protected].
> To view this discussion visit
> https://groups.google.com/d/msgid/sage-devel/70897332-0bac-4327-9138-4e12d94cd29fn%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-devel/70897332-0bac-4327-9138-4e12d94cd29fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/sage-devel/CAFpc19VXvOwvNDt-4wV9%2Bv-iwXk-4t7AwCem2d-Jq6rYO7ZERw%40mail.gmail.com.

Reply via email to