From: Eric Hodel Date: 2007-03-01T17:28:29+09:00 Subject: Re: Problem Configuring Ruby Source in Linux On Mar 1, 2007, at 24:08, Edward WIJAYA wrote: > I'm new to Ruby, and I am trying to install Ruby-1.8.5 > in my linux box. > > However upon configuring it, I encounter > the following problem: > > Checking build system type... i686-pc-linux-gnu > checking host system type... i686-pc-linux-gnu > checking target system type... i686-pc-linux-gnu > checking for gcc... gcc > checking for C compiler default output file name... configure: > error: C compiler cannot create executables > See `config.log' for more details. > > And GCC versin is: gcc version 3.4.6 20060404 (Red Hat 3.4.6-3) > > Can anybody suggest the right Ruby version > I can install in my Linux? > (I've also attached the config.log file). > > I'm planning to use Ruby On Rail with Ruby. > Hope to hear from you again. fix your CFLAG (or whatever) environment variable or mkdir ~/.ocaml/ include: configure:2005: gcc I/home/ewijaya/.ocaml/include -I/home/ ewijaya/.libstree/include -I/home/ewijaya/.gsl/include -I/home/ ewijaya/.swish/include -I/home/ewijaya/.lapack/include -I/home/ ewijaya/.berkeley_db/include -I/home/ewijaya/.libgd/include -I/home/ ewijaya/.graphviz/include -L/home/ewijaya/.ocaml/lib -L/home/ ewijaya/.libstree/lib -L/home/ewijaya/.ghc/lib -L/home/ewijaya/.gsl/ lib -L/home/ewijaya/.lapack/lib -L/home/ewijaya/.swish/lib -L/home/ ewijaya/.berkeley_db/lib -L/home/ewijaya/.libgd/lib -L/home/ ewijaya/.graphviz/lib conftest.c >&5 gcc: I/home/ewijaya/.ocaml/include: No such file or directory