{"issue":{"milestone":null,"title":"Unable to install rubies","created_at":"2011-12-01T17:51:06Z","user":{"login":"rickthomasjr","id":516470,"url":"https://api.github.com/users/rickthomasjr","gravatar_id":"2f0146120cc56beba561307c24665098","avatar_url":"https://secure.gravatar.com/avatar/2f0146120cc56beba561307c24665098?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"labels":[],"updated_at":"2011-12-29T20:40:18Z","state":"closed","id":2417573,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"closed_at":"2011-12-29T20:40:18Z","html_url":"https://github.com/wayneeseguin/rvm/issues/626","body":"I recently started having all sorts of problems with ruby on my mbp, so I decided to get a clean slate.  I imploded rvm.  Next,  I (erroneously) installed xCode 4.2, and obviously had all sorts of problems.   I've removed that using this command: sudo /Developer/Library/uninstall-devtools --mode=all.\r\n\r\nThen, I installed the version of xcode (4.1) linked in rvm requirements command.\r\n\r\n\r\nruby-1.9.2-p290 - #fetching \r\nruby-1.9.2-p290 - #extracted to /Users/rickthomas/.rvm/src/ruby-1.9.2-p290 (already extracted)\r\nFetching yaml-0.1.4.tar.gz to /Users/rickthomas/.rvm/archives\r\nExtracting yaml-0.1.4.tar.gz to /Users/rickthomas/.rvm/src\r\nConfiguring yaml in /Users/rickthomas/.rvm/src/yaml-0.1.4.\r\nERROR: Error running ' ./configure --prefix=\"/Users/rickthomas/.rvm/usr\"  ', please read /Users/rickthomas/.rvm/log/ruby-1.9.2-p290/yaml/configure.log\r\nCompiling yaml in /Users/rickthomas/.rvm/src/yaml-0.1.4.\r\nERROR: Error running 'make ', please read /Users/rickthomas/.rvm/log/ruby-1.9.2-p290/yaml/make.log\r\nInstalling yaml to /Users/rickthomas/.rvm/usr\r\nERROR: Error running 'make install', please read /Users/rickthomas/.rvm/log/ruby-1.9.2-p290/yaml/make.install.log\r\nruby-1.9.2-p290 - #configuring \r\nERROR: Error running ' ./configure --prefix=/Users/rickthomas/.rvm/rubies/ruby-1.9.2-p290 --enable-shared --disable-install-doc --with-libyaml-dir=/Users/rickthomas/.rvm/usr ', please read /Users/rickthomas/.rvm/log/ruby-1.9.2-p290/configure.log\r\nERROR: There has been an error while running configure. Halting the installation.\r\n\r\nConfig.log contains (I believe this is the important part):\r\n## ----------- ##\r\n## Core tests. ##\r\n## ----------- ##\r\n\r\nconfigure:2409: checking for a BSD-compatible install\r\nconfigure:2477: result: /usr/bin/install -c\r\nconfigure:2488: checking whether build environment is sane\r\nconfigure:2538: result: yes\r\nconfigure:2679: checking for a thread-safe mkdir -p\r\nconfigure:2718: result: config/install-sh -c -d\r\nconfigure:2731: checking for gawk\r\nconfigure:2761: result: no\r\nconfigure:2731: checking for mawk\r\nconfigure:2761: result: no\r\nconfigure:2731: checking for nawk\r\nconfigure:2761: result: no\r\nconfigure:2731: checking for awk\r\nconfigure:2747: found /usr/bin/awk\r\nconfigure:2758: result: awk\r\nconfigure:2769: checking whether make sets $(MAKE)\r\nconfigure:2791: result: yes\r\nconfigure:2947: checking for gcc\r\nconfigure:2974: result: /usr/bin/gcc-4.2\r\nconfigure:3203: checking for C compiler version\r\nconfigure:3212: /usr/bin/gcc-4.2 --version >&5\r\ni686-apple-darwin11-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot 3)\r\nCopyright (C) 2007 Free Software Foundation, Inc.\r\nThis is free software; see the source for copying conditions.  There is NO\r\nwarranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\r\n\r\nconfigure:3223: $? = 0\r\nconfigure:3212: /usr/bin/gcc-4.2 -v >&5\r\nUsing built-in specs.\r\nTarget: i686-apple-darwin11\r\nConfigured with: /private/var/tmp/gcc/gcc-5666.3~278/src/configure --disable-checking --enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/include/c++/4.2.1\r\nThread model: posix\r\ngcc version 4.2.1 (Apple Inc. build 5666) (dot 3)\r\nconfigure:3223: $? = 0\r\nconfigure:3212: /usr/bin/gcc-4.2 -V >&5\r\ngcc-4.2: argument to `-V' is missing\r\nconfigure:3223: $? = 1\r\nconfigure:3212: /usr/bin/gcc-4.2 -qversion >&5\r\ni686-apple-darwin11-gcc-4.2.1: no input files\r\nconfigure:3223: $? = 1\r\nconfigure:3243: checking whether the C compiler works\r\nconfigure:3265: /usr/bin/gcc-4.2 -isysroot /Developer/SDKs/MacOSX10.7.sdk arch x86_64  -Wl,-syslibroot /Developer/SDKs/MacOSX10.7.sdk arch x86_64 conftest.c  >&5\r\ni686-apple-darwin11-gcc-4.2.1: arch: No such file or directory\r\ni686-apple-darwin11-gcc-4.2.1: x86_64: No such file or directory\r\ni686-apple-darwin11-gcc-4.2.1: arch: No such file or directory\r\ni686-apple-darwin11-gcc-4.2.1: x86_64: No such file or directory\r\nconfigure:3269: $? = 1\r\nconfigure:3307: result: no\r\nconfigure: failed program was:\r\n| /* confdefs.h */\r\n| #define PACKAGE_NAME \"yaml\"\r\n| #define PACKAGE_TARNAME \"yaml\"\r\n| #define PACKAGE_VERSION \"0.1.4\"\r\n| #define PACKAGE_STRING \"yaml 0.1.4\"\r\n| #define PACKAGE_BUGREPORT \"http://pyyaml.org/newticket?component=libyaml\"\r\n| #define PACKAGE_URL \"\"\r\n| #define PACKAGE \"yaml\"\r\n| #define VERSION \"0.1.4\"\r\n| #define YAML_VERSION_MAJOR 0\r\n| #define YAML_VERSION_MINOR 1\r\n| #define YAML_VERSION_PATCH 4\r\n| #define YAML_VERSION_STRING \"0.1.4\"\r\n| /* end confdefs.h.  */\r\n| \r\n| int\r\n| main ()\r\n| {\r\n| \r\n|   ;\r\n|   return 0;\r\n| }\r\nconfigure:3312: error: in `/Users/rickthomas/.rvm/src/yaml-0.1.4':\r\nconfigure:3314: error: C compiler cannot create executables\r\nSee `config.log' for more details\r\n\r\n\r\nPlease help!\r\n","number":626,"url":"https://api.github.com/repos/wayneeseguin/rvm/issues/626","comments":2,"assignee":{"login":"mpapis","id":48054,"url":"https://api.github.com/users/mpapis","gravatar_id":"3ec52ed58eb92026d86e62c39bdb7589","avatar_url":"https://secure.gravatar.com/avatar/3ec52ed58eb92026d86e62c39bdb7589?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"}},"comment":{"created_at":"2011-12-29T20:40:17Z","user":{"login":"mpapis","id":48054,"url":"https://api.github.com/users/mpapis","gravatar_id":"3ec52ed58eb92026d86e62c39bdb7589","avatar_url":"https://secure.gravatar.com/avatar/3ec52ed58eb92026d86e62c39bdb7589?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"updated_at":"2011-12-29T20:40:17Z","id":3304970,"body":"some parts of rvm related to this ticket have been reworked, please install using\r\n\r\n    rvm get head\r\n    rvm reinstall ruby-1.9.2-p290\r\n\r\nI will close this issue as for no response in few weeks, feel free to ask and I will reopen if the problem persists","url":"https://api.github.com/repos/wayneeseguin/rvm/issues/comments/3304970"},"action":"created"}