From: SonOfLilit Date: 2007-02-19T05:54:28+09:00 Subject: Re: Installing Ruby on Linux - Error Try: echo "int main(){return 0;}" > test.c gcc test.c If it fails, gcc probably doesn't have correct permissions or isn't installed right. Either way, you'll probably get a more specific error message. If it works, ./configure is lying. Perhaps sudo first? sudo ./configure Aur Saraf PLUG: All newbies, have a look at the adopt-a-newbie thread, it might benefit you On 2/18/07, Centipeed wrote: > I'm new to Linux, so it may well be that I'm missing some trivial. > > However, I have Ubuntu installed on my Laptop, and I downloaded the > Source for Ruby (ruby-1.8.5-p12), copied it across to my laptop (My > laptop does NOT have internet access, so I can't just apt-get, > unfortunately), and tried the following: > > ./configure > > It starts working, then right after "checking for C compiler default > ouput file name...", I get this: > > "configure: error: C compiler cannot create executables" > > Can anyone help me out with this one? > > -- > Posted via http://www.ruby-forum.com/. > >