When trying to install Ruby 1.9.3 on Fedora 12, following "Complete Guide to install Ruby 1.9.3 on CentOS", I get the following error when running the command
$ ./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 `/tmp/ruby-1.9.3-p194': configure: error: C compiler cannot create executables See `config.log' for more details
Here is the content of the config.log.
I tried running both as root and non-root. I have permissions in the directory where I try to install, and used yum to install the following packages:
httpd-devel openssl-devel zlib-devel gcc gcc-c++ curl-devel expat-devel gettext-devel patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel make bzip2 zlib1g mysql-server
yum groupinstall "Development tools"