On 30 Mar 2019, at 6:21 pm, Roy Mendelssohn - NOAA Federal via R-SIG-Mac <r-sig-mac at r-project.org> wrote:
I recently updated to Mojave and started getting header not found errors when trying to compile packages.
The following is in some of the docs, but just in case it helps, cause it took me awhile to find it, after installing the Command Line Tools for Xcode, you should run:
sudo installer -pkg \
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg \
-target /
and voila packages that had failed to compile just a few minutes ago compiled successfully.
Hope this helps someone. -Roy