This fix was already merged in 3.8.4, so 
after https://trac.sagemath.org/ticket/27754 we should be fine.

The PR for Python 3.7 is https://github.com/python/cpython/pull/21155, but 
our Python 3.7.x is very old already.

On Tuesday, September 1, 2020 at 9:43:15 PM UTC-7, Matthias Koeppe wrote:
>
> The issue with "posixmodule" is apparently 
> https://bugs.python.org/issue41100
>
>
>
> On Tuesday, September 1, 2020 at 8:59:14 PM UTC-7, John H Palmieri wrote:
>>
>> If I do install Python 3.7, then gf2x and ecm both fail to build. The 
>> gf2x log file says "configure: error: Cannot find a build system compiler
>> ". The ecm log file says "checking if globals are prefixed by 
>> underscore... configure: error: Test program links neither with nor without 
>> underscore."
>>
>> On Tuesday, September 1, 2020 at 8:38:47 PM UTC-7 John H Palmieri wrote:
>>
>>> I've been trying to build on Big Sur, too. I removed the 
>>> MACOSX_DEPLOYMENT_TARGET lines from sage-env, but the Python build still 
>>> fails. The log file is attached. Any suggestions (besides installing a 
>>> different system version of Python)?
>>>
>>>   John
>>>
>>> On Saturday, August 22, 2020 at 3:44:01 PM UTC-7 dim...@gmail.com wrote:
>>>
>>>> On Sat, Aug 22, 2020 at 11:23 PM David Joyner <wdjo...@gmail.com> 
>>>> wrote: 
>>>> > 
>>>> > 
>>>> > 
>>>> > On Sat, Aug 22, 2020 at 6:02 PM Dima Pasechnik <dim...@gmail.com> 
>>>> wrote: 
>>>> >> 
>>>> >> On Sat, Aug 22, 2020 at 10:51 PM David Joyner <wdjo...@gmail.com> 
>>>> wrote: 
>>>> >> > 
>>>> >> > 
>>>> >> > 
>>>> >> > On Sat, Aug 22, 2020 at 4:52 PM Dima Pasechnik <dim...@gmail.com> 
>>>> wrote: 
>>>> >> >> 
>>>> >> >> On Sat, Aug 22, 2020 at 8:28 PM Dima Pasechnik <dim...@gmail.com> 
>>>> wrote: 
>>>> >> >> > 
>>>> >> >> > note: 'utimensat' has been marked as being introduced in macOS 
>>>> 10.13 
>>>> >> >> > here, but the deployment target is macOS 10.9.0 
>>>> >> >> > 
>>>> >> >> > seems to indicate that one has to properly set 
>>>> MACOS_DEPLOYMENT_TARGET 
>>>> >> >> > (or a suchlike thing) to 10.13 or even bigger. 
>>>> >> >> 
>>>> >> >> indeed, in src/bin/sage-env on has 
>>>> >> >> 
>>>> >> >> MACOSX_DEPLOYMENT_TARGET=10.9 
>>>> >> >> 
>>>> >> >> which is the reason for that error, I guess. 
>>>> >> > 
>>>> >> > 
>>>> >> > Shouldn't it be 11.0? 
>>>> >> > 
>>>> >> > I changed it then tried to recompile but it stopped at the same 
>>>> place. 
>>>> >> > I can't install a system python3 using homebrew since it's broken 
>>>> >> > https://github.com/Homebrew/brew/issues/7803 
>>>> >> 
>>>> >> you can install a binary python3.7 from python.org - this is known 
>>>> to 
>>>> >> be possible to use in Sage on macOS 10.15 and earlier versions. 
>>>> >> 
>>>> > 
>>>> > I installed both python 3.8.5 (the latest) and when that failed 
>>>> 3.7.9. 
>>>> > 
>>>> > The end of the output of configure is this seeming contradictory 
>>>> info: 
>>>> > 
>>>> > configure: notice: the following SPKGs did not find equivalent system 
>>>> packages: brial cbc cddlib cliquer coxeter3 eclib ecm fflas_ffpack flintqs 
>>>> fplll gf2x gfan givaro glpk gp2c gsl iconv iml lcalc libatomic_ops 
>>>> libbraiding libsemigroups lrcalc m4ri m4rie nauty ninja_build openblas 
>>>> palp 
>>>> pandoc pari pari_elldata pari_galdata pari_galpol pari_nftables 
>>>> pari_seadata pari_seadata_small pcre perl_cpan_polymake_prereq 
>>>> perl_term_readline_gnu planarity ppl python3 r rw suitesparse symmetrica 
>>>> sympow tachyon yasm zeromq zn_poly 
>>>>
>>>> This notice is more about ./configure being confused whether there is 
>>>> Homebrew or Conda installed. 
>>>>
>>>> The interesting line of ./configure output is above that notice: 
>>>>
>>>> python3-3.7.3.p1: using system package; 
>>>> SPKG will not be installed 
>>>>
>>>> - if it's there then system Python will be used. 
>>>> Otherwise, look in config.log for more details. 
>>>>
>>>> HTH 
>>>> Dima 
>>>>
>>>>
>>>> > 
>>>> > checking for the package system in use... unknown 
>>>> > 
>>>> > wdj@jeeves sage-9.2.beta9 % which python3 
>>>> > 
>>>> > /usr/local/bin/python3 
>>>> > 
>>>> > wdj@jeeves sage-9.2.beta9 % python3 --version 
>>>> > 
>>>> > Python 3.7.9 
>>>> > 
>>>> > There isn't a python3 system package but there is? 
>>>> > 
>>>> >> 
>>>> >> > 
>>>> >> > 
>>>> >> >> 
>>>> >> >> 
>>>> >> >> > 
>>>> >> >> > On Sat, Aug 22, 2020 at 8:06 PM David Joyner <wdjo...@gmail.com> 
>>>> wrote: 
>>>> >> >> > > 
>>>> >> >> > > Hi: 
>>>> >> >> > > 
>>>> >> >> > > I don't know if this has been discussed yet but 
>>>> >> >> > > I just upgraded to mac os 11.0. I downloaded 
>>>> >> >> > > sage 9.2.b9 and ran make. I got a "you must 
>>>> >> >> > > run ./configure first message, which I did. 
>>>> >> >> > > Then I ran make and the compilation stopped while 
>>>> >> >> > > compiling python 3. The log is attached. 
>>>> >> >> > > 
>>>> >> >> > > - David Joyner 
>>>> >> >> > > 
>>>> >> >> > > 
>>>>
>>>

-- 
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/dd4fd602-f6ab-491f-86c1-35f1b46c4d11o%40googlegroups.com.

Reply via email to