Python 3.8.2 on MacOSX Sierra?

Barry Scott barry at barrys-emacs.org
Sun Mar 22 04:55:10 EDT 2020



> On 22 Mar 2020, at 04:47, Greg Ewing <greg.ewing at canterbury.ac.nz> 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
> 



More information about the Python-list mailing list