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:
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=
/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
Copying from repo to src path…
ruby-1.9.2-head - #configuring
ruby-1.9.2-head - #compiling
Error running 'make ', please check /home/egervari/.rvm/log/
There has been an error while running make. Halting the
Looking in the log file, this is where it bombs (This is from line
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: *** […/…/…/.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!