1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
==> Installing gradle dependency: openjdk ==> ./configure --disable-warnings-as-errors --with-boot-jdk-jvmargs=-Duser.home ==> make images Last 15 lines from /Users/xxx/Library/Logs/Homebrew/openjdk/02.make: In file included from /Library/Developer/CommandLineTools/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:18: /Library/Developer/CommandLineTools/SDKs/MacOSX10.12.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFAvailability.h:21:10: fatal error: 'os/availability.h' file not found #include <os/availability.h> ^ 1 error generated. * All command lines available in /private/tmp/openjdk-20210919-6132-1pm1i4r/jdk16u-jdk-16.0.1-ga/build/macosx-x86_64-server-release/make-support/failure-logs. === End of repeated output === No indication of failed target found. Hint: Try searching the build log for '] Error'. Hint: See doc/building.html#troubleshooting for assistance. |
解决方案:
1 2 3 4 5 |
$ export CPATH=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/:$CPATH $ sudo rm -rf /Library/Developer/CommandLineTools $ xcode-select --install |