I’ve just had to upgrade Ruby to 1.9.2 (from 1.8.7) on the EC2 instance, but ran into a weird error while running rvm install 1.9.2
:
Compiling yaml in /home/ubuntu/.rvm/src/yaml-0.1.4.
ERROR: Error running 'make ', please read /home/ubuntu/.rvm/log/ruby-1.9.2-p290/yaml/make.log
Installing yaml to /home/ubuntu/.rvm/usr
ERROR: Error running 'make install', please read /home/ubuntu/.rvm/log/ruby-1.9.2-p290/yaml/make.install.log
and in the log:
src/Makefile.am:2: Libtool library used but `LIBTOOL' is undefined
src/Makefile.am:2: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL'
src/Makefile.am:2: to `configure.ac' and run `aclocal' and `autoconf' again.
src/Makefile.am:2: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure
src/Makefile.am:2: its definition is in aclocal's search path.
Fortunately the solution was rather simple, although Google was not really that helpful this time, hence this post:
sudo aptitude install libtool
Basically the libtool
library was not installed.
Thanks bro!
Paul – thanks to you, Google is now very helpful. This was the first result.
Great. Thanks!!!!!
Thanks! helped me as well
Thank you too, I’d probably figure it out sooner or later but this was faster. :)
Thanks a lot. This was the exact issue I was facing
Thank you very much
Duh. Thanks for saving me a LOT of time
Glad you posted your solution. Thanks, it really helped save me some time.
Thanks a million.