-
Notifications
You must be signed in to change notification settings - Fork 83
Installation failure on macOS 10.14 #232
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Oh, fun – And it seems that the Homebrew include path should be Either works. Apologies for the noise. |
Thanks for sharing on this topic! I initially followed the second solution:
After about another hour of googling, finally found how to implement the first solution: |
There's a typo. The full command is as follows: |
Thanks a lot, this worked |
The suggestions from @jeongyoonlee worked for me initially, but then, I think I did a macOS upgrade that included Xcode, and installing the I had to re-run the command to install the headers. Then, everything worked. So: If you update Xcode, re-run the installation. Edit: This also seems to apply if you update macOS itself. |
Would it be possible to make installation just work without the extra manual steps? Or when the installation fails print a quick tip for macos like there's for deb/rpm/csw? As the workaround for macos seems to be considered "legacy" it may not be around for too long so making things "just work" would be preferable, IMO.
|
It appears that with the new Command Line Tool for Xcode 11 just shipped via an update by Apple the Nevertheless, to fulfill CRAN requirements and test your package with R-devel (i.e. compiling the 'xml2' package first), I had to use (written already above, libxml2 via homebrew) in the R terminal:
|
For me |
Didn't work for me on macOS 10.15.3 (Catalina) However, the one above it did the trick.
|
Thank you, this was helpful to point me in the right direction. ALthough the Packages directory was missing from my CommandLineTools. i reinstalled Xcode and it worked like a charm:
|
I apologise if this is something stupid, but I really can't see what I'm doing wrong here. I have updated this machine to macOS Mojave, using Homebrew-installed R. I can't get
xml2
to install, either with the systemlibxml2
or the one from Homebrew:Note that in both cases,
pkg-config
provides suitable flags, but the configuration rejects them. Any pointers would be appreciated. Session info is below (FWIW):The text was updated successfully, but these errors were encountered: