[BioRuby] Installing Ruby 1.9 on CentOS 5.4

Peter Cock p.j.a.cock at googlemail.com
Fri Nov 4 16:34:41 UTC 2011


On Fri, Nov 4, 2011 at 4:07 PM, Francesco Strozzi
<francesco.strozzi at gmail.com> wrote:
> Try to install libyaml from source, here it seems they have faced the same
> problem:
> http://collectiveidea.com/blog/archives/2011/10/31/install-ruby-193-with-libyaml-on-centos/
> Cheers,
> Francesco

That didn't seem to work,

$ sudo yum erase libyaml-devel
$ sudo yum erase libyaml

then:

$ cd ~/Downloads
$ wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz
$ tar -xzvf yaml-0.1.4.tar.gz
$ cd yaml-0.1.4
$ ./configure --prefix=$HOME
$ make
$ make check
$ make install

Then back to reinstall Ruby as before.

Maybe there is a problem in the configure script, or I need
to tell it to look for libyaml under $HOME.

Peter



More information about the BioRuby mailing list