Skip to content

Instantly share code, notes, and snippets.

@lassebunk
Created April 10, 2012 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lassebunk/2350467 to your computer and use it in GitHub Desktop.
Save lassebunk/2350467 to your computer and use it in GitHub Desktop.
➜ ~ sudo rvm install 1.9.2
Password:
Fetching yaml-0.1.4.tar.gz to /Users/lassebunk/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/lassebunk/.rvm/src
Configuring yaml in /Users/lassebunk/.rvm/src/yaml-0.1.4.
Compiling yaml in /Users/lassebunk/.rvm/src/yaml-0.1.4.
Installing yaml to /Users/lassebunk/.rvm/usr
gcc-4.2: error trying to exec '/usr/bin/i686-apple-darwin11-gcc-4.2.1': execvp: No such file or directory
Installing Ruby from source to: /Users/lassebunk/.rvm/rubies/ruby-1.9.2-p318, this may take a while depending on your cpu(s)...
ruby-1.9.2-p318 - #fetching
ruby-1.9.2-p318 - #extracted to /Users/lassebunk/.rvm/src/ruby-1.9.2-p318 (already extracted)
ruby-1.9.2-p318 - #configuring
Error running ' ./configure --prefix=/Users/lassebunk/.rvm/rubies/ruby-1.9.2-p318 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/lassebunk/.rvm/usr ', please read /Users/lassebunk/.rvm/log/ruby-1.9.2-p318/configure.log
There has been an error while running configure. Halting the installation.
gcc-4.2: error trying to exec '/usr/bin/i686-apple-darwin11-gcc-4.2.1': execvp: No such file or directory
ls: /Users/lassebunk/.rvm/rubies/*/bin/ruby: No such file or directory
➜ ~ cat /Users/lassebunk/.rvm/log/ruby-1.9.2-p318/configure.log
[2012-04-10 12:13:26] ./configure --prefix=/Users/lassebunk/.rvm/rubies/ruby-1.9.2-p318 --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/lassebunk/.rvm/usr
configure: WARNING: unrecognized options: --with-libyaml
checking build system type... i386-apple-darwin11.3.0
checking host system type... i386-apple-darwin11.3.0
checking target system type... i386-apple-darwin11.3.0
checking whether the C compiler works... no
configure: error: in `/Users/lassebunk/.rvm/src/ruby-1.9.2-p318':
configure: error: C compiler cannot create executables
See `config.log' for more details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment