Compiling on Big Sur 11.6

47 views
Skip to first unread message

Richard Mitchell

unread,
Sep 17, 2021, 3:00:46 PM9/17/21
to vim_mac
Finally updated to Big Sur (was 2 releases back) and trying to update and recompile MacVim.

My first issue was with perl needing EXTERN.h and solved it with:

export CPATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Perl/5.30/darwin-thread-multi-2level/CORE

but still getting:

clang: error: invalid Darwin version number: macos11.6

clang: error: invalid version number in '--target=x86_64-apple-macos11.6'


warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 11.6, but the range of supported deployment target versions is 10.6 to 10.15.99. (in target 'PSMTabBarControlFramework' from project 'PSMTabBarControl')

warning: Traditional headermap style is no longer supported; please migrate to using separate headermaps and set 'ALWAYS_SEARCH_USER_PATHS' to NO. (in target 'PSMTabBarControlFramework' from project 'PSMTabBarControl')

warning: The macOS deployment target 'MACOSX_DEPLOYMENT_TARGET' is set to 11.6, but the range of supported deployment target versions is 10.6 to 10.15.99. (in target 'MacVim' from project 'MacVim')

** BUILD FAILED **

I'm on a 2015 MBPro, so this has nothing to do with M1.

What is the proper fix that won't break things the next time I 'git pull' ?


Reply all
Reply to author
Forward
0 new messages