The config.log that you sent does not correspond to this build. It comes from a run of "configure" that ended with the error: "configure:10277: error: Cannot build Sage on macOS with GNU's gcc. Make use gcc and g++ are actually Clang compilers."
So what needs to be done here is to clean up PATH. I don't know what /opt/local is on your machine, but that's what I'd suggest to remove first. On Thursday, April 14, 2022 at 9:39:32 AM UTC-7 dev....@gmail.com wrote: > Hi, > > I am interested in applying to Sage GSoC so I am trying to build from > source by myself, however I encountered the following: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > *[eclib-20210625] Undefined symbols for architecture > x86_64:[eclib-20210625] "__ZN3NTLlsERSoRKNS_2RRE", referenced > from:[eclib-20210625] __Z4asinRKN3NTL2RRE in > interface.o[eclib-20210625] __Z7longifyRKN3NTL2RRERli in > interface.o[eclib-20210625] __Z9ratapproxN3NTL2RRERlS1_l in > marith.o[eclib-20210625] > __Z20conic_mordell_reduceRKN3NTL2ZZES2_S2_RS0_S3_S3_i in > conic.o[eclib-20210625] __Z14reduced_cubicsRKN3NTL2ZZEiii in > cubic.o[eclib-20210625] > __ZStlsIN3NTL2RREcSt11char_traitsIcEERSt13basic_ostreamIT0_T1_ES8_RKSt7complexIT_E > > in cperiods.o[eclib-20210625] > __ZStlsIN3NTL2RREcSt11char_traitsIcEERSt13basic_ostreamIT0_T1_ES8_RKSt7complexIT_E > > in isogs.o[eclib-20210625] ...[eclib-20210625] > "__ZN3NTLlsERSoRKNS_2ZZE", referenced from:[eclib-20210625] > __Z5I2intRKN3NTL2ZZE in interface.o[eclib-20210625] > __Z6I2longRKN3NTL2ZZE in interface.o[eclib-20210625] > __Z4showRKN3NTL2ZZE in marith.o[eclib-20210625] > __Z5chremRKN3NTL2ZZES2_S2_S2_ in marith.o[eclib-20210625] > __Z12divide_exactRKN3NTL2ZZES2_RS0_ in marith.o[eclib-20210625] > __Z6invmodRKN3NTL2ZZES2_ in marith.o[eclib-20210625] > __Z6invmodRKN3NTL2ZZEl in marith.o[eclib-20210625] > ...[eclib-20210625] "__ZN3NTLlsERSoRKNS_3ZZXE", referenced > from:[eclib-20210625] > __ZN3NTLlsINS_4PairINS_3ZZXElEEEERSoS4_RKNS_3VecIT_EE in > nfd.o[eclib-20210625] __ZN3nfdC1EP8homspaceiiii in > nfd.o[eclib-20210625] "__ZN3NTLlsERSoRKNS_5ZZ_pXE", referenced > from:[eclib-20210625] __ZNK6ffmodq6outputERSo in > ffmod.o[eclib-20210625] __Z6fact_cPN3NTL2ZZEi in > mlocsol.o[eclib-20210625] > __ZN3NTLlsINS_4PairINS_5ZZ_pXElEEEERSoS4_RKNS_3VecIT_EE in > mlocsol.o[eclib-20210625] __Z9local_solRKN3NTL2ZZEPS0_i in > mlocsol.o[eclib-20210625] "__ZN3NTLrsERSiRNS_2RRE", referenced > from:[eclib-20210625] __ZrsRSiRSt7complexIN3NTL2RREE in > interface.o[eclib-20210625] "__ZN3NTLrsERSiRNS_2ZZE", referenced > from:[eclib-20210625] > __ZN17extra_prime_class14read_from_fileENSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEi > > in marith.o[eclib-20210625] > __Z20read_vec_from_stringNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE > in marith.o[eclib-20210625] __ZrsRSiR5vec_m in > mvector.o[eclib-20210625] __ZrsRSiR5mat_m in > mmatrix.o[eclib-20210625] > __ZN3NTL4convINS_2ZZEPKcEEN14_ntl_enable_ifIXsr20_ntl_is_char_pointerIT0_E5valueEvE4typeERT_S6_ > > in mmatrix.o[eclib-20210625] __Z10testcancelv in > conic.o[eclib-20210625] __Z7testsqfv in conic.o[eclib-20210625] > ...[eclib-20210625] "___emutls_v.avma", referenced from:[eclib-20210625] > __Z15eclib_pari_initl in parifact.o[eclib-20210625] > __Z6factorNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in > parifact.o[eclib-20210625] > __Z8is_primeNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEE in > parifact.o[eclib-20210625] __Z5ellapllllll in > parifact.o[eclib-20210625] "___emutls_v.pari_mainstack", referenced > from:[eclib-20210625] __Z5ellapllllll in parifact.o[eclib-20210625] > ld: symbol(s) not found for architecture x86_64[eclib-20210625] collect2: > error: ld returned 1 exit status[eclib-20210625] make[6]: *** [libec.la > <http://libec.la>] Error 1[eclib-20210625] make[5]: *** [all-recursive] > Error 1[eclib-20210625] > *************************************************************************************************************************************************************************************[eclib-20210625] > > Error building eclib-20210625[eclib-20210625] > *************************************************************************************************************************************************************************************[eclib-20210625][eclib-20210625] > > real 8m16.102s[eclib-20210625] user 6m49.813s[eclib-20210625] sys > 0m53.610s[eclib-20210625] > ************************************************************************[eclib-20210625] > > Error installing package eclib-20210625[eclib-20210625] > ************************************************************************[eclib-20210625] > > Please email sage-devel (http://groups.google.com/group/sage-devel > <http://groups.google.com/group/sage-devel>)[eclib-20210625] explaining the > problem and including the log files[eclib-20210625] > /Users/Latisp/github/sage/logs/pkgs/eclib-20210625.log[eclib-20210625] > and[eclib-20210625] /Users/Latisp/github/sage/config.log[eclib-20210625] > Describe your computer, operating system, etc.[eclib-20210625] If you want > to try to fix the problem yourself, *don't* just cd to[eclib-20210625] > /Users/Latisp/github/sage/local/var/tmp/sage/build/eclib-20210625 and type > 'make' or whatever is appropriate.[eclib-20210625] Instead, the following > commands setup all environment variables[eclib-20210625] correctly and load > a subshell for you to debug the error:[eclib-20210625] (cd > '/Users/Latisp/github/sage/local/var/tmp/sage/build/eclib-20210625' && > '/Users/Latisp/github/sage/sage' --buildsh)[eclib-20210625] When you are > done debugging, you can type "exit" to leave the subshell.[eclib-20210625] > ************************************************************************make[4]: > > *** [eclib-SAGE_LOCAL-no-deps] Error 1make[3]: *** > [/Users/Latisp/github/sage/local/var/lib/sage/installed/eclib-20210625] > Error 2make[2]: *** [all-start] Error 2real 8m20.278suser > 6m52.234ssys > > 0m54.998s***************************************************************Error > building Sage.The following package(s) may have failed to build (not > necessarilyduring this run of 'make all-start'):* package: > eclib-20210625 last build time: 4 14 23:26 log file: > /Users/Latisp/github/sage/logs/pkgs/eclib-20210625.log build directory: > /Users/Latisp/github/sage/local/var/tmp/sage/build/eclib-20210625It is safe > to delete any log files and build directories, but theycontain information > that is helpful for debugging build problems.WARNING: If you now run 'make' > again, the build directory of thesame version of the package will, by > default, be deleted. Set theenvironment variable SAGE_KEEP_BUILT_SPKGS=yes > to prevent this.make[1]: *** [all-start] Error 1make: *** [all] Error 2* > > I read relevant post [0] here and used `./configure > --enable-download-from-upstream-url` but that still does not solve my > problem. So I was wondering that could you give me some hints or possible > approaches to resolve this? > > Thank you. Please see attached files for the log. > > [0]: https://groups.google.com/g/sage-devel/c/c9cvWV7uM9g/m/_xZMHQpSDQAJ > -- 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/ecc82d6e-9674-49ad-90fb-35de7eb81121n%40googlegroups.com.