2012-01-12 4 views
11

ErreurErreur d'installation du rubis 1.9.3 de RVM sur ubuntu 11.04

ruby-1.9.3-p0 - #extracted to /home/bhaarat/.rvm/src/ruby-1.9.3-p0

Fetching yaml-0.1.4.tar.gz to /home/bhaarat/.rvm/archives Extracting yaml-0.1.4.tar.gz to /home/bhaarat/.rvm/src Configuring yaml in /home/bhaarat/.rvm/src/yaml-0.1.4.

Compiling yaml in /home/bhaarat/.rvm/src/yaml-0.1.4. ERROR: Error running 'make ', please read /home/bhaarat/.rvm/log/ruby-1.9.3-p0/yaml/make.log Installing yaml to /home/bhaarat/.rvm/usr ERROR: Error running 'make install', please read /home/bhaarat/.rvm/log/ruby-1.9.3-p0/yaml/make.install.log

make.log

[2012-01-12 10:49:57] make 
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/bhaarat/.rvm/src/yaml-0.1.4/config/missing --run aclocal-1.11 
configure.ac:27: warning: AC_INIT: not a literal: YAML_BUGS 
cd . && /bin/bash /home/bhaarat/.rvm/src/yaml-0.1.4/config/missing --run automake-1.11 --foreign 
configure.ac:27: warning: AC_INIT: not a literal: YAML_BUGS 
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. 
make: *** [Makefile.in] Error 1 

J'ai supprimé toutes les versions précédentes de rubis

% rvm list rubies 

rvm rubies 
+0

avez-vous couru: sudo aptitude installez build-essential && sudo aptitude installez linux-headers-'uname -r'? – josephrider

+0

Vous avez la même erreur sur Ubuntu 10.04 LTS. –

Répondre

15

Essayez d'installer le paquet libtool. J'ai eu le même problème et cela l'a réparé. Si vous êtes sous Ubuntu, alors c'est probablement:

sudo apt-get install libtool 
+0

Ceci résout également le problème sur Ubuntu 10.04 LTS. –

+0

Cela résout également le problème d'installation de ruby-1.9.2p290 via rvm 1.14.1 sur Ubuntu 11.04. Merci! – Benissimo

+0

Cela a été une aide énorme, merci! – Gowiem

Questions connexes