-
-
Notifications
You must be signed in to change notification settings - Fork 11.4k
Clean Mavericks Install: "Warning: No developer tools installed." #24010
Comments
Did you try running the "xcode-select --install"? I saw a similar problem on my Mavericks reinstall machine until I ran the suggested "xcode-select --install", which popped up some EULA box and then everything seemed to work; I'm guessing there's some switch that didn't get flipped when we installed XCode, and that homebrew is relying on that switch. |
Thanks for the quick reply. I would think that installing a new copy of the developer tools would fix the issue. But I am hoping to help troubleshoot this issue from the Homebrew end of things (on this new "clean" install that definitely already has the developer tools). If there is anything else I should try or would like me to test, please let me know how I can help. |
Xcode.app does not install working developer tools currently. |
To clarify: they work for some things but break for others. |
The suggested "xcode-select --install" seems to have everything working OK here for me; is there a list of what's known to be broken? |
|
Okay, thanks for the responses. Can you please clarify what is broken before running that command? In other words, I have not run that command yet and my compiles are working fine. It's only the "No developer tools installed" warning that Homebrew shows. Other than that I have not experienced any issues. So can you please elaborate on the "break for others" comment? Also, can you please confirm if running that command will install a new copy of the dev tools or simply fixes up the dev tools that are already installed with Xcode. Thanks! |
Some software, which we have not compiled a list of, will fail to build without the CLT. If you search "xcode-select" in closed issues, some of them will come up. |
Ok, will do. And does "xcode-select --install" actually install a second copy of the dev tools or does it simply fix up the one included with Xcode? |
It installs more stuff but I'm unsure whether it's a full second copy. Not much we can do about it I'm afraid. Apple are aware. |
Okay, thanks everyone. Sorry for bringing this up again. Really appreciate it through! |
Even though I searched previous issues before posting my question, I clearly missed a lot of relevant info. Here's a related issue for example: Thanks again everyone. |
Just a thought. If it helps, I can leave my system as it is, without running "xcode-select --install" and am happy to test again later. Such as when there is an Xcode update released. And I searched for "xcode-select" in closed issues as @adamv suggested but was not sure which one would be an ideal test. But if there is a specific package I should test with, please let me know which. So I can try installing it now, see it fail, and then try again after the next Xcode update. Please let me know if this would be helpful. |
|
I assume that means it's helpful. So, ok, I just tested installing |
@cbfullerx yeh, thanks. |
Using Xcode 5, there's no separate download or install for the CLT. Xcode 5 now includes everything that you'll need for development in both the command line as well as the Xcode IDE. Thus, the "xcode-select --install" is not required after you have downloaded Xcode 5 from the App Store. In its current implementation "xcode-select --install" will attempt to install things again. Just make sure that "xcode-select --print-path" points to the correct Xcode installation. For example, the default path should be something similar to the following:
|
That all seems correct to me. And in fact that's exactly why I opened this case. However, not only does Homebrew complain that there are no dev tools, certain packages fail to install. (And |
@conradwt That's not the case; Xcode.app has some headers in wrong/incorrect locations which break builds. Some stuff may work with Xcode-only but there's enough issues that we're recommending people install the CLT. Feel free to not do so at your own risk but please don't advise others to do so. |
@MikeMcQuaid Which headers are in the wrong place? Also, has this issue(s) been filed at bugreporter.apple.com? I understand that people would like to move forward with their package installation(s) by installing standalone CLT but if there's something wrong with CLT which is shipped with Xcode 5 GM, then I would highly recommend reporting it to Apple where it can be addressed. @cbfullerx If you have a developer.apple.com, you can try the next GM seed release of Xcode 5. |
@conradwt It has been reported to Apple. For more details read above and linked issues. |
FYI, I updated Xcode to 5.0.2 and same issue exists. i.e. Homebrew still complains there's no dev tools. And my example test install of |
Is there a Radar for this problem? |
@cbfullerx Thanks for testing. The warning will always be there on 10.9 until we turn it off. Shame |
FYI (fresh Mavericks), I couldn't get past the install prompt from "Install Command Line Developers Tools" installer app. It just did nothing after I clicked "Install". However, once I moved my Terminal out of Full Screen mode, it worked fine. Strange case, yes, but maybe this'll help someone with the same issue - maybe. |
I'm curious, because on one environment, I don't think I had this problem. Is it possible that it only occurs if you upgrade to Mavericks after the installation of XCode 5? In the environment that had the working command line tools, I believe I held off on the XCode upgrade until after the Mavericks upgrade. |
@JustinTArthur fyi, this thread is regarding a clean fresh new install of Mavericks and then a fresh new install of Xcode, not upgrades. And specifically about how the new Xcode includes the dev tools, but the included dev tools have issues that prevent some software from compiling, unless of course you manually run the installer via "xcode-select --install". I will report back on this thread if a future version of Xcode has a working dev tools included that does not require the manual dev tools installation. |
My apologies but this might be OT: Can I install Homebrew without installing Xcode? If yes, can I just download CLT from the Apple Developer website? (I'm about to do a clean install of Mavericks.) |
@luiscvega You don't even need the Apple developer website - you can |
@mistydemeo FYI, the There are many issues in this repo, and S/O questions where |
@tigris I believe the following post clarifies many of the issues: https://devforums.apple.com/message/918937#918937 Next, I noticed that a few brew packages had hardcoded paths to header files which would cause them to fail under OS X 10.9 with Xcode 5. Thus, the CLT can be used to assist those packages that have not been properly upgraded for OS X 10.9. Again, I haven't had the need to install the CLT using |
@conradwt my point was simply that homebrew telling you to run |
Is this |
I'm on 10.9 and am not running into this issue at the moment. Have you followed the steps outlined in the previous few comments? |
When I first ran But today, when I ran it, it completed within a reasonable amount of time (2 minutes), and now brew is no longer giving me this warning. I guess that has me feeling a little better. But not all that much. Anyway. As long as stuff continues to work when I bang it a few times (note also that while I was getting that warning, stuff did continue to work), I can get away without reinstalling. Huzzah. |
I just happened by this old issue and thought I'd leave a final follow-up comment. Since there are such a large number of off topic comments on this thread, please look back to the original question at the top to get clarity on the specific issue I wanted to address. I am no longer running Mavericks, but I thought I'd follow up with the following info: After reformatting drive, installing Yosemite (i.e. clean install), installing Xcode via App Store (which includes the developer tools), and then installing Homebrew, there is no reason to execute I have not had any issues with installing packages that I am interested in. (I was not able to test In summary, the specific issue that I originally opened should definitely be closed. Thanks for everyone's help on this. Especially @MikeMcQuaid. Cheers. |
Reformatted drive, installed Mavericks (i.e. clean install), installed Xcode via App Store (which includes the developer tools), then installed Homebrew.
Homebrew reports:
The developer tools are definitely included with Xcode though. I confirmed that compiles work by installing rbenv and ruby-build via Homebrew and then installed a ruby which compiled just fine.
As far as I can tell all Homebrew features are working, it just continually complains "No developer tools installed"
Please let me know if you need further information.
The text was updated successfully, but these errors were encountered: