* installing *source* package ‘JavaGD’ ... ** package ‘JavaGD’ successfully unpacked and MD5 sums checked ** using staged installation checking for gcc... clang -arch arm64 checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether clang -arch arm64 accepts -g... yes checking for clang -arch arm64 option to enable C11 features... none needed checking for sys/wait.h that is POSIX.1 compatible... yes checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for string.h... (cached) yes checking for sys/time.h... yes checking for unistd.h... (cached) yes checking for an ANSI C-conforming const... yes checking build system type... aarch64-apple-darwin22.5.0 checking host system type... aarch64-apple-darwin22.5.0 checking for GNU libc compatible malloc... yes checking for memset... yes checking for mkdir... yes checking for rmdir... yes checking for select... yes checking for socket... yes checking Java support in R... present: interpreter : '/usr/bin/java' cpp flags : '-I/Library/Java/JavaVirtualMachines/jdk-11.0.18+10/Contents/Home/include -I/Library/Java/JavaVirtualMachines/jdk-11.0.18+10/Contents/Home/include/darwin' java libs : '-L/Library/Java/JavaVirtualMachines/jdk-11.0.18+10/Contents/Home/lib/server -ljvm' checking whether JNI programs can be compiled... configure: error: Cannot compile a simple JNI program. See config.log for details. ERROR: configuration failed for package ‘JavaGD’ * removing ‘/Volumes/Builds/packages/big-sur-arm64/results/4.4/JavaGD.Rcheck/JavaGD’