incorrect clang path on Yosemite #29830
Comments
Can you try to figure out which doctor check is trigger this? Individual checks can be run by passing the method name:
there isn't any place where we exec clang using that path on purpose, though, so I'm not sure why it would happen. |
The hard-coded path is here: https://github.com/Homebrew/homebrew/blob/6ae896aa98d2bbe35c11d903648275b0b413d6c4/Library/Homebrew/os/mac/xcode.rb#L150 The usage appears to be here: |
What is your |
|
Found the doctor check:
|
afaik the 5.1 versions of the CLT and/or Xcode aren't compatible with 10.10 and you need to upgrade them. |
Odd. When I stared Xcode 5.1 the first time it asked me to upgrade the CLT, so I figured that took care of it. I also tried However, just now I manually installed the CLT for 10.10. (from here https://developer.apple.com/downloads/index.action ) and now brew doctor works fine. |
@ghazel Thanks its works for me too.. |
Works here. Thanks. |
Works here, thanks @ghazel. Location of CLT 10.10: https://developer.apple.com/downloads/index.action |
Work here too. Thanks a lot @ghazel |
Works here too. Thanks @jacknagel and @ghazel |
+1 to @skandragon's suggestion. |
Homebrew still needs the CLT because in 10.9 and Xcode 5.1 it was still shipping bad headers that caused errors with packages. Hopefully this is fixed in 10.10 but it will be a while before we can push out a fix. |
@MikeMcQuaid Thanks. Does anyone have any Radar numbers for this? |
Many thanks @ghazel it works like a charm |
ghazel's link didn't work for me with an iOS developer subscription, but FranciscoGutierrez's link worked for me. Thanks for the fix info! |
@ghazel +1, fix works for me as well. |
Thank you @ghazel . Everything's back to normal after installing CLT for 10.10 via https://developer.apple.com/downloads/index.action |
The changes over the past few hours have homebrew making it far enough to hit:
I do have the command line tools installed, but it seems that is not the right path:
The text was updated successfully, but these errors were encountered: