RubyFlow The Ruby and Rails community linklog

Compiling Ruby on fresh Lion install

I wrote some notes on the issues I’ve run into while compiling Ruby on fresh Lion install.

Comments

Latest XCode 4.2 does not install (non-llvm) gcc-4.2 anymore</quote> This is not true. gcc-4.2 is still there, but it's no longer symlinked to /usr/bin/gcc. Put export CC=gcc-4.2 in your shell's start-up files, and you should be good to go.
Latest XCode 4.2 does not install (non-llvm) gcc-4.2 anymore

This is not true. gcc-4.2 is still there, but it’s no longer symlinked to /usr/bin/gcc.

Put export CC=gcc-4.2 in your shell’s start-up files, and you should be good to go.

No, it wasn’t there. This is fresh Lion install with fresh XCode 4.2 install. You probably upgraded system that previously had it. I’m not the only one: https://github.com/sstephenson/ruby-build/issues/62

Hmm. Well, yes and no. The machine I’m on is a brand new installation (wiped the disk, installed Lion, then installed Xcode). However, I installed it in September, and I now see that it’s Xcode 4.1. Xcode was just updated again, so maybe 4.2.1 (or whatever the exact number of the update is) no longer installs vanilla gcc-4.2.

Exactly. “Latest XCode 4.2 does not install (non-llvm) gcc-4.2 anymore”

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in