Created
May 8, 2013 17:59
-
-
Save wmene/5542247 to your computer and use it in GitHub Desktop.
Trying to install ruby 1.8.7 with rvm, 64-bit version, but no success
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sul-wmene-mac:~ wmene$ rvm remove 1.8.7 | |
Removing /Users/wmene/.rvm/src/ruby-1.8.7-p371... | |
Removing /Users/wmene/.rvm/rubies/ruby-1.8.7-p371... | |
Removing ruby-1.8.7-p371 aliases... | |
Removing ruby-1.8.7-p371 wrappers... | |
Removing ruby-1.8.7-p371 environments... | |
Removing ruby-1.8.7-p371 binaries... | |
sul-wmene-mac:~ wmene$ rvm install 1.8.7 --debug | |
1.8.7 - install | |
Searching for binary rubies, this might take some time. | |
Remote file does not exist https://rvm.io/binaries/osx/10.7/x86_64/ruby-1.8.7-p371.tar.bz2 | |
Remote file does not exist http://jruby.org.s3.amazonaws.com/downloads/ruby-1.8.7-p371.tar.bz2 | |
Remote file does not exist http://binaries.rubini.us/osx/10.7/x86_64/ruby-1.8.7-p371.tar.bz2 | |
rvm_remote_server_url3 not found | |
No remote file name found | |
No binary rubies available for: osx/10.7/x86_64/ruby-1.8.7-p371. | |
Continuing with compilation. Please read 'rvm mount' to get more information on binary rubies. | |
__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_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/1368035842_extract.log | |
[2013-05-08 10:57:22] __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 'default'. | |
Patch name 'default'. | |
Patch expanded_name 'stdout-rouge-fix'. | |
Patch expanded_name 'no_sslv2'. | |
All found patches(2): stdout-rouge-fix no_sslv2. | |
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/1368035843_patch.apply.stdout-rouge-fix.log | |
[2013-05-08 10:57:23] 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/1368035844_patch.apply.no_sslv2.log | |
[2013-05-08 10:57:24] 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" | |
Log file: /Users/wmene/.rvm/log/ruby-1.8.7-p371/1368035844_configure.log | |
[2013-05-08 10:57:24] ./configure | |
current path: /Users/wmene/.rvm/src/ruby-1.8.7-p371 | |
command(9): 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 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 ./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/1368035854_make.log | |
[2013-05-08 10:57:34] 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/1368035880_install.log | |
[2013-05-08 10:58:00] 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/1368035884_rubygems.extract.log | |
[2013-05-08 10:58:04] __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/1368035884_rubygems.install.log | |
[2013-05-08 10:58:04] /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/1368035885_chmod.bin.log | |
[2013-05-08 10:58:05] 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/1368035885_gemsets.initial.log | |
[2013-05-08 10:58:05] __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 ] | |
# Default ruby not set. Try 'rvm alias create default <ruby>'. | |
# => - current | |
# =* - current && default | |
# * - default |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment