Some observations: - It's showing a different error now. - I find it unusual that more packages haven't been built before it tries to build sagelib. You could try "make" again and see how far it gets. - config.log says
Invocation command line was $ ./configure PKG_CONFIG_PATH=/opt/homebrew/opt/sqlite/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig:/opt/homebrew/opt/openblas/lib/pkgconfig:/opt/homebrew/lib/pkgconfig: --no-create --no-recursion Did you pass these arguments to ./configure? - Did you "source .homebrew-build-env" before running "./configure" and "make"? On Wednesday, January 4, 2023 at 2:59:01 PM UTC-8 alexcha...@gmail.com wrote: > After following all of the suggestions, I am still getting the error > > """ > Error building Sage. > > The following package(s) may have failed to build (not necessarily > during this run of 'make all-start'): > > * package: sagelib-9.8.beta6 > last build time: Jan 4 14:45 > log file: > /Users/alexchandler/Documents/GitHub/sage/logs/pkgs/sagelib-9.8.beta6.log > > It is safe to delete any log files and build directories, but they > contain information that is helpful for debugging build problems. > WARNING: If you now run 'make' again, the build directory of the > same version of the package will, by default, be deleted. Set the > environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. > > make[1]: *** [all-start] Error 1 > make: *** [all] Error 2 > """ > > This time there are only four packages with errors pointed out when I run > > grep -li "^Error" logs/pkgs/* > > so this is an improvement, but I am still unable to proceed. Any idea how > to fix the issue? I have attached logs, config.log, and a text file with > the 4 packages with errors. > > Thank you! > Alex > > On Wednesday, January 4, 2023 at 11:35:39 AM UTC-8 John H Palmieri wrote: > >> Many of the errors are discussed at >> https://trac.sagemath.org/ticket/34838. You can probably avoid those by >> running "make typing_extensions" before running "make". >> >> The most recent error seems to be for sagelib: >> >> ld: library not found for -lopenblas >> >> I assume that you followed the directions at the end of ./configure? It >> is possible that some homebrew package got updated after running >> ./configure, and now Sage is looking for the old one and can't find it. >> Maybe you need to start over by running "make distclean"? Re-run >> "./configure", then "make typing_extension", then "make". >> >> >> On Tuesday, January 3, 2023 at 10:56:01 PM UTC-8 alexcha...@gmail.com >> wrote: >> >>> Hello, >>> >>> I am trying to build Sage 9.8 from source on a 2021 Apple M1 laptop. I >>> have attached the logs for each attempt and also the packages with errors >>> as indicated by running >>> >>> grep -li "^Error" logs/pkgs/* >>> >>> Thank you, >>> Alex >>> >>> >>> -- 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 on the web visit https://groups.google.com/d/msgid/sage-support/be9c7509-cba6-4fa2-9619-173161896767n%40googlegroups.com.