=begin
What happened:
I tried to compile ruby 1.9.1-p376 on a new unix system(s). (Linux and Solaris).
I get the error:
executable host ruby is required. use --with-baseruby option.
make: *** [miniprelude.c] Error 1
What I expected:
I expect that ruby should compile.
There are no docs for how to get around this. How can I get ruby on a system if I can't compile ruby?
=end
I tried to compile ruby 1.9.1-p376 on a new unix system(s). (Linux and Solaris).
I get the error:
executable host ruby is required. use --with-baseruby option.
make: *** [miniprelude.c] Error 1
Yes, compiling trunk requires ruby to preprocess and generate code.
How can I get ruby on a system if I can't compile ruby?
Please build and install tarball package first. It does not require
ruby to be built.
=begin
Okay. It seems the problem was that my sources didn't have their proper timestamps. I worked around this by adding this step prior to running configure && make && make install
This "fixes" the timestamps for the files that would require ruby to be pre-installed. It also prevents autotools from trying to run again.
=begin
Some of the ruby 1.9 build scripts are written in ruby. So, you must have an existing ruby already in order to build ruby 1.9. I had thought that the usual workaround was to build a ruby 1.8 release first (which doesn't have this restriction) and then use that to bootstrap 1.9. (I think perhaps Yusuke misspoke when he pointed you at a 1.9 tarball.....?)
This is a known limitation of ruby 1.9. It's not a terribly happy situation, but its not likely to be fixed soon either.
=end
=begin
I have built ruby 1.9.1 (p376 and p378) on several computers without an existing ruby interpreter. It has always successfully built a 'miniruby' to interpret scripts in the build process when I have used it. I have done this successfully in Cygwin, Ubuntu Linux and Debian Linux.
=end
=begin
This issue was solved with changeset r27037.
Christian, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.