Skip to content
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

"The bottle needs the Xcode CLT to be installed" logged when Xcode CLT are installed #2502

Closed
jab opened this issue Jun 30, 2016 · 7 comments

Comments

@jab
Copy link
Contributor

jab commented Jun 30, 2016

$ which xcodebuild
/usr/bin/xcodebuild
$ brew upgrade python3
==> Upgrading 1 outdated package, with result:
python3 3.5.2
==> Upgrading python3
Warning: Building python3 from source:
  The bottle needs the Xcode CLT to be installed.
==> Downloading https://www.python.org/ftp/python/3.5.2/Python-3.5.2.tar.xz
...

screen shot 2016-06-29 at 22 14 34

@DomT4
Copy link
Contributor

DomT4 commented Jun 30, 2016

There's a distinction in this case between the Command Line Tools shipped inside Xcode and Apple's Command Line Tools package. That explanatory message about the bottle is perhaps badly worded.

brew config will show whether Homebrew considers CLT installed or not.

@jab
Copy link
Contributor Author

jab commented Jun 30, 2016

Thanks, that was confusing. brew config indeed showed CLT: N/A until I installed the package from https://developer.apple.com/download/more/; now it shows CLT: 7.3.1.0.1.1461711523. So I guess I won't have this problem in the future. +1 for improving the wording, ideally including a hint as to how to fix.

@DomT4 DomT4 closed this as completed in 86ed503 Jun 30, 2016
@DomT4
Copy link
Contributor

DomT4 commented Jun 30, 2016

Updated both python and python3 to be a little clearer. Hopefully helps. Thanks for letting us know you found this confusing!

@jab
Copy link
Contributor Author

jab commented Jun 30, 2016

Thanks @DomT4, and thanks for all your great work on Homebrew!

@jiahaoliuliu
Copy link

Try to run the follow command in the terminal:

xcode-select --install

It works for me:

CLT: 8.1.0.0.1.1476494586

@ghost
Copy link

ghost commented May 16, 2017

thx ~ @jiahaoliuliu

@orefalo
Copy link
Contributor

orefalo commented Aug 14, 2017

Had the same, issue - installing the package fixed it.

@Homebrew Homebrew deleted a comment from tloredo Sep 29, 2017
@Homebrew Homebrew locked and limited conversation to collaborators Sep 29, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants