troubleshooting Question

Issue installing Ruby 1.9.2 on CentOS 5.8

Avatar of opike
opike asked on
6 Comments1 Solution1497 ViewsLast Modified:
I'm trying to install Ruby 1.9.2 on CentOS 5.8. I've used yum to install 'Development Tools' and readline-devel. I then download the ruby tar file and unzipped it. But when I try to do a:
I get the following error message:
[ollie@devdataload ruby-1.9.2-p0]$ ./configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/ollie/ruby/ruby-1.9.2-p0':
configure: error: C compiler cannot create executables
See `config.log' for more details.

I've also attached the config.log.

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros