Python 3.8.2 on MacOSX Sierra?

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Mar 22 00:47:28 EDT 2020


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


More information about the Python-list mailing list