From: Ken Bloom Date: 2007-02-19T07:10:05+09:00 Subject: Re: Installing Ruby on Linux - Error On Mon, 19 Feb 2007 06:04:42 +0900, Timothy Hunter wrote: > 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? >> >> > I think Ubuntu doesn't install any developer tools by default. You need > the GCC compiler, autoconf and friends, and the GNU binutils. Probably > there's a package with everything you need, possibly called "developer > tools" or something similar. You'll need to install the package "build-essential" which will pull in a GCC, G++, linkers, make, and the basic header files which belong in /usr/ include. If you just have GCC installed, but not a linker, then your C compiler cannot create executables and you'll get that error. --Ken -- Ken Bloom. PhD candidate. Linguistic Cognition Laboratory. Department of Computer Science. Illinois Institute of Technology. http://www.iit.edu/~kbloom1/