I am trying to compile ruby (v1.9.2) on a CentOS 5.6 system (kernel v2.6.18-238.12.1.el5), but keep getting a "executable host ruby is required" error message during make.

Here are the steps:

./configure --prefix=/usr/local/ruby
make

I get the following error (in entirety):

echo executable host ruby is required.  use --with-baseruby option.; false ./tool/generic_erb.rb -c -o known_errors.inc ./template/known_errors.inc.tmpl ./defs/known_errors.def
executable host ruby is required. use --with-baseruby option.

I read the description of what the '--with-baseruby' option does, but it seems circular, b/c I am trying to install ruby. So do I need to do something like:

--with-baseruby=/usr/local/ruby/... ?

Thanks in advance.

link|improve this question

This appears to be related to v1.9.2, I was able to compile and make v1.8.7 with no issues. – Mike Purcell Jul 18 '11 at 21:20
Good to know. Thanks for sharing man :) – Abel Martin Dec 14 '11 at 18:18
feedback

1 Answer

up vote 1 down vote accepted

This appears to be related to v1.9.2, I was able to compile and make v1.8.7 with no issues.

Also, I just recently started the process of upgrading my servers from CentOS 5.6 to 6.0 and found this issue didn't not happen again when trying to install ruby v1.9.x+.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.