Skip to content

Instantly share code, notes, and snippets.

@pcmantz
Created March 20, 2012 18:00
Show Gist options
  • Save pcmantz/2138775 to your computer and use it in GitHub Desktop.
Save pcmantz/2138775 to your computer and use it in GitHub Desktop.
86-apple-darwin11-llvm-gcc-4.2: -E or -x required when input is from standard input
pmantz@interzone:~$ clear
pmantz@interzone:~$ gcc -v
Using built-in specs.
Target: i686-apple-darwin11
Configured with: /private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/src/configure --disable-checking --enable-werror --prefix=/Developer/usr/llvm-gcc-4.2 --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-prefix=llvm- --program-transform-name=/^[cg][^.-]*$/s/$/-4.2/ --with-slibdir=/usr/lib --build=i686-apple-darwin11 --enable-llvm=/private/var/tmp/llvmgcc42/llvmgcc42-2335.15~25/dst-llvmCore/Developer/usr/local --program-prefix=i686-apple-darwin11- --host=x86_64-apple-darwin11 --target=i686-apple-darwin11 --with-gxx-include-dir=/usr/include/c++/4.2.1
Thread model: posix
gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)
pmantz@interzone:~$ gcc-4.2 -v
Using built-in specs.
Target: i686-apple-darwin11
Configured 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
Thread model: posix
gcc version 4.2.1 (Apple Inc. build 5666) (dot 3)
pmantz@interzone:~$ rvm install 1.9.2 --with-gcc="gcc-4.2"
Fetching yaml-0.1.4.tar.gz to /Users/pmantz/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/pmantz/.rvm/src
Configuring yaml in /Users/pmantz/.rvm/src/yaml-0.1.4.
Compiling yaml in /Users/pmantz/.rvm/src/yaml-0.1.4.
Installing yaml to /Users/pmantz/.rvm/usr
Installing Ruby from source to: /Users/pmantz/.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 - #extracting ruby-1.9.2-p318 to /Users/pmantz/.rvm/src/ruby-1.9.2-p318
mv: rename /Users/pmantz/.rvm/tmp/rvm_src_78370/\033[34mruby-1.9.2-p318\033[39;49m\033[0m to /Users/pmantz/.rvm/src/ruby-1.9.2-p318: No such file or directory
ruby-1.9.2-p318 - #extracted to /Users/pmantz/.rvm/src/ruby-1.9.2-p318
/Users/pmantz/.rvm/scripts/functions/manage/base: line 117: cd: /Users/pmantz/.rvm/src/ruby-1.9.2-p318: No such file or directory
Source directory is missing.
Did the download or extraction fail?
Halting the installation.
pmantz@interzone:~$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment