2

I'm slightly confused under Lion as to how to get dependencies in place for Homebrew. It wants Xcode in place, and I can go to the app store and click on "Install", and it dutifully says "Installing"... and stays stuck on "Installing" after several minutes. I can find Xcode but apparently not get to "Installed", in the past indicative.

How can I install Xcode? Do I just need to give it more time to install? Or is there another way like installing from tarball? It's been "Installing" for a few minutes, and seems stuck.

  • 1
    Do you need all of Xcode, or just what is needed for homebrew? – jmlumpkin May 31 '12 at 19:12
  • Did you ever get an acceptable answer here? It helps when you mark the best answer as accepted so others can know your issue is sorted. – bmike Jul 5 '12 at 15:10
6

When the App Store is "Installing" keep in mind this includes "Downloading", and Xcode is usually about 4 GB. Leave it overnight or monitor your network traffic to see the progress.

Once Xcode is installed, you will need to run xcode-select to expand your path since tools like make and compilers/linkers are in /Applications/Xcode and not in your typical bash path. You can go to settings and download the command line tools to keep them if decide to delete Xcode later.

  • @bmike That's what I intended to say; thanks for the clarification. – CajunLuke May 31 '12 at 21:07
  • It's rare when I can lend a hand like you do on my posts time and time again. – bmike Jun 1 '12 at 0:32
  • @bmike You post so much more than I do, so the ratio might be close to even. If we still got reputation for edits like under-2k users do, I might have as much rep as you do. :) – CajunLuke Jun 1 '12 at 0:34
2

While this doesn't actually answer your direct question of Xcode on Lion, if you are only needing part of it for homebrew, Xcode 4.3 split many of the other parts of Xcode off into separate different downloads.

If you only need the command line tools for homebrew and the like, you no longer need to install all of Xcode. Here is another link as well.

Otherwise, Apple used to allow downloads of Xcode from the Dev center, but most of this is driven through the App Store now.

Finally, Xcode is a rather large application, and the installation is unique too. Make sure that another window hasn't opened waiting for input on the installation, etc. It also may take a long time to download, which should be noted in the App Store on its progress.

0

With Snow Leopard Xcode could also be found on the installation disks. May you can find it on the Lion disks as well and install it from there.

  • Sadly, it's not on the Lion install media. – CajunLuke Jun 5 '12 at 14:19

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .