Skip to content

Instantly share code, notes, and snippets.

@jrgifford
Created December 28, 2011 18:11
Show Gist options
  • Save jrgifford/1528957 to your computer and use it in GitHub Desktop.
Save jrgifford/1528957 to your computer and use it in GitHub Desktop.
$ rvm install 1.9.2
Installing Ruby from source to: /home/jrg/.rvm/rubies/ruby-1.9.2-p290, this may take a while depending on your cpu(s)...
ruby-1.9.2-p290 - #fetching
ruby-1.9.2-p290 - #extracted to /home/jrg/.rvm/src/ruby-1.9.2-p290 (already extracted)
Fetching yaml-0.1.4.tar.gz to /home/jrg/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /home/jrg/.rvm/src
Configuring yaml in /home/jrg/.rvm/src/yaml-0.1.4.
Compiling yaml in /home/jrg/.rvm/src/yaml-0.1.4.
ERROR: Error running 'make ', please read /home/jrg/.rvm/log/ruby-1.9.2-p290/yaml/make.log
Installing yaml to /home/jrg/.rvm/usr
ERROR: Error running 'make install', please read /home/jrg/.rvm/log/ruby-1.9.2-p290/yaml/make.install.log
ruby-1.9.2-p290 - #configuring
ruby-1.9.2-p290 - #compiling
ruby-1.9.2-p290 - #installing
Retrieving rubygems-1.8.10
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 243k 100 243k 0 0 173k 0 0:00:01 0:00:01 --:--:-- 190k
Extracting rubygems-1.8.10 ...
Removing old Rubygems files...
Installing rubygems-1.8.10 for ruby-1.9.2-p290 ...
Installation of rubygems completed successfully.
ruby-1.9.2-p290 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
ruby-1.9.2-p290 - #importing default gemsets (/home/jrg/.rvm/gemsets/)
Install of ruby-1.9.2-p290 - #complete
$
$ rvm requirements
Requirements for Linux ( DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu precise (development branch)" )
NOTE: 'ruby' represents Matz's Ruby Interpreter (MRI) (1.8.X, 1.9.X)
This is the *original* / standard Ruby Language Interpreter
'ree' represents Ruby Enterprise Edition
'rbx' represents Rubinius
bash >= 4.1 required
curl is required
git is required (>= 1.7 recommended)
patch is required (for ree and some ruby-head's).
To install rbx and/or Ruby 1.9 head (MRI) (eg. 1.9.2-head),
then you must install and use rvm 1.8.7 first.
NOTE: To all Multi-User installers - DO NOT forget to add your users to the 'rvm' group.
The installer does not auto-add any users to the rvm group. Admins must do this.
Group memberships are ONLY evaluated at login time. Log them out, then back in.
Additional Dependencies:
# For Ruby / Ruby HEAD (MRI, Rubinius, & REE), install the following:
ruby: /usr/bin/apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion
# For JRuby, install the following:
jruby: /usr/bin/apt-get install curl g++ openjdk-6-jre-headless
jruby-head: /usr/bin/apt-get install ant openjdk-6-jdk
# For IronRuby, install the following:
ironruby: /usr/bin/apt-get install curl mono-2.0-devel
$
jrg@discovery:~$ which autoreconf ; which libtoolize
/usr/bin/autoreconf
/usr/bin/libtoolize
jrg@discovery:~$ which automake-1.11 ; which aclocal-1.11
/usr/bin/automake-1.11
/usr/bin/aclocal-1.11
jrg@discovery:~$
[2011-12-28 12:52:25] make install
cd . && /bin/bash /home/jrg/.rvm/src/yaml-0.1.4/config/missing --run automake-1.11 --foreign
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
[2011-12-28 12:52:19] make
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash /home/jrg/.rvm/src/yaml-0.1.4/config/missing --run aclocal-1.11
cd . && /bin/bash /home/jrg/.rvm/src/yaml-0.1.4/config/missing --run automake-1.11 --foreign
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment