Skip to content

Instantly share code, notes, and snippets.

@tdelam
Created April 30, 2014 16:22
Show Gist options
  • Save tdelam/2025bc9626fdedf60736 to your computer and use it in GitHub Desktop.
Save tdelam/2025bc9626fdedf60736 to your computer and use it in GitHub Desktop.
➜ src rvm install 1.9.3
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.9/x86_64/ruby-1.9.3-p545.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
==> Upgrading 3 outdated packages, with result:
libyaml 0.1.6, openssl 1.0.1g, readline 6.3.3
==> Upgrading libyaml
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/libyaml-0.1.6.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring libyaml-0.1.6.mavericks.bottle.tar.gz
🍺 /usr/local/Cellar/libyaml/0.1.6: 7 files, 348K
==> Upgrading openssl
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/openssl-1.0.1g.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring openssl-1.0.1g.mavericks.bottle.tar.gz
==> Caveats
A CA file has been bootstrapped using certificates from the system
keychain. To add additional certificates, place .pem files in
/usr/local/etc/openssl/certs
and run
/usr/local/opt/openssl/bin/c_rehash
This formula is keg-only, so it was not symlinked into /usr/local.
Mac OS X already provides this software and installing another version in
parallel can cause all kinds of trouble.
The OpenSSL provided by OS X is too old for some software.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/openssl/lib
CPPFLAGS: -I/usr/local/opt/openssl/include
==> Summary
🍺 /usr/local/Cellar/openssl/1.0.1g: 429 files, 15M
==> Upgrading readline
==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/readline-6.3.3.mavericks.bottle.tar.gz
######################################################################## 100.0%
==> Pouring readline-6.3.3.mavericks.bottle.tar.gz
==> Caveats
This formula is keg-only, so it was not symlinked into /usr/local.
OS X provides the BSD libedit library, which shadows libreadline.
In order to prevent conflicts when programs look for libreadline we are
defaulting this GNU Readline installation to keg-only.
Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:
LDFLAGS: -L/usr/local/opt/readline/lib
CPPFLAGS: -I/usr/local/opt/readline/include
==> Summary
🍺 /usr/local/Cellar/readline/6.3.3: 40 files, 2.1M
Certificates in '/usr/local/etc/openssl/cert.pem' already are up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/trevor/.rvm/rubies/ruby-1.9.3-p545, this may take a while depending on your cpu(s)...
ruby-1.9.3-p545 - #downloading ruby-1.9.3-p545, this may take a while depending on your connection...
ruby-1.9.3-p545 - #extracting ruby-1.9.3-p545 to /Users/trevor/.rvm/src/ruby-1.9.3-p545 - please wait
ruby-1.9.3-p545 - #applying patch /Users/trevor/.rvm/patches/ruby/GH-488.patch - please wait
ruby-1.9.3-p545 - #configuring - please wait
Error running './configure --prefix=/Users/trevor/.rvm/rubies/ruby-1.9.3-p545 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl --without-tcl --without-tk --disable-install-doc --enable-shared',
showing last 15 lines of /Users/trevor/.rvm/log/1398874739_ruby-1.9.3-p545/configure.log
configure: WARNING: unrecognized options: --without-tcl, --without-tk
checking build system type... x86_64-apple-darwin13.1.0
checking host system type... x86_64-apple-darwin13.1.0
checking target system type... x86_64-apple-darwin13.1.0
checking whether the C compiler works... no
configure: error: in `/Users/trevor/.rvm/src/ruby-1.9.3-p545':
configure: error: C compiler cannot create executables
See `config.log' for more details
There has been an error while running configure. Halting the installation.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment