Skip to content

Instantly share code, notes, and snippets.

@conradwt
Created February 18, 2012 23:40
Show Gist options
  • Save conradwt/1861330 to your computer and use it in GitHub Desktop.
Save conradwt/1861330 to your computer and use it in GitHub Desktop.
Ruby 1.9.3 fails to build on Mac OS 10.7.3
$ cat /Users/conradwt/.rvm/log/ruby-1.9.3-head/configure.log
[2012-02-18 15:35:02] ./configure --prefix=/Users/conradwt/.rvm/rubies/ruby-1.9.3-head --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/conradwt/.rvm/usr --with-baseruby=/Users/conradwt/.rvm/wrappers/ruby-1.8.7-p357/ruby
configure: WARNING: unrecognized options: --with-libyaml
checking build system type... x86_64-apple-darwin11.3.0
checking host system type... x86_64-apple-darwin11.3.0
checking target system type... x86_64-apple-darwin11.3.0
checking whether the C compiler works... no
configure: error: in `/Users/conradwt/.rvm/src/ruby-1.9.3-head':
configure: error: C compiler cannot create executables
See `config.log' for more details
$ rvm -v
rvm 1.10.2 by Wayne E. Seguin <[email protected]>, Michal Papis <[email protected]> [https://rvm.beginrescueend.com/]
$ rvm install 1.9.3-head
Fetching yaml-0.1.4.tar.gz to /Users/conradwt/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/conradwt/.rvm/src
Configuring yaml in /Users/conradwt/.rvm/src/yaml-0.1.4.
Compiling yaml in /Users/conradwt/.rvm/src/yaml-0.1.4.
Installing yaml to /Users/conradwt/.rvm/usr
Installing Ruby from source to: /Users/conradwt/.rvm/rubies/ruby-1.9.3-head, this may take a while depending on your cpu(s)...
ruby-1.9.3-head - #fetching
HEAD is now at d8168de merge revision(s) 34652:
From git://github.com/ruby/ruby
* branch ruby_1_9_3 -> FETCH_HEAD
Current branch ruby_1_9_3 is up to date.
Copying from repo to src path...
ruby-1.9.3-head - #autoreconf
ruby-1.9.3-head - #configuring
Error running ' ./configure --prefix=/Users/conradwt/.rvm/rubies/ruby-1.9.3-head --enable-shared --disable-install-doc --with-libyaml --with-opt-dir=/Users/conradwt/.rvm/usr --with-baseruby=/Users/conradwt/.rvm/wrappers/ruby-1.8.7-p357/ruby', please read /Users/conradwt/.rvm/log/ruby-1.9.3-head/configure.log
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