[R-SIG-Mac] fatal error: 'stdio.h' file not found

2020-04-29 Thread Eric K
Running R 3.6 has been working fine. I just upgraded to R 4.0 and I cannot build packages from source. I have tried the following: 1. Installed R 4.0 binary on my mac (macOS 10.14.6). Installation went fine, but when I try to build packages from source I get errors like this: * installing

Re: [R-SIG-Mac] fatal error: 'stdio.h' file not found

2020-04-29 Thread Eric K
include/stdio.h >>-r--r--r-- 1 root wheel 16319 Feb 22 2019 >> /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h >> >> I'm not a Mac expert but I believe these locations for Apple clang and >> associated standard C header files have not change

Re: [R-SIG-Mac] fatal error: 'stdio.h' file not found

2020-04-29 Thread Eric K
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk > > You could also set CC=/usr/bin/clang just to force the use of the > system compiler (and avoid looking up whatever is first on the PATH). > > Best, > Kevin > > On Wed, Apr 29, 2020 at 10:24 AM Eric K wrote: &g

Re: [R-SIG-Mac] fatal error: 'stdio.h' file not found

2020-04-29 Thread Eric K
ations for Apple clang and > associated standard C header files have not changed for years. > > Hope this helps, > H. > > > On 4/29/20 07:05, Eric K wrote: > > Running R 3.6 has been working fine. I just upgraded to R 4.0 and I > cannot > > build packages from s