Hi Dima, It looks like both were already linked but I ended up reinstalling them and everything worked, thank you so much.
In general, do you recommend installing libraries like flint from sagemath/homebrew-science before building sage? I see that there are a lot of formulas there but I'm not sure any of them have Catalina bottles. I don't know too much about homebrew, but I'd be happy to try to contribute Catalina bottles if this is something worth doing. Best, Zach On Monday, June 1, 2020 at 3:51:23 PM UTC-4, Dima Pasechnik wrote: > > On Mon, Jun 1, 2020 at 8:30 PM Zachary Scherr <zsc...@gmail.com > <javascript:>> wrote: > > > > Hi Dima, > > > > I already have all of the homebrew packages installed, I'm not sure > why it offers that suggestion. > > By looking at your config.log, I see that flint and ntl are keg-only, > which actually results in sqlite ,zlib, and curl tests failing > (because the tests for libcurl and libsqlite actually try to link and > run programs linked to an already detected list of libs, > but locations of some of these libs need extra -L flags, oops) > > brew link ntl > brew link flint > make zlib-clean sqlite-clean python3-clean > > run > ./configure > it should tell you that zlib, sqlite, python3, r should come from the > system... > > > > > > I also updated from OS 10.14 to 10.15 right before building sage. I > had previously built sage on 10.14 without these problems. > > > > Best, > > Zach > > > > On Monday, June 1, 2020 at 3:27:19 PM UTC-4, Dima Pasechnik wrote: > >> > >> On Mon, Jun 1, 2020 at 7:37 PM Zachary Scherr <zsc...@gmail.com> > wrote: > >> > > >> > Hi All, > >> > > >> > I recently tried building Sage on Catalina 10.15.5. I have > homebrew with all recommended packages installed and I tried building sage > via the commands > >> > > >> your config.log says that e.g. sqlite is not installed. > >> At the end of ./configure run, please have a look at the advice to > >> install packages it now prints. > >> > >> > make distclean > >> > source .homebrew-build-env > >> > ./configure > >> > MAKE='make -j18' make build > >> > > >> > and it crashed with the error > >> > > >> > Error building Sage. > >> > > >> > The following package(s) may have failed to build (not necessarily > >> > during this run of 'make all-build'): > >> > > >> > * package: r-3.6.2.p0 > >> > last build time: Jun 1 14:21 > >> > log file: /Users/zscherr/SageMath/logs/pkgs/r-3.6.2.p0.log > >> > build directory: > /Users/zscherr/SageMath/local/var/tmp/sage/build/r-3.6.2.p0 > >> > > >> > I'm not entirely sure why it's building R in the first place since > I already have it installed via homebrew. I briefly checked the log file > and saw ld: library not found for -lssl which I'm thinking might be somehow > related > >> > to the fact that openssl and curl-openssl are keg-only. My best > guess might be that "source .homebrew-build-env" ends up missing some > environment variables, but I'd really appreciate any help you can offer. > >> > > >> > Thanks, > >> > Zach > >> > > >> > -- > >> > 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 sage-...@googlegroups.com. > >> > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/6a84dd22-2e9e-4139-aab7-6582cb0bf598%40googlegroups.com. > > > > > > -- > > 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 sage-...@googlegroups.com <javascript:>. > > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/0be2e81e-9df9-432f-b3b5-19d93f698508%40googlegroups.com. > > > -- 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 sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/8d6dc490-8108-4960-a540-3af992126e23%40googlegroups.com.