Re: Python 3.8.2 on MacOSX Sierra?
On 22/03/20 10:20 pm, Greg Ewing wrote: I'm going to try again with XCode 8, which purportedly comes with a 10.12 SDK, and see if that fixes it. It does. -- Greg -- https://mail.python.org/mailman/listinfo/python-list
Re: Python 3.8.2 on MacOSX Sierra?
On 22/03/20 9:55 pm, Barry Scott wrote: I guess you are using an old Mac that will not update to something newer? It's more that I don't *want* to update to something newer if I don't have to. Also it seems very un-python-like to depend on a specific OS version like this, which leads me to believe that something is wrong somewhere. if your XCode is new enough you might be able to build it with export MACOSX_DEPLOYMENT_TARGET=10.13 Actually it seems to be more a matter of my XCode being *too* new. I was using XCode 9, which turns out to contain an SDK for 10.13. Which shouldn't matter, except that there seems to be a bug in autoconf that makes it think some things are there even though they're not: https://bugs.python.org/issue31359 That's talking about a slightly different scenario (building with one version and running on an older version) but I think I'm being bitten by the same underlying issue. I'm going to try again with XCode 8, which purportedly comes with a 10.12 SDK, and see if that fixes it. -- Greg -- https://mail.python.org/mailman/listinfo/python-list
Re: Python 3.8.2 on MacOSX Sierra?
> On 22 Mar 2020, at 04:47, Greg Ewing wrote: > > I'm trying to compile a framework build of Python 3.8.2 on > MacOSX 10.12.6 (Sierra). I guess you are using an old Mac that will not update to something newer? > I'm getting: > > ./Modules/posixmodule.c:4696:12: warning: 'utimensat' is only available on > macOS > 10.13 or newer [-Wunguarded-availability-new] >return utimensat(dir_fd, path, time, flags); > > ./Modules/posixmodule.c:4721:12: warning: 'futimens' is only available on > macOS > 10.13 or newer [-Wunguarded-availability-new] >return futimens(fd, time); > > And later when linking: > > dyld: lazy symbol binding failed: Symbol not found: _utimensat > Referenced from: > /Local/Build/Python/Python-3.8.2/Python.framework/Versions/3.8/Python > Expected in: /usr/lib/libSystem.B.dylib > > dyld: Symbol not found: _utimensat > Referenced from: > /Local/Build/Python/Python-3.8.2/Python.framework/Versions/3.8/Python > Expected in: /usr/lib/libSystem.B.dylib > > make: *** [sharedinstall] Abort trap: 6 > > Am I out of luck? Is Python 3.8 only intended work on very recent > versions of MacOSX? if your XCode is new enough you might be able to build it with export MACOSX_DEPLOYMENT_TARGET=10.13 But I guess the result will not run. Barry > > -- > Greg > -- > https://mail.python.org/mailman/listinfo/python-list > -- https://mail.python.org/mailman/listinfo/python-list
Python 3.8.2 on MacOSX Sierra?
I'm trying to compile a framework build of Python 3.8.2 on MacOSX 10.12.6 (Sierra). I'm getting: ./Modules/posixmodule.c:4696:12: warning: 'utimensat' is only available on macOS 10.13 or newer [-Wunguarded-availability-new] return utimensat(dir_fd, path, time, flags); ./Modules/posixmodule.c:4721:12: warning: 'futimens' is only available on macOS 10.13 or newer [-Wunguarded-availability-new] return futimens(fd, time); And later when linking: dyld: lazy symbol binding failed: Symbol not found: _utimensat Referenced from: /Local/Build/Python/Python-3.8.2/Python.framework/Versions/3.8/Python Expected in: /usr/lib/libSystem.B.dylib dyld: Symbol not found: _utimensat Referenced from: /Local/Build/Python/Python-3.8.2/Python.framework/Versions/3.8/Python Expected in: /usr/lib/libSystem.B.dylib make: *** [sharedinstall] Abort trap: 6 Am I out of luck? Is Python 3.8 only intended work on very recent versions of MacOSX? -- Greg -- https://mail.python.org/mailman/listinfo/python-list