geekchick77: (Default)
[personal profile] geekchick77
I am a bit annoyed at how difficult it is to get a working development environment on Mac OS these days.

I started out by installing homebrew, which is simple enough. I tried running brew doctor and got a message about how my XCode was out of date.

I have no idea why you can't just download XCode from Apple's site. I don't use my Apple login often enough to be able to remember it, so I always have to hunt around before I am able to log in. Next up was navigating the App Store, which was non-obvious to me. It took me quite a while to realize I had to click the "Free" button beside the dropdown to start the download. After waiting for the rather lengthy download, I discovered that installing XCode is no longer enough to give you command line tools. You are supposed to be able to install them from inside XCode, but I could not see them under Downloads. In the end, I logged back into Apple's site, at https://developer.apple.com/downloads/, and searched for Command Line Tools for XCode. I picked the most recent version, and downloaded and installed that.

I usually add the following to my .bashrc so my brew installations are found ahead of any system installations:
export PATH=/usr/local/bin:$PATH

Finally, I was able to run brew doctor and get on with my project!

xcode brew stuffs

Date: 2012-05-06 10:33 pm (UTC)
From: [identity profile] https://www.google.com/accounts/o8/id?id=AItOawnhIftZ1ha3-UddQPgjK6thHYJg1pMYpkw
Next time you need to set it up, consider using this instead of installing xcode: https://github.com/kennethreitz/osx-gcc-installer/

Profile

geekchick77: (Default)
Jessamyn Smith

April 2013

S M T W T F S
 123456
7891011 1213
14151617181920
21222324252627
282930    

Style Credit

Expand Cut Tags

No cut tags
Page generated Jul. 25th, 2014 05:15 am
Powered by Dreamwidth Studios