Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

rvm install 1.9.2 fails when running autoconf?

when I run

rvm install 1.9.2

I get an error trying to run autoconf. This is the stacktrace:

kenmare:ruby-1.9.2-p0 lee$ rvm install 1.9.2-p0
/Users/lee/.rvm/rubies/ruby-1.9.2-p0, this may take a while depending on your cpu(s)...

ruby-1.9.2-p0 - #fetching 
ruby-1.9.2-p0 - #extracted to /Users/lee/.rvm/src/ruby-1.9.2-p0 (already extracted)
Running autoconf
Error running 'autoconf', please check /Users/lee/.rvm/log/ruby-1.9.2-p0/autoconf.error.log
Skipping configure step, 'configure' does not exist, did autoconf not run successfully?
ruby-1.9.2-p0 - #compiling 
Error running 'make ', please check /Users/lee/.rvm/log/ruby-1.9.2-p0/make.error.log
There has been an error while running make. Halting the installation.

Any ideas? Thanks!

UPDATE: Sorry it was late and didn't give some obvious info. I am on a mac running 10.6.4. The autoconf log says:

autoconf: no input file

To the answer regarding make, when I run

which make
/usr/bin/make

And I have am running 1.8.7 successfully with rvm. I only receive this problem when installing 1.9.2. Thanks again!

like image 795
Lee Avatar asked Nov 22 '10 03:11

Lee


1 Answers

This happened to me because my rvm version was old

rvm list known

wasn't showing ruby 1.9.3 as one of the options for me

I did:

rvm get head
like image 133
djburdick Avatar answered Oct 19 '22 18:10

djburdick