Ask Your Question

Revision history [back]

My guess is that you didn't do source SAGE_ROOT/.homebrew-build-env. This has to be done in the same Terminal session as the make command. (I actually put source SAGE_ROOT/.homebrew-build-env in my .zshrc file so that it gets run in every Terminal session, since (a) I build Sage frequently to test new beta releases and (b) it just adjusts a few environment variables, nothing that would cause problems with other things I do.)

The reason that I'm guessing this is that I tested by starting a Terminal session in which this command was not run, and I got the same compilation error.