Skip to content

Instantly share code, notes, and snippets.

@wmene
Created May 8, 2013 18:04
Show Gist options
  • Save wmene/5542281 to your computer and use it in GitHub Desktop.
Save wmene/5542281 to your computer and use it in GitHub Desktop.
rvm install 1.8.7 --64 --debug
sul-wmene-mac:~ wmene$ rvm install 1.8.7 --64 --debug
1.8.7 - install
__rvm_setup_compile_environment_setup ruby-1.8.7-p371
rvm_autolibs_flag=enable
__rvm_setup_compile_environment_requirements ruby-1.8.7-p371
Installing requirements for osx, might require sudo password.
requirements code for osx loaded
brew seems to be writable
Found required packages: autoconf, automake, libtool, pkg-config, libyaml, readline, libxml2, libxslt, libksba, openssl, sqlite.
Error: No such file or directory - /usr/local/Cellar/htop-osx
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/Cellar/libyaml/0.1.4/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/Cellar/libyaml/0.1.4/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/readline/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/readline/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libxml2/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libxml2/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libxslt/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libxslt/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libksba/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libksba/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/openssl/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/openssl/lib:
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/sqlite/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/sqlite/lib:
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
__rvm_setup_compile_environment_osx_compiler ruby-1.8.7-p371
__rvm_setup_compile_environment_architectures ruby-1.8.7-p371
__rvm_update_configure_env(6):MACOSX_DEPLOYMENT_TARGET=10.7 CFLAGS=-arch x86_64 -g -Os -pipe -no-cpp-precomp CCFLAGS=-arch x86_64 -g -Os -pipe CXXFLAGS=-arch x86_64 -g -Os -pipe LDFLAGS=-arch x86_64 -bind_at_load LDSHARED=cc -arch x86_64 -dynamiclib -undefined suppress -flat_namespace:
__rvm_setup_compile_environment_gcc47plus ruby-1.8.7-p371
__rvm_setup_compile_environment_bison ruby-1.8.7-p371
__rvm_setup_compile_environment_smartos ruby-1.8.7-p371
__rvm_setup_compile_environment_sunos ruby-1.8.7-p371
__rvm_setup_compile_environment_openbsd ruby-1.8.7-p371
__rvm_setup_compile_environment_auto_conf_make ruby-1.8.7-p371
__rvm_setup_compile_environment_flags_docs ruby-1.8.7-p371
__rvm_setup_compile_environment_flags_tcltk ruby-1.8.7-p371
__rvm_setup_compile_environment_flags_shared_static ruby-1.8.7-p371
__rvm_setup_compile_environment_flags_threads ruby-1.8.7-p371
found compiler: /usr/local/bin/gcc-4.2
Installing Ruby from source to: /Users/wmene/.rvm/rubies/ruby-1.8.7-p371, this may take a while depending on your cpu(s)...
ruby-1.8.7-p371 - #downloading ruby-1.8.7-p371, this may take a while depending on your connection...
Archive checksum matched, not downloading
Downloaded archive checksum matched.
Log file: /Users/wmene/.rvm/log/ruby-1.8.7-p371/1368036182_extract.log
[2013-05-08 11:03:02] __rvm_package_extract
__rvm_package_extract ()
{
rvm_debug __rvm_package_extract:$#: "$@";
typeset __tempdir __path __file __return;
__return=0;
__tempdir="$( TMPDIR="${rvm_tmp_path}" mktemp -d -t rvm-tmp.XXXXXXXXX )";
__rvm_package_extract_run "$1" "$__tempdir" || __return=$?;
if (( __return == 0 )); then
for __path in "$__tempdir"/*;
do
__file="${__path##*/}";
if [[ -n "${__file}" && -e "$2/${__file}" ]]; then
\rm -rf "$2/${__file}" || __return=$?;
fi;
\mv -f "${__path}" "$2/" || __return=$?;
done;
fi;
if [[ -n "$__tempdir" ]]; then
\rm -rf "$__tempdir";
fi;
return $__return
}
current path: /Users/wmene/.rvm/src
command(3): __rvm_package_extract /Users/wmene/.rvm/archives/ruby-1.8.7-p371.tar.bz2 /Users/wmene/.rvm/tmp/rvm_src_38765
ruby-1.8.7-p371 - #extracting ruby-1.8.7-p371 to /Users/wmene/.rvm/src/ruby-1.8.7-p371.
__rvm_rm_rf already gone: /Users/wmene/.rvm/src/ruby-1.8.7-p371
ruby-1.8.7-p371 - #extracted to /Users/wmene/.rvm/src/ruby-1.8.7-p371
Trying patch 'osx-arch-fix'.
Patch name 'osx-arch-fix'.
Patch expanded_name 'osx-arch-fix%1'.
Trying patch 'default'.
Patch name 'default'.
Patch expanded_name 'stdout-rouge-fix'.
Patch expanded_name 'no_sslv2'.
All found patches(3): osx-arch-fix%1 stdout-rouge-fix no_sslv2.
Patch full path '/Users/wmene/.rvm/patches/ruby/1.8.7/osx-arch-fix.patch'.
Log file: /Users/wmene/.rvm/log/ruby-1.8.7-p371/1368036184_patch.apply.osx-arch-fix.log
[2013-05-08 11:03:04] patch
current path: /Users/wmene/.rvm/src/ruby-1.8.7-p371
command(8): patch -F 25 -p1 -N -f -i /Users/wmene/.rvm/patches/ruby/1.8.7/osx-arch-fix.patch
Applying patch /Users/wmene/.rvm/patches/ruby/1.8.7/osx-arch-fix.patch.
Patch full path '/Users/wmene/.rvm/patches/ruby/1.8.7/stdout-rouge-fix.patch'.
Log file: /Users/wmene/.rvm/log/ruby-1.8.7-p371/1368036184_patch.apply.stdout-rouge-fix.log
[2013-05-08 11:03:04] patch
current path: /Users/wmene/.rvm/src/ruby-1.8.7-p371
command(8): patch -F 25 -p1 -N -f -i /Users/wmene/.rvm/patches/ruby/1.8.7/stdout-rouge-fix.patch
Applying patch /Users/wmene/.rvm/patches/ruby/1.8.7/stdout-rouge-fix.patch.
Patch full path '/Users/wmene/.rvm/patches/ruby/1.8.7/no_sslv2.diff'.
Log file: /Users/wmene/.rvm/log/ruby-1.8.7-p371/1368036184_patch.apply.no_sslv2.log
[2013-05-08 11:03:04] patch
current path: /Users/wmene/.rvm/src/ruby-1.8.7-p371
command(8): patch -F 25 -p1 -N -f -i /Users/wmene/.rvm/patches/ruby/1.8.7/no_sslv2.diff
Applying patch /Users/wmene/.rvm/patches/ruby/1.8.7/no_sslv2.diff..
__rvm_array_prepend_or_ignore rvm_configure_env CFLAGS="-O3 -I/usr/local/Cellar/libyaml/0.1.4/include -I/usr/local/opt/readline/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/libxslt/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -arch x86_64 -g -Os -pipe -no-cpp-precomp"
__rvm_array_prepend_or_ignore rvm_configure_env CCFLAGS="-O3 -arch x86_64 -g -Os -pipe"
__rvm_array_prepend_or_ignore rvm_configure_env CXXFLAGS="-O3 -arch x86_64 -g -Os -pipe"
Log file: /Users/wmene/.rvm/log/ruby-1.8.7-p371/1368036184_configure.log
[2013-05-08 11:03:04] ./configure
current path: /Users/wmene/.rvm/src/ruby-1.8.7-p371
command(13): env CFLAGS=-O3 -I/usr/local/Cellar/libyaml/0.1.4/include -I/usr/local/opt/readline/include -I/usr/local/opt/libxml2/include -I/usr/local/opt/libxslt/include -I/usr/local/opt/libksba/include -I/usr/local/opt/openssl/include -I/usr/local/opt/sqlite/include -arch x86_64 -g -Os -pipe -no-cpp-precomp LDFLAGS=-L/usr/local/Cellar/libyaml/0.1.4/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libxml2/lib -L/usr/local/opt/libxslt/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/openssl/lib -L/usr/local/opt/sqlite/lib -arch x86_64 -bind_at_load MACOSX_DEPLOYMENT_TARGET=10.7 CCFLAGS=-O3 -arch x86_64 -g -Os -pipe CXXFLAGS=-O3 -arch x86_64 -g -Os -pipe LDSHARED=cc -arch x86_64 -dynamiclib -undefined suppress -flat_namespace ./configure --prefix=/Users/wmene/.rvm/rubies/ruby-1.8.7-p371 --disable-install-doc --without-tcl --without-tk --enable-shared
ruby-1.8.7-p371 - #configuring..................................................................................................................................................................................................................................................................................................................
Log file: /Users/wmene/.rvm/log/ruby-1.8.7-p371/1368036194_make.log
[2013-05-08 11:03:14] make
current path: /Users/wmene/.rvm/src/ruby-1.8.7-p371
command(2): make -j8
ruby-1.8.7-p371 - #compiling.................................................................................................................................................................................................................................................................................................................................................
__rvm_rm_rf already gone: /Users/wmene/.rvm/src/ruby-1.8.7-p371/.ext/rdoc
Log file: /Users/wmene/.rvm/log/ruby-1.8.7-p371/1368036218_install.log
[2013-05-08 11:03:38] make
current path: /Users/wmene/.rvm/src/ruby-1.8.7-p371
command(2): make install
ruby-1.8.7-p371 - #installing ........
Running /Users/wmene/.rvm/hooks/after_use_maglev
Running /Users/wmene/.rvm/hooks/after_use_maglev
Running(7): curl --fail --location --max-redirs 10 -s https://api.github.com/repos/rubygems/rubygems/tags
Retrieving rubygems-1.8.25
Archive checksum matched, not downloading
Downloaded archive checksum matched.
Log file: /Users/wmene/.rvm/log/ruby-1.8.7-p371/1368036221_rubygems.extract.log
[2013-05-08 11:03:41] __rvm_package_extract
__rvm_package_extract ()
{
rvm_debug __rvm_package_extract:$#: "$@";
typeset __tempdir __path __file __return;
__return=0;
__tempdir="$( TMPDIR="${rvm_tmp_path}" mktemp -d -t rvm-tmp.XXXXXXXXX )";
__rvm_package_extract_run "$1" "$__tempdir" || __return=$?;
if (( __return == 0 )); then
for __path in "$__tempdir"/*;
do
__file="${__path##*/}";
if [[ -n "${__file}" && -e "$2/${__file}" ]]; then
\rm -rf "$2/${__file}" || __return=$?;
fi;
\mv -f "${__path}" "$2/" || __return=$?;
done;
fi;
if [[ -n "$__tempdir" ]]; then
\rm -rf "$__tempdir";
fi;
return $__return
}
current path: /Users/wmene/.rvm/src/ruby-1.8.7-p371
command(3): __rvm_package_extract /Users/wmene/.rvm/archives/rubygems-1.8.25.tgz /Users/wmene/.rvm/src
Extracting rubygems-1.8.25 ....
Removing old Rubygems files...
__rvm_rm_rf already gone: /ubygems.rb
__rvm_rm_rf already gone: /gauntlet_rubygems.rb
__rvm_rm_rf already gone: /rbconfig/
__rvm_rm_rf already gone: /rubygems*
Log file: /Users/wmene/.rvm/log/ruby-1.8.7-p371/1368036221_rubygems.install.log
[2013-05-08 11:03:41] /Users/wmene/.rvm/rubies/ruby-1.8.7-p371/bin/ruby
current path: /Users/wmene/.rvm/src/rubygems-1.8.25
command(7): env GEM_PATH=/Users/wmene/.rvm/gems/ruby-1.8.7-p371:/Users/wmene/.rvm/gems/ruby-1.8.7-p371@global:/Users/wmene/.rvm/gems/ruby-1.8.7-p371:/Users/wmene/.rvm/gems/ruby-1.8.7-p371@global GEM_HOME=/Users/wmene/.rvm/gems/ruby-1.8.7-p371 /Users/wmene/.rvm/rubies/ruby-1.8.7-p371/bin/ruby -d /Users/wmene/.rvm/src/rubygems-1.8.25/setup.rb --verbose
Installing rubygems-1.8.25 for ruby-1.8.7-p371...................................................................................................................................................................................................................................................................................................................................................
Installation of rubygems completed successfully.
__rvm_rm_rf already gone: /Users/wmene/.rvm/rubies/ruby-1.8.7-p371/lib/ruby/gems/1.8
Running /Users/wmene/.rvm/hooks/after_use_maglev
Saving wrappers to '/Users/wmene/.rvm/wrappers/ruby-1.8.7-p371'...........
Log file: /Users/wmene/.rvm/log/ruby-1.8.7-p371/1368036221_chmod.bin.log
[2013-05-08 11:03:41] chmod
current path: /Users/wmene/.rvm/src/ruby-1.8.7-p371
command(9): chmod +x /Users/wmene/.rvm/rubies/ruby-1.8.7-p371/bin/erb /Users/wmene/.rvm/rubies/ruby-1.8.7-p371/bin/gem /Users/wmene/.rvm/rubies/ruby-1.8.7-p371/bin/irb /Users/wmene/.rvm/rubies/ruby-1.8.7-p371/bin/rdoc /Users/wmene/.rvm/rubies/ruby-1.8.7-p371/bin/ri /Users/wmene/.rvm/rubies/ruby-1.8.7-p371/bin/ruby /Users/wmene/.rvm/rubies/ruby-1.8.7-p371/bin/testrb
ruby-1.8.7-p371 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake).
Log file: /Users/wmene/.rvm/log/ruby-1.8.7-p371/1368036221_gemsets.initial.log
[2013-05-08 11:03:41] __rvm_with
__rvm_with ()
{
( __rvm_use "$1";
shift;
"$@" || return $? )
}
current path: /Users/wmene/.rvm/src/ruby-1.8.7-p371
command(4): __rvm_with ruby-1.8.7-p371 /Users/wmene/.rvm/scripts/gemsets initial
ruby-1.8.7-p371 - #importing default gemsets, this may take time........................................
Install of ruby-1.8.7-p371 - #complete
Please be aware that you just installed a ruby that requires 2 patches just to be compiled on up to date linux system.
This may have known and unaccounted for security vulnerabilities.
Please consider upgrading to ruby-2.0.0-p0 which will have all of the latest security patches.
Running /Users/wmene/.rvm/hooks/after_install_auto_gem
__rvm_rm_rf already gone: /Users/wmene/.rvm/tmp/38765*
sul-wmene-mac:~ wmene$ rvm list rubies
rvm rubies
jruby-1.7.0 [ x86_64 ]
ruby-1.8.7-p371 [ i686 ]
ruby-1.9.3-p392 [ x86_64 ]
ruby-2.0.0-p0 [ x86_64 ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment