Created
November 22, 2012 12:37
-
-
Save randyinla/4130977 to your computer and use it in GitHub Desktop.
Ruby 2.0 & rubygems-1.8.24 install as 64bit, need 32bit, but still getting openssl error: removed some options from .rvmrc file
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
RVM COMMAND AND OUTPUT: Log & .rvmrc files at bottom... | |
note: since I removed some flags/arch options from .rvmrc, Ruby installed as 64bit instead of 32. grrrrrrr | |
---------------------------------------------- | |
$ rvm cleanup sources && rvm uninstall ruby-2.0.0-preview1 && rvm --debug install ruby-2.0.0-preview1 --patch $rvm_path/patches/ruby/1.9.3/p125/osx-arch-fix.patch --movable | |
Cleaning up rvm sources | |
Cleanup done. | |
Removing /Users/randy/.rvm/src/ruby-2.0.0-preview1... | |
Removing /Users/randy/.rvm/rubies/ruby-2.0.0-preview1... | |
ruby-2.0.0-preview1 - install | |
Fetching yaml-0.1.4.tar.gz to /Users/randy/.rvm/archives | |
Fetching: https://rvm.io/src/yaml-0.1.4.tar.gz | |
Fetch command: curl -f -L --create-dirs -C - -o yaml-0.1.4.tar.gz | |
Archive checksum matched, not downloading | |
Downloaded archive checksum matched. | |
Extracting yaml to /Users/randy/.rvm/src/yaml-0.1.4 | |
Configuring yaml in /Users/randy/.rvm/src/yaml-0.1.4. | |
Compiling yaml in /Users/randy/.rvm/src/yaml-0.1.4. | |
Installing yaml to /Users/randy/.rvm/rubies/ruby-2.0.0-preview1 | |
rvm_configure_flags+=( --with-opt-dir=/Users/randy/.rvm/rubies/ruby-2.0.0-preview1 ) | |
Fetching openssl-1.0.1c.tar.gz to /Users/randy/.rvm/archives | |
Fetching: http://www.openssl.org/source/openssl-1.0.1c.tar.gz | |
Fetch command: curl -f -L --create-dirs -C - -o openssl-1.0.1c.tar.gz | |
Archive checksum matched, not downloading | |
Downloaded archive checksum matched. | |
Extracting openssl to /Users/randy/.rvm/src/openssl-1.0.1c | |
Configuring openssl in /Users/randy/.rvm/src/openssl-1.0.1c. | |
Error running './Configure darwin64-x86_64-cc -I/Users/randy/.rvm/usr/include -L/Users/randy/.rvm/usr/lib zlib no-asm no-krb5 shared --prefix=/Users/randy/.rvm/rubies/ruby-2.0.0-preview1 --enable-shared --enable-load-relative --sysconfdir=/etc --with-opt-dir=/Users/randy/.rvm/rubies/ruby-2.0.0-preview1', please read /Users/randy/.rvm/log/ruby-2.0.0-preview1/openssl/configure.log | |
Compiling openssl in /Users/randy/.rvm/src/openssl-1.0.1c. | |
Installing openssl to /Users/randy/.rvm/rubies/ruby-2.0.0-preview1 | |
Updating openssl certificates | |
rvm_configure_flags+=( --with-opt-dir=/Users/randy/.rvm/rubies/ruby-2.0.0-preview1 ) | |
found compiler: /usr/local/bin/gcc-4.2 | |
Installing Ruby from source to: /Users/randy/.rvm/rubies/ruby-2.0.0-preview1, this may take a while depending on your cpu(s)... | |
ruby-2.0.0-preview1 - #downloading ruby-2.0.0-preview1, this may take a while depending on your connection... | |
ruby-2.0.0-preview1 - #extracting ruby-2.0.0-preview1 to /Users/randy/.rvm/src/ruby-2.0.0-preview1 | |
ruby-2.0.0-preview1 - #extracted to /Users/randy/.rvm/src/ruby-2.0.0-preview1 | |
Trying patch '/Users/randy/.rvm/patches/ruby/1.9.3/p125/osx-arch-fix.patch'. | |
Patch name '/Users/randy/.rvm/patches/ruby/1.9.3/p125/osx-arch-fix.patch'. | |
Patch expanded_name '/Users/randy/.rvm/patches/ruby/1.9.3/p125/osx-arch-fix.patch%1'. | |
Trying patch 'default'. | |
Patch name 'default'. | |
All found patches(1): /Users/randy/.rvm/patches/ruby/1.9.3/p125/osx-arch-fix.patch%1. | |
Patch full path '//Users/randy/.rvm/patches/ruby/1.9.3/p125/osx-arch-fix.patch'. | |
Applying patch //Users/randy/.rvm/patches/ruby/1.9.3/p125/osx-arch-fix.patch | |
ruby-2.0.0-preview1 - #configuring | |
ruby-2.0.0-preview1 - #compiling | |
ruby-2.0.0-preview1 - #installing | |
Removing old Rubygems files... | |
Installing rubygems-1.8.24 for ruby-2.0.0-preview1 ... | |
Installation of rubygems completed successfully. | |
Saving wrappers to '/Users/randy/.rvm/bin'. | |
ruby-2.0.0-preview1 - #adjusting #shebangs for (gem irb erb ri rdoc testrb rake). | |
ruby-2.0.0-preview1 - #importing default gemsets (/Users/randy/.rvm/gemsets/), this may take time ... | |
Executing: '/Users/randy/.rvm/scripts/gemsets' initial in environment ruby-2.0.0-preview1 | |
Install of ruby-2.0.0-preview1 - #complete | |
fix osx dependencies | |
Running /Users/randy/.rvm/hooks/after_install_codesign | |
/Users/randy/.rvm/log/ruby-2.0.0-preview1/openssl/configure.log: | |
---------------------------------------------------------------- | |
[2012-11-22 04:24:12] ./Configure darwin64-x86_64-cc -I/Users/randy/.rvm/usr/include -L/Users/randy/.rvm/usr/lib zlib no-asm no-krb5 shared --prefix=/Users/randy/.rvm/rubies/ruby-2.0.0-preview1 --enable-shared --enable-load-relative --sysconfdir=/etc --with-opt-dir=/Users/randy/.rvm/rubies/ruby-2.0.0-preview1 | |
current path: /Users/randy/.rvm/src/openssl-1.0.1c | |
command(13): ./Configure darwin64-x86_64-cc -I/Users/randy/.rvm/usr/include -L/Users/randy/.rvm/usr/lib zlib no-asm no-krb5 shared --prefix=/Users/randy/.rvm/rubies/ruby-2.0.0-preview1 --enable-shared --enable-load-relative --sysconfdir=/etc --with-opt-dir=/Users/randy/.rvm/rubies/ruby-2.0.0-preview1 | |
Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [experimental-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-dso] [no-krb5] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity] os/compiler[:flags] | |
.rvmrc file: | |
--------------------------------------------------------------- | |
export rvm_path='/Users/randy/.rvm' | |
export rvm_pretty_print_flag='1' | |
rvm_project_rvmrc=1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment