Skip to content

Instantly share code, notes, and snippets.

@alextoul
Created June 18, 2013 22:04
Show Gist options
  • Save alextoul/5809870 to your computer and use it in GitHub Desktop.
Save alextoul/5809870 to your computer and use it in GitHub Desktop.
alexs-mbp:~ alextoul$ pkgutil --pkg-info com.apple.pkg.DeveloperToolsCLI
No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'.
alexs-mbp:~ alextoul$ rvmsudo rvm fix-permissions user
Warning: can not check `/etc/sudoers` for `secure_path`, falling back to call via `/usr/bin/env`, this breaks rules from `/etc/sudoers`. export rvmsudo_secure_path=1 to avoid the warning.
alexs-mbp:~ alextoul$ 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/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/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/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=4
__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, openssl098.
PATH=/usr/local/opt/pkg-config/bin:/usr/local/opt/libtool/bin:/usr/local/opt/automake/bin:/usr/local/opt/autoconf/bin:/usr/local/heroku/bin:/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/Users/alextoul/src/amazonrds/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/Users/alextoul/.rvm/bin
__rvm_update_configure_env(1):CFLAGS=-I/usr/local/opt/libyaml/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/libyaml/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/openssl098/include:
__rvm_update_configure_env(1):LDFLAGS=-L/usr/local/opt/openssl098/lib:
Updating certificates in '/usr/local/etc/openssl/cert.pem'.
__rvm_setup_compile_environment_movable ruby-1.8.7-p371
__rvm_setup_compile_environment_osx_compiler ruby-1.8.7-p371
__rvm_setup_compile_environment_architectures ruby-1.8.7-p371
rvm_architectures(0):.
__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/alextoul/.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.
ruby-1.8.7-p371 - #extracted to /Users/alextoul/.rvm/src/ruby-1.8.7-p371 (already extracted)
Trying patch 'default'.
Patch name 'default'.
Patch expanded_name 'stdout-rouge-fix'.
Patch expanded_name 'no_sslv2'.
Trying patch 'osx'.
Patch name 'osx'.
All found patches(2): stdout-rouge-fix no_sslv2.
Patch full path '/Users/alextoul/.rvm/patches/ruby/1.8.7/stdout-rouge-fix.patch'.
Patch stdout-rouge-fix was already applied.
Patch full path '/Users/alextoul/.rvm/patches/ruby/1.8.7/no_sslv2.diff'.
Patch no_sslv2 was already applied.
__rvm_array_prepend_or_ignore rvm_configure_env CFLAGS="-O3 -I/usr/local/opt/libyaml/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/openssl098/include"
Log file: /Users/alextoul/.rvm/log/ruby-1.8.7-p371/1371592946_configure.log
tee: /Users/alextoul/.rvm/log/ruby-1.8.7-p371/1371592946_configure.log: Permission denied
[2013-06-18 15:02:26] ./configure
current path: /Users/alextoul/.rvm/src/ruby-1.8.7-p371
command(9): env CFLAGS=-O3 -I/usr/local/opt/libyaml/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/openssl098/include LDFLAGS=-L/usr/local/opt/libyaml/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/openssl098/lib ./configure --prefix=/Users/alextoul/.rvm/rubies/ruby-1.8.7-p371 --disable-install-doc --without-tcl --without-tk --enable-shared
tee: /Users/alextoul/.rvm/log/ruby-1.8.7-p371/1371592946_configure.log: Permission denied
ruby-1.8.7-p371 - #configuring...
Error running 'env CFLAGS=-O3 -I/usr/local/opt/libyaml/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/openssl098/include LDFLAGS=-L/usr/local/opt/libyaml/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/openssl098/lib ./configure --prefix=/Users/alextoul/.rvm/rubies/ruby-1.8.7-p371 --disable-install-doc --without-tcl --without-tk --enable-shared',
please read /Users/alextoul/.rvm/log/ruby-1.8.7-p371/1371592946_configure.log
There has been an error while running configure. Halting the installation.
__rvm_rm_rf already gone: /Users/alextoul/.rvm/tmp/5631*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment