7
3
When I try to install something with homebrew I get an error message that it does not find XCode. But I just installed XCode 4.3 and also did a reboot.
admins-MacBook-Pro-2:~ ernst$ brew install macvim
Warning: Xcode is not installed! Builds may fail!
Error: No such file or directory - /usr/bin/cc
admins-MacBook-Pro-2:~ ernst$
Any ideas?
Update:
admins-MacBook-Pro-2:~ ernst$ which cc
admins-MacBook-Pro-2:~ ernst$ echo $PATH
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin
admins-MacBook-Pro-2:~ ernst$
Are the requires files in
/Developer/usr/bin
? Does it help to change the$PATH
? – Daniel Beck – 2012-02-16T17:25:36.750Does it work when you specify
--use-llvm
? – Daniel Beck – 2012-02-16T17:30:07.193--use-llvm did not help, same error message. – BetaRide – 2012-02-16T17:52:18.273
There's no /Developer directory. – BetaRide – 2012-02-16T17:52:49.147
What could I change in $PATH? – BetaRide – 2012-02-16T17:53:01.190
Did you actually install Xcode or just download it from the App Store? There should be an application named "Install Xcode" in your applications folder. – Daniel Beck – 2012-02-16T17:57:31.457
It's installed, I can start it and create new projects. – BetaRide – 2012-02-16T17:58:17.503
Where was the Xcode application bundle installed to? What is the output of
which cc
on the command line? What's the output ofecho $PATH
? Did you download it from the Apple Developer Connection website or the App Store? – Daniel Beck – 2012-02-16T18:00:26.723The download is from the App Store. – BetaRide – 2012-02-16T18:54:28.947