From: Dave H. <da...@gr...> - 2005-09-13 09:36:12
|
On Sep 13, 2005, at 2:22, Jonathan Paisley wrote: > On 13 Sep 2005, at 9:56, Dave Howell wrote: > >> Fine. Download what ruby-lang.org tells me is the latest version. Run >> ./configure. >> "configure:2045: error: C compiler cannot create executables" >> I recall once before having to change from the default gcc3.3 >> compiler to something else. Sure enough, on my other system, gcc has >> been redefined as gcc-3.1. I switch the gcc link to 3.1. Doesn't >> work. I copy the gcc binary from my other computer to this one. Still >> doesn't work. > > gcc-3.3 should work fine, or gcc-4.0 if you have Xcode 2.1. I don't. That's Tiger only. > Did you switch the link by hand? There's a tool to do this: > gcc_select. Perhaps switching by hand broke things? I did. Then I used gcc_select. Still didn't work. > Look in the 'config.log' file to see what error messages the > compiler/linker spat out when failing. You could post the relevant > excerpt here if it's not obvious. The error message in my original message was copied verbatim from the config.log. That's all it gave me. |