-
Notifications
You must be signed in to change notification settings - Fork 71
Install Fails due to CMake Error (SOLVED: align xcode with CLT) #180
Comments
Can you run |
https://gist.github.com/71c511c77133b230eabc6d922fb37c70 |
This looks suspicious:
You have a beta version of Xcode, and the command-line tools version differs. Also, there's this:
Which screams that something is being produced that the linker doesn't understand. You should try following our troubleshooting tips in the README. But I think it's going to boil down to getting a good Xcode and command line tools installed. |
I will try downloading Xcode 8 (non-beta) and see if that helps. Thanks! |
It worked! Thanks! |
Great! |
I have the last version of XCode but the same problem appears https://gist.github.com/anonymous/c1d9202e8690d1e75d7f1a0a6fb26ea4 |
I am experiencing this as well with a freshly updated xcode |
@jszakmeister can you reopen the issue? |
@evmorov No. There's an issue with either you XCode installation or your homebrew installation. It's not a problem with Neovim or it's recipe. Are you sure that the XCode Command Line Tools are up-to-date? They're different than XCode. |
You're right. This http://stackoverflow.com/a/17980786/1280823 helped me. I'd been doing this before and it's strange that I should do it again. Maybe updating XCode broke something. |
Good find!
It certainly wouldn't be the first time. :-) We see a lot of that happening around new XCode updates. I think the real issue is that it's not clear what to expect from an environment with a new install. But I doubt Apple will get around to clarifying that for us developers. :-( Thanks for reporting back your findings! |
sorry @jszakmeister, I had the same issue as @evmorov. Apologies. I've been able to install 0.1.6 now. I wonder if there's a way to make sure that the minimum cmake version is fulfilled before running the installation but I'm not sure how that implementation would look. Thanks again! |
No need to apologize @JackCA.
I'm not sure I'm following. This had nothing to do with a bad CMake version, but the XCode command line tools being out-of-date or improperly configured. Besides that, we already enforce a minimum cmake version in the CMake file itself. Also, I don't feel comfortable adding checks to make sure your Homebrew environment is okay. I feel that responsibility lies elsewhere. |
@jszakmeister gotcha, yeah you got the gist of what I was getting at which is whether or not there can be automated detection of an out-of-date or invalid command line tools. Totally understand that it's outside the scope of this library itself 👍 |
Also, these error logs don't actually appear in my tmp file. I can't find them
The text was updated successfully, but these errors were encountered: