wayneeseguin/rvm — Issue #571: rvm install ruby1.9.3-p0 fail.
Author: saberma
Created: 2011-11-05 03:13:03+00:00
State: open

```bash
rvm install 1.9.3-p0
Removing /home/saberma/.rvm/src/ruby-1.9.3-p0...
Removing /home/saberma/.rvm/rubies/ruby-1.9.3-p0...
Removing ruby-1.9.3-p0 aliases...
Removing ruby-1.9.3-p0 wrappers...
Removing ruby-1.9.3-p0 environments...
Removing ruby-1.9.3-p0 binaries...
Installing Ruby from source to: /home/saberma/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)...

ruby-1.9.3-p0 - #fetching
ruby-1.9.3-p0 - #extracting ruby-1.9.3-p0 to /home/saberma/.rvm/src/ruby-1.9.3-p0
ruby-1.9.3-p0 - #extracted to /home/saberma/.rvm/src/ruby-1.9.3-p0
Fetching yaml-0.1.4.tar.gz to /home/saberma/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /home/saberma/.rvm/src
Prepare yaml in /home/saberma/.rvm/src/yaml-0.1.4.
Configuring yaml in /home/saberma/.rvm/src/yaml-0.1.4.
Compiling yaml in /home/saberma/.rvm/src/yaml-0.1.4.
ERROR: Error running 'make ', please read /home/saberma/.rvm/log/ruby-1.9.3-p0/yaml/make.log
Installing yaml to /home/saberma/.rvm/usr
ERROR: Error running 'make install', please read /home/saberma/.rvm/log/ruby-1.9.3-p0/yaml/make.install.log
ruby-1.9.3-p0 - #configuring
```

**below is the content of make.log**

```bash
cat /home/saberma/.rvm/log/ruby-1.9.3-p0/yaml/make.log
[2011-11-05 02:58:41] make
make all-recursive
make[1]: Entering directory `/home/saberma/.rvm/src/yaml-0.1.4'
Making all in include
make[2]: Entering directory `/home/saberma/.rvm/src/yaml-0.1.4/include'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/saberma/.rvm/src/yaml-0.1.4/include'
Making all in src
make[2]: Entering directory `/home/saberma/.rvm/src/yaml-0.1.4/src'
if /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -g -O2 -MT api.lo -MD -MP -MF ".deps/api.Tpo" -c -o api.lo api.c; \
then mv -f ".deps/api.Tpo" ".deps/api.Plo"; else rm -f ".deps/api.Tpo"; exit 1; find_by_client_id
../libtool: line 466: CDPATH: command not found
../libtool: line 1144: func_opt_split: command not found
libtool: Version mismatch error. This is libtool 2.2.6b Debian-2.2.6b-2ubuntu1, but the
libtool: definition of this LT_INIT comes from an older release.
libtool: You should recreate aclocal.m4 with macros from libtool 2.2.6b Debian-2.2.6b-2ubuntu1
libtool: and run autoconf again.
make[2]: *** [api.lo] Error 1
make[2]: Leaving directory `/home/saberma/.rvm/src/yaml-0.1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/saberma/.rvm/src/yaml-0.1.4'
make: *** [all] Error 2
```

**Do I need to upgrade libtool?**

```bash
# libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
# libtoolize --version
libtoolize (GNU libtool) 1.5.22
```

I try to get the latest rvm

```bash
$ rvm get head

Original installed RVM version:

rvm 1.9.2 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]

remote: Counting objects: 60, done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 37 (delta 28), reused 27 (delta 18)
Unpacking objects: 100% (37/37), done.
From git://github.com/wayneeseguin/rvm
+ b0d233e...0f78361 master -> origin/master (forced update)
* [new branch] shoes -> origin/shoes
HEAD is now at 0f78361 improve gemset help, for muzone
```
according to the rvm note of [Additional Dependencies], I use yum to install this libary:

```bash
# yum install gcc-c++ patch readline readline-devel zlib zlib-devel libyaml-devel libffi-devel openssl-devel make bzip2 autoconf automake libtool bison
```

**and reinstall ruby1.9.3-p0, but it's still fail.**

Any help will be appreciate.
Thanks.