Created
January 12, 2012 19:20
-
-
Save lsegal/1602493 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~$ ~/.rvm/bin/rvm install ruby-1.9.3 --with-gcc=clang | |
Fetching yaml-0.1.4.tar.gz to /Users/loren/.rvm/archives | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 460k 100 460k 0 0 125k 0 0:00:03 0:00:03 --:--:-- 135k | |
Extracting yaml-0.1.4.tar.gz to /Users/loren/.rvm/src | |
Configuring yaml in /Users/loren/.rvm/src/yaml-0.1.4. | |
Compiling yaml in /Users/loren/.rvm/src/yaml-0.1.4. | |
Installing yaml to /Users/loren/.rvm/usr | |
Installing Ruby from source to: /Users/loren/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)... | |
ruby-1.9.3-p0 - #fetching | |
ruby-1.9.3-p0 - #downloading ruby-1.9.3-p0, this may take a while depending on your connection... | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 9330k 100 9330k 0 0 247k 0 0:00:37 0:00:37 --:--:-- 282k | |
ruby-1.9.3-p0 - #extracting ruby-1.9.3-p0 to /Users/loren/.rvm/src/ruby-1.9.3-p0 | |
ruby-1.9.3-p0 - #extracted to /Users/loren/.rvm/src/ruby-1.9.3-p0 | |
ruby-1.9.3-p0 - #configuring | |
ruby-1.9.3-p0 - #compiling | |
ERROR: Error running 'make ', please read /Users/loren/.rvm/log/ruby-1.9.3-p0/make.log | |
ERROR: There has been an error while running make. Halting the installation. | |
~$ cat /Users/loren/.rvm/log/ruby-1.9.3-p0/make.log | |
[2012-01-12 14:12:34] make | |
CC = clang | |
LD = ld | |
LDSHARED = clang -dynamiclib | |
CFLAGS = -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe | |
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT | |
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I. | |
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name /Users/loren/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.1.9.1.dylib -current_version 1.9.1 -compatibility_version 1.9.1 -Wl,-unexported_symbol,_Init_* -Wl,-unexported_symbol,*_threadptr_* -Wl,-u,_objc_msgSend | |
SOLIBS = | |
compiling main.c | |
compiling dmydln.c | |
compiling dmyencoding.c | |
compiling version.c | |
compiling dmyversion.c | |
compiling miniprelude.c | |
compiling array.c | |
compiling bignum.c | |
compiling class.c | |
compiling compar.c | |
compiling complex.c | |
compiling dir.c | |
compiling dln_find.c | |
compiling enum.c | |
compiling enumerator.c | |
compiling error.c | |
compiling eval.c | |
compiling load.c | |
compiling proc.c | |
compiling file.c | |
compiling gc.c | |
compiling hash.c | |
compiling inits.c | |
compiling io.c | |
compiling marshal.c | |
compiling math.c | |
compiling node.c | |
compiling numeric.c | |
compiling object.c | |
compiling pack.c | |
compiling parse.c | |
compiling process.c | |
compiling random.c | |
compiling range.c | |
compiling rational.c | |
compiling re.c | |
compiling regcomp.c | |
compiling regenc.c | |
compiling regerror.c | |
compiling regexec.c | |
compiling regparse.c | |
compiling regsyntax.c | |
compiling ruby.c | |
compiling safe.c | |
compiling signal.c | |
compiling sprintf.c | |
compiling st.c | |
compiling strftime.c | |
compiling string.c | |
compiling struct.c | |
compiling time.c | |
compiling transcode.c | |
compiling util.c | |
compiling variable.c | |
compiling compile.c | |
compiling debug.c | |
compiling iseq.c | |
compiling vm.c | |
compiling vm_dump.c | |
compiling thread.c | |
compiling cont.c | |
compiling ./enc/ascii.c | |
compiling ./enc/us_ascii.c | |
compiling ./enc/unicode.c | |
compiling ./enc/utf_8.c | |
compiling newline.c | |
compiling ./missing/setproctitle.c | |
compiling dmyext.c | |
linking miniruby | |
<internal:prelude>:1: [BUG] Bus Error | |
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.0.0] | |
-- Control frame information ----------------------------------------------- | |
c:0003 p:0002 s:0006 b:0006 l:000005 d:000005 TOP <internal:prelude>:1 | |
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH | |
c:0001 p:0000 s:0002 b:0002 l:0005c8 d:0005c8 TOP | |
-- Ruby level backtrace information ---------------------------------------- | |
<internal:prelude>:1:in `<compiled>' | |
-- C level backtrace information ------------------------------------------- | |
See Crash Report log file under ~/Library/Logs/CrashReporter or | |
/Library/Logs/CrashReporter, for the more detail of. | |
-- Other runtime information ----------------------------------------------- | |
* Loaded script: ./miniruby | |
* Loaded features: | |
0 enumerator.so | |
[NOTE] | |
You may have encountered a bug in the Ruby interpreter or extension libraries. | |
Bug reports are welcome. | |
For details: http://www.ruby-lang.org/bugreport.html | |
make: *** [.rbconfig.time] Abort trap: 6 | |
~$ ~/.rvm/bin/rvm install ruby-1.9.3 | |
Fetching yaml-0.1.4.tar.gz to /Users/loren/.rvm/archives | |
Extracting yaml-0.1.4.tar.gz to /Users/loren/.rvm/src | |
Configuring yaml in /Users/loren/.rvm/src/yaml-0.1.4. | |
Compiling yaml in /Users/loren/.rvm/src/yaml-0.1.4. | |
Installing yaml to /Users/loren/.rvm/usr | |
Installing Ruby from source to: /Users/loren/.rvm/rubies/ruby-1.9.3-p0, this may take a while depending on your cpu(s)... | |
ruby-1.9.3-p0 - #fetching | |
ruby-1.9.3-p0 - #extracted to /Users/loren/.rvm/src/ruby-1.9.3-p0 (already extracted) | |
ruby-1.9.3-p0 - #configuring | |
ruby-1.9.3-p0 - #compiling | |
ruby-1.9.3-p0 - #installing | |
Retrieving rubygems-1.8.10 | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 243k 100 243k 0 0 337k 0 --:--:-- --:--:-- --:--:-- 899k | |
Extracting rubygems-1.8.10 ... | |
Removing old Rubygems files... | |
Installing rubygems-1.8.10 for ruby-1.9.3-p0 ... | |
Installation of rubygems completed successfully. | |
ruby-1.9.3-p0 - adjusting #shebangs for (gem irb erb ri rdoc testrb rake). | |
ruby-1.9.3-p0 - #importing default gemsets (/Users/loren/.rvm/gemsets/) | |
Install of ruby-1.9.3-p0 - #complete | |
~$ cat /Users/loren/.rvm/log/ruby-1.9.3-p0/make.log | |
[2012-01-12 14:14:58] make | |
CC = /usr/bin/gcc-4.2 | |
LD = ld | |
LDSHARED = /usr/bin/gcc-4.2 -dynamiclib | |
CFLAGS = -O3 -ggdb -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Werror=pointer-arith -Werror=write-strings -Werror=declaration-after-statement -Werror=shorten-64-to-32 -Werror=implicit-function-declaration -fno-common -pipe | |
XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT | |
CPPFLAGS = -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -I. -I.ext/include/x86_64-darwin11.0.0 -I./include -I. | |
DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -Wl,-flat_namespace -install_name /Users/loren/.rvm/rubies/ruby-1.9.3-p0/lib/libruby.1.9.1.dylib -current_version 1.9.1 -compatibility_version 1.9.1 -Wl,-unexported_symbol,_Init_* -Wl,-unexported_symbol,*_threadptr_* -Wl,-u,_objc_msgSend | |
SOLIBS = | |
compiling main.c | |
compiling dmydln.c | |
compiling dmyencoding.c | |
compiling version.c | |
compiling dmyversion.c | |
compiling miniprelude.c | |
compiling array.c | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment