Can't install ruby-debug #136

Closed
jarnold opened this Issue Dec 31, 2009 · 1 comment

Projects

None yet

2 participants

@jarnold
jarnold commented Dec 31, 2009

$ rbx -S gem install ruby-debug
Building native extensions. This could take a while...
ERROR: Error installing ruby-debug:
ERROR: Failed to build gem native extension.

/Users/joearnold/Code/rubinius/bin/rbx extconf.rb
creating Makefile

make
gcc -I. -I/Users/joearnold/Code/rubinius/vm/capi -I/Users/joearnold/Code/rubinius/vm/capi -I. -ggdb3 -O2 -c trace_nums.c
trace_nums.c:35:21: error: version.h: No such file or directory
trace_nums.c:36:18: error: node.h: No such file or directory
trace_nums.c:37:17: error: env.h: No such file or directory
trace_nums.c:38:21: error: rubysig.h: No such file or directory
trace_nums.c:42: error: syntax error before ‘’ token
trace_nums.c:42: warning: data definition has no type or storage class
trace_nums.c:53: error: syntax error before ‘NODE’
trace_nums.c:53: warning: no semicolon at end of struct or union
trace_nums.c:57: error: syntax error before ‘NODE’
trace_nums.c:57: warning: no semicolon at end of struct or union
trace_nums.c:58: warning: data definition has no type or storage class
trace_nums.c:63: error: syntax error before ‘
’ token
trace_nums.c:63: warning: data definition has no type or storage class
trace_nums.c:74: error: syntax error before ‘}’ token
trace_nums.c:93: error: syntax error before ‘NODE’
trace_nums.c: In function ‘ln_eval’:
trace_nums.c:94: error: ‘NODE’ undeclared (first use in this function)
trace_nums.c:94: error: (Each undeclared identifier is reported only once
trace_nums.c:94: error: for each function it appears in.)
trace_nums.c:94: error: syntax error before ‘volatile’
trace_nums.c:95: error: syntax error before ‘volatile’
trace_nums.c:105: error: ‘node’ undeclared (first use in this function)
trace_nums.c:108: error: ‘r’ undeclared (first use in this function)
trace_nums.c:113: error: ‘NODE_BLOCK’ undeclared (first use in this function)
trace_nums.c:115: error: ‘ary’ undeclared (first use in this function)
trace_nums.c:119: error: ‘NODE_POSTEXE’ undeclared (first use in this function)
trace_nums.c:129: error: ‘NODE_BEGIN’ undeclared (first use in this function)
trace_nums.c:135: error: ‘NODE_MATCH’ undeclared (first use in this function)
trace_nums.c:140: error: ‘NODE_MATCH2’ undeclared (first use in this function)
trace_nums.c:147: error: ‘NODE_MATCH3’ undeclared (first use in this function)
trace_nums.c:165: error: ‘NODE_OPT_N’ undeclared (first use in this function)
trace_nums.c:171: error: ‘NODE_SELF’ undeclared (first use in this function)
trace_nums.c:172: error: ‘NODE_NIL’ undeclared (first use in this function)
trace_nums.c:173: error: ‘NODE_TRUE’ undeclared (first use in this function)
trace_nums.c:174: error: ‘NODE_FALSE’ undeclared (first use in this function)
trace_nums.c:177: error: ‘NODE_IF’ undeclared (first use in this function)
trace_nums.c:193: error: ‘NODE_WHEN’ undeclared (first use in this function)
trace_nums.c:195: error: ‘orig_node’ undeclared (first use in this function)
trace_nums.c:197: error: ‘tag’ undeclared (first use in this function)
trace_nums.c:216: error: ‘NODE_CASE’ undeclared (first use in this function)
trace_nums.c:240: error: ‘NODE_WHILE’ undeclared (first use in this function)
trace_nums.c:241: error: ‘NODE_UNTIL’ undeclared (first use in this function)
trace_nums.c:249: error: ‘NODE_BLOCK_PASS’ undeclared (first use in this function)
trace_nums.c:255: error: ‘NODE_ITER’ undeclared (first use in this function)
trace_nums.c:256: error: ‘NODE_FOR’ undeclared (first use in this function)
trace_nums.c:258: error: syntax error before ‘)’ token
trace_nums.c:266: error: ‘NODE_BREAK’ undeclared (first use in this function)
trace_nums.c:266: error: case label not within a switch statement
trace_nums.c:269: error: break statement not within loop or switch
trace_nums.c:271: error: ‘NODE_NEXT’ undeclared (first use in this function)
trace_nums.c:271: error: case label not within a switch statement
trace_nums.c:275: error: break statement not within loop or switch
trace_nums.c:277: error: ‘NODE_REDO’ undeclared (first use in this function)
trace_nums.c:277: error: case label not within a switch statement
trace_nums.c:280: error: break statement not within loop or switch
trace_nums.c:282: error: ‘NODE_RETRY’ undeclared (first use in this function)
trace_nums.c:282: error: case label not within a switch statement
trace_nums.c:285: error: break statement not within loop or switch
trace_nums.c:287: error: ‘NODE_SPLAT’ undeclared (first use in this function)
trace_nums.c:287: error: case label not within a switch statement
trace_nums.c:290: error: break statement not within loop or switch
trace_nums.c:292: error: ‘NODE_TO_ARY’ undeclared (first use in this function)
trace_nums.c:292: error: case label not within a switch statement
trace_nums.c:295: error: break statement not within loop or switch
trace_nums.c:297: error: ‘NODE_SVALUE’ undeclared (first use in this function)
trace_nums.c:297: error: case label not within a switch statement
trace_nums.c:302: error: break statement not within loop or switch
trace_nums.c:304: error: ‘NODE_YIELD’ undeclared (first use in this function)
trace_nums.c:304: error: case label not within a switch statement
trace_nums.c:310: error: break statement not within loop or switch
trace_nums.c:312: error: ‘NODE_RESCUE’ undeclared (first use in this function)
trace_nums.c:312: error: case label not within a switch statement
trace_nums.c:317: error: break statement not within loop or switch
trace_nums.c:319: error: ‘NODE_ENSURE’ undeclared (first use in this function)
trace_nums.c:319: error: case label not within a switch statement
trace_nums.c:324: error: break statement not within loop or switch
trace_nums.c:326: error: ‘NODE_AND’ undeclared (first use in this function)
trace_nums.c:326: error: case label not within a switch statement
trace_nums.c:327: error: ‘NODE_OR’ undeclared (first use in this function)
trace_nums.c:327: error: case label not within a switch statement
trace_nums.c:330: error: break statement not within loop or switch
trace_nums.c:332: error: ‘NODE_NOT’ undeclared (first use in this function)
trace_nums.c:332: error: case label not within a switch statement
trace_nums.c:336: error: break statement not within loop or switch
trace_nums.c:338: error: ‘NODE_DOT2’ undeclared (first use in this function)
trace_nums.c:338: error: case label not within a switch statement
trace_nums.c:339: error: ‘NODE_DOT3’ undeclared (first use in this function)
trace_nums.c:339: error: case label not within a switch statement
trace_nums.c:340: error: ‘NODE_FLIP2’ undeclared (first use in this function)
trace_nums.c:340: error: case label not within a switch statement
trace_nums.c:341: error: ‘NODE_FLIP3’ undeclared (first use in this function)
trace_nums.c:341: error: case label not within a switch statement
trace_nums.c:344: error: break statement not within loop or switch
trace_nums.c:346: error: ‘NODE_RETURN’ undeclared (first use in this function)
trace_nums.c:346: error: case label not within a switch statement
trace_nums.c:349: error: break statement not within loop or switch
trace_nums.c:351: error: ‘NODE_ARGSCAT’ undeclared (first use in this function)
trace_nums.c:351: error: case label not within a switch statement
trace_nums.c:352: error: ‘NODE_ARGSPUSH’ undeclared (first use in this function)
trace_nums.c:352: error: case label not within a switch statement
trace_nums.c:355: error: break statement not within loop or switch
trace_nums.c:357: error: ‘NODE_ATTRASGN’ undeclared (first use in this function)
trace_nums.c:357: error: case label not within a switch statement
trace_nums.c:359: error: syntax error before ‘)’ token
trace_nums.c:105: error: label ‘finish’ used but not defined
trace_nums.c: At top level:
trace_nums.c:364: error: syntax error before ‘->’ token
trace_nums.c:364: error: conflicting types for ‘ln_eval’
trace_nums.c:93: error: previous definition of ‘ln_eval’ was here
trace_nums.c:364: warning: data definition has no type or storage class
trace_nums.c:389: error: syntax error before ‘->’ token
trace_nums.c:389: warning: data definition has no type or storage class
trace_nums.c:393: error: syntax error before ‘->’ token
trace_nums.c:393: warning: data definition has no type or storage class
trace_nums.c:398: error: syntax error before ‘->’ token
trace_nums.c:398: warning: data definition has no type or storage class
trace_nums.c:404: error: syntax error before ‘->’ token
trace_nums.c:404: warning: data definition has no type or storage class
trace_nums.c:414: error: syntax error before ‘->’ token
trace_nums.c:414: warning: data definition has no type or storage class
trace_nums.c:455: error: ‘node’ undeclared here (not in a function)
trace_nums.c:455: warning: data definition has no type or storage class
trace_nums.c:456: error: syntax error before ‘while’
trace_nums.c:458: error: redefinition of ‘list’
trace_nums.c:455: error: previous definition of ‘list’ was here
trace_nums.c:458: error: invalid type argument of ‘->’
trace_nums.c:458: warning: data definition has no type or storage class
trace_nums.c:459: error: syntax error before ‘if’
trace_nums.c:461: error: syntax error before ‘->’ token
trace_nums.c:461: warning: data definition has no type or storage class
trace_nums.c:462: error: redefinition of ‘list’
trace_nums.c:455: error: previous definition of ‘list’ was here
trace_nums.c:462: error: invalid type argument of ‘->’
trace_nums.c:462: warning: data definition has no type or storage class
trace_nums.c:463: error: syntax error before ‘}’ token
trace_nums.c:473: warning: data definition has no type or storage class
trace_nums.c:473: error: invalid type argument of ‘->’
trace_nums.c:473: error: syntax error before ‘)’ token
trace_nums.c:507: error: redefinition of ‘list’
trace_nums.c:455: error: previous definition of ‘list’ was here
trace_nums.c:507: error: invalid type argument of ‘->’
trace_nums.c:507: warning: data definition has no type or storage class
trace_nums.c:508: error: syntax error before ‘}’ token
trace_nums.c:529: error: syntax error before ‘->’ token
trace_nums.c:529: warning: data definition has no type or storage class
trace_nums.c:555: error: syntax error before ‘->’ token
trace_nums.c:555: warning: data definition has no type or storage class
trace_nums.c:564: error: syntax error before ‘->’ token
trace_nums.c:564: warning: data definition has no type or storage class
trace_nums.c:573: error: redefinition of ‘node’
trace_nums.c:473: error: previous definition of ‘node’ was here
trace_nums.c:573: error: invalid type argument of ‘->’
trace_nums.c:573: warning: data definition has no type or storage class
trace_nums.c:574: error: syntax error before ‘goto’
trace_nums.c:592: error: invalid type argument of ‘->’
trace_nums.c:592: warning: initialization makes integer from pointer without a cast
trace_nums.c:592: error: initializer element is not constant
trace_nums.c:592: warning: data definition has no type or storage class
trace_nums.c:592: error: syntax error before ‘}’ token
trace_nums.c:598: error: syntax error before ‘->’ token
trace_nums.c:598: warning: data definition has no type or storage class
trace_nums.c:607: error: redefinition of ‘data’
trace_nums.c:592: error: previous definition of ‘data’ was here
trace_nums.c:607: error: invalid type argument of ‘->’
trace_nums.c:607: warning: initialization makes integer from pointer without a cast
trace_nums.c:607: error: initializer element is not constant
trace_nums.c:607: warning: data definition has no type or storage class
trace_nums.c:607: error: syntax error before ‘}’ token
trace_nums.c:608: error: syntax error before ‘->’ token
trace_nums.c:608: warning: data definition has no type or storage class
trace_nums.c:638: error: syntax error before ‘->’ token
trace_nums.c:638: warning: data definition has no type or storage class
trace_nums.c:639: error: syntax error before ‘->’ token
trace_nums.c:639: warning: data definition has no type or storage class
trace_nums.c:663: warning: data definition has no type or storage class
trace_nums.c:664: error: syntax error before ‘goto’
trace_nums.c:668: error: syntax error before ‘-=’ token
trace_nums.c:669: error: syntax error before ‘sizeof’
trace_nums.c:669: error: conflicting types for ‘snprintf’
trace_nums.c:669: note: a parameter list with an ellipsis can’t match an empty parameter name list declaration
trace_nums.c:670: error: syntax error before string constant
trace_nums.c:670: error: conflicting types for ‘fprintf’
trace_nums.c:670: note: a parameter list with an ellipsis can’t match an empty parameter name list declaration
trace_nums.c:670: warning: data definition has no type or storage class
trace_nums.c: In function ‘lnums_for_str’:
trace_nums.c:679: error: ‘NODE’ undeclared (first use in this function)
trace_nums.c:682: error: ‘ruby_nerrs’ undeclared (first use in this function)
trace_nums.c:685: error: ‘rb_thread_critical’ undeclared (first use in this function)
trace_nums.c:690: error: ‘ruby_in_eval’ undeclared (first use in this function)
trace_nums.c:701: error: ‘ruby_errinfo’ undeclared (first use in this function)
make: *** [trace_nums.o] Error 1

Owner
evanphx commented Dec 31, 2009

The ruby-debug gem is unsupported and there is no way we can support it (it uses the MRI internals heavily)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment