I’m trying to compile ruby 1.9.2-head on ubuntu 10.10. I don’t know
whether to post it here, or on ubuntu forums. I’ll try here first.
I’m following this guide here:
http://rohitarondekar.com/articles/installing-rails3-beta3-on-ubuntu-using-rvm
I followed this guide using 10.04 for the wubi install, and I managed
to get it to work. For some reason, I am having problems now. However,
this could have nothing to do with ubuntu versions and a lot more to
do with my “mistakes” when I was using 10.04. You see, without knowing
what I was doing, I had installed previous ruby versions and so on.
This may have caused a successful compile of 1.9.2 accidentally. LOL.
Anyway, here is the rvm install of ruby 1.9.2:
[email protected]:~$ rvm install 1.9.2-head -C --with-openssl-dir=
$rvm_path/usr, --with-readline-dir=$rvm_path/usr
/home/egervari/.rvm/rubies/ruby-1.9.2-head, this may take a while
depending on your cpu(s)…
ruby-1.9.2-head - #fetching
Updating ruby from
http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_9_2
Copying from repo to src path…
Running autoconf
ruby-1.9.2-head - #configuring
ruby-1.9.2-head - #compiling
Error running 'make ', please check /home/egervari/.rvm/log/
ruby-1.9.2-head/make.error.log
There has been an error while running make. Halting the
installation.
Looking in the log file, this is where it bombs (This is from line
1374+):
generating enc/trans/utf_16_32.c …
converter for from_UTF_16LE
converter for from_UTF_32LE
converter for from_UTF_16BE
converter for from_UTF_32BE
converter for from_UTF_8
done. (0.07user 0.00system 0.03elapsed)
/usr/bin/ld: cannot find /lib: File format not recognized
collect2: ld returned 1 exit status
make[1]: *** […/…/…/.ext/x86_64-linux/digest/md5.so] Error 1
make: *** [mkmain.sh] Error 1
I’d appreciate any help you could offer to get this to compile. Thanks!