Homebrew requires something uninstall-developer-folder removes

1

I was having trouble installing irssi (brew install irssi), so I ran brew doctor, which returned a warning mentioning an outdated copy of Xcode and saying I should run /Developer/Library/uninstall-developer-folder. Then I ran brew doctor again and got:

Error: No such file or directory - /Developer/SDKs/MacOSX10.6.sdk

How do I reinstall the SDK, or is there another way to get Homebrew working again?

(I have the latest version of Homebrew (0.9.3), the latest version of Xcode (4.4.1), and the latest version of the Xcode CLT (though I'm not sure how to find this version number).)

UPDATE: /Developer actually still exists (despite the obvious implication of uninstall-developer-folder), as does /Developer/SDKs/MacOSX10.7.sdk. Why does Homebrew specifically need Snow Leopard's SDK?

Blacklight Shining

Posted 2012-09-15T08:49:01.267

Reputation: 2 127

Do you have a current brew, a current Xcode, and current Xcode command-line tools? – Daniel Beck – 2012-09-15T09:14:07.960

Yes, yes, and yes. Updated the question to reflect this. – Blacklight Shining – 2012-09-15T10:42:19.580

Answers

0

The installer for Xcode 4.3 should have removed /Developer/. I guess brew doctor just checks if it exists. I was able to install irssi without it.

Newer versions of the SDKs should be in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/.

You could probably just delete /Developer/ completely. See Uninstall Xcode 4 when it was installed via the App Store and How to remove previous versions of Xcode.

Lri

Posted 2012-09-15T08:49:01.267

Reputation: 34 501