Skip to content
This repository has been archived by the owner on Feb 24, 2023. It is now read-only.

Address Header Change on macOS 10.14 (Mojave) #11

Closed
coatless opened this issue Oct 6, 2018 · 2 comments
Closed

Address Header Change on macOS 10.14 (Mojave) #11

coatless opened this issue Oct 6, 2018 · 2 comments

Comments

@coatless
Copy link
Collaborator

coatless commented Oct 6, 2018

Incorporate in the headless Xcode CLI install for Mojave.

sudo installer -pkg \
/Library/Developer/CommandLineTools/Packages/macOS_SDK_headers_for_macOS_10.14.pkg \
-target /

Avoid messing with Makevars via:

sudo touch ~/.R/Makevars && sudo echo 'CPPFLAGS="-isystem /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include"' >> ~/.R/Makevars

c.f. https://twitter.com/axiomsofxyz/status/1045463113863180290, https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#macOS

@coatless
Copy link
Collaborator Author

coatless commented Nov 5, 2018

Download procedure needs to also switch over to:

sudo xcode-select --reset
sudo xcode-select --install

We can no longer just use:

sudo xcode-select --install

h/t @jimhester, c.f. https://stackoverflow.com/a/53089500/2055486

@coatless
Copy link
Collaborator Author

Done inside of #19.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant