Linecache will not compile #282

Closed
brynary opened this Issue May 13, 2010 · 3 comments

3 participants

@brynary
Rubinius member

Expected:

$ gem install linecache
Building native extensions.  This could take a while...
Successfully installed linecache-0.43
1 gem installed

My system:

$ uname -a
Darwin Bryan-Helmkamps-MacBook-Pro.local 10.3.1 Darwin Kernel Version 10.3.1: Mon Mar 22 15:13:15 PDT 2010; root:xnu-1504.3.52~1/RELEASE_I386 i386

$ ruby -v
rubinius 1.0.0-rc5 (1.8.7 release 2010-05-10 JI) [x86_64-apple-darwin10.3.1]

Actual:

[rbx-1.0.0] [15:01:45] $ gem install -V linecache
GET http://rubygems.org/latest_specs.4.8.gz
302 Found
GET http://production.s3.rubygems.org/latest_specs.4.8.gz
304 Not Modified
Calculating dependencies to also install...
Installing gem linecache-0.43
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/AUTHORS
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/COPYING
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/ChangeLog
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/NEWS
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/README
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/Rakefile
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/VERSION
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/ext/trace_nums.c
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/ext/trace_nums.h
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/ext/extconf.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/lib/tracelines.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/lib/linecache.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/rcov-bug.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/test-tracelines.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/test-lnum.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/test-linecache.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/parse-show.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/lnum-diag.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/for1.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/if6.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/comments1.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/if3.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/if5.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/begin3.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/end.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/case1.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/match.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/begin2.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/match3.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/case5.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/not-lit.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/match3a.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/if7.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/if4.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/case2.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/block2.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/begin1.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/def1.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/if1.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/class1.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/if2.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/block1.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/case3.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/each1.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/data/case4.rb
/Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/test/short-file
Building native extensions.  This could take a while...
ERROR:  Error installing linecache:
    ERROR: Failed to build gem native extension.

/Users/bhelmkamp/.rvm/rubies/rbx-1.0.0-rc5/bin/rbx extconf.rb
creating Makefile

make
gcc -I. -I/Users/bhelmkamp/.rvm/rubies/rbx-1.0.0-rc5/include -I/Users/bhelmkamp/.rvm/rubies/rbx-1.0.0-rc5/include -I.  -ggdb3 -O2 -fPIC  -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: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘*’ token
trace_nums.c:53: error: expected specifier-qualifier-list before ‘NODE’
trace_nums.c:57: error: expected specifier-qualifier-list before ‘NODE’
trace_nums.c:93: error: expected declaration specifiers or ‘...’ 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: expected expression before ‘volatile’
trace_nums.c:95: error: expected expression 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: too many arguments to function ‘ln_eval’
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:141: error: too many arguments to function ‘ln_eval’
trace_nums.c:142: error: too many arguments to function ‘ln_eval’
trace_nums.c:147: error: ‘NODE_MATCH3’ undeclared (first use in this function)
trace_nums.c:148: error: too many arguments to function ‘ln_eval’
trace_nums.c:149: error: too many arguments to function ‘ln_eval’
trace_nums.c:165: error: ‘NODE_OPT_N’ undeclared (first use in this function)
trace_nums.c:167: error: too many arguments to function ‘ln_eval’
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:179: error: too many arguments to function ‘ln_eval’
trace_nums.c:185: error: too many arguments to function ‘ln_eval’
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:204: error: too many arguments to function ‘ln_eval’
trace_nums.c:211: error: too many arguments to function ‘ln_eval’
trace_nums.c:216: error: ‘NODE_CASE’ undeclared (first use in this function)
trace_nums.c:217: error: too many arguments to function ‘ln_eval’
trace_nums.c:228: error: too many arguments to function ‘ln_eval’
trace_nums.c:232: error: too many arguments to function ‘ln_eval’
trace_nums.c:235: error: too many arguments to function ‘ln_eval’
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:243: error: too many arguments to function ‘ln_eval’
trace_nums.c:245: error: too many arguments to function ‘ln_eval’
trace_nums.c:249: error: ‘NODE_BLOCK_PASS’ undeclared (first use in this function)
trace_nums.c:251: error: too many arguments to function ‘ln_eval’
trace_nums.c:252: error: too many arguments to function ‘ln_eval’
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:257: error: too many arguments to function ‘ln_eval’
trace_nums.c:258: error: expected expression before ‘)’ token
trace_nums.c:261: error: too many arguments to function ‘ln_eval’
trace_nums.c:266: error: ‘NODE_BREAK’ undeclared (first use in this function)
trace_nums.c:268: error: too many arguments to function ‘ln_eval’
trace_nums.c:271: error: ‘NODE_NEXT’ undeclared (first use in this function)
trace_nums.c:274: error: too many arguments to function ‘ln_eval’
trace_nums.c:277: error: ‘NODE_REDO’ undeclared (first use in this function)
trace_nums.c:282: error: ‘NODE_RETRY’ undeclared (first use in this function)
trace_nums.c:287: error: ‘NODE_SPLAT’ undeclared (first use in this function)
trace_nums.c:289: error: too many arguments to function ‘ln_eval’
trace_nums.c:292: error: ‘NODE_TO_ARY’ undeclared (first use in this function)
trace_nums.c:294: error: too many arguments to function ‘ln_eval’
trace_nums.c:297: error: ‘NODE_SVALUE’ undeclared (first use in this function)
trace_nums.c:301: error: too many arguments to function ‘ln_eval’
trace_nums.c:304: error: ‘NODE_YIELD’ undeclared (first use in this function)
trace_nums.c:308: error: too many arguments to function ‘ln_eval’
trace_nums.c:312: error: ‘NODE_RESCUE’ undeclared (first use in this function)
trace_nums.c:314: error: too many arguments to function ‘ln_eval’
trace_nums.c:315: error: too many arguments to function ‘ln_eval’
trace_nums.c:316: error: too many arguments to function ‘ln_eval’
trace_nums.c:319: error: ‘NODE_ENSURE’ undeclared (first use in this function)
trace_nums.c:320: error: too many arguments to function ‘ln_eval’
trace_nums.c:322: error: too many arguments to function ‘ln_eval’
trace_nums.c:326: error: ‘NODE_AND’ undeclared (first use in this function)
trace_nums.c:327: error: ‘NODE_OR’ undeclared (first use in this function)
trace_nums.c:328: error: too many arguments to function ‘ln_eval’
trace_nums.c:329: error: too many arguments to function ‘ln_eval’
trace_nums.c:332: error: ‘NODE_NOT’ undeclared (first use in this function)
trace_nums.c:335: error: too many arguments to function ‘ln_eval’
trace_nums.c:338: error: ‘NODE_DOT2’ undeclared (first use in this function)
trace_nums.c:339: error: ‘NODE_DOT3’ undeclared (first use in this function)
trace_nums.c:340: error: ‘NODE_FLIP2’ undeclared (first use in this function)
trace_nums.c:341: error: ‘NODE_FLIP3’ undeclared (first use in this function)
trace_nums.c:342: error: too many arguments to function ‘ln_eval’
trace_nums.c:343: error: too many arguments to function ‘ln_eval’
trace_nums.c:346: error: ‘NODE_RETURN’ undeclared (first use in this function)
trace_nums.c:348: error: too many arguments to function ‘ln_eval’
trace_nums.c:351: error: ‘NODE_ARGSCAT’ undeclared (first use in this function)
trace_nums.c:352: error: ‘NODE_ARGSPUSH’ undeclared (first use in this function)
trace_nums.c:353: error: too many arguments to function ‘ln_eval’
trace_nums.c:354: error: too many arguments to function ‘ln_eval’
trace_nums.c:357: error: ‘NODE_ATTRASGN’ undeclared (first use in this function)
trace_nums.c:359: error: expected expression before ‘)’ token
trace_nums.c:360: error: too many arguments to function ‘ln_eval’
trace_nums.c:362: error: too many arguments to function ‘ln_eval’
trace_nums.c:364: error: too many arguments to function ‘ln_eval’
trace_nums.c:366: error: ‘NODE_CALL’ undeclared (first use in this function)
trace_nums.c:367: error: ‘NODE_FCALL’ undeclared (first use in this function)
trace_nums.c:368: error: ‘NODE_VCALL’ undeclared (first use in this function)
trace_nums.c:370: error: too many arguments to function ‘ln_eval’
trace_nums.c:372: error: too many arguments to function ‘ln_eval’
trace_nums.c:375: error: ‘NODE_SUPER’ undeclared (first use in this function)
trace_nums.c:376: error: too many arguments to function ‘ln_eval’
trace_nums.c:379: error: ‘NODE_ZSUPER’ undeclared (first use in this function)
trace_nums.c:382: error: ‘NODE_SCOPE’ undeclared (first use in this function)
trace_nums.c:383: error: too many arguments to function ‘ln_eval’
trace_nums.c:386: error: ‘NODE_OP_ASGN1’ undeclared (first use in this function)
trace_nums.c:387: error: too many arguments to function ‘ln_eval’
trace_nums.c:389: error: too many arguments to function ‘ln_eval’
trace_nums.c:393: error: too many arguments to function ‘ln_eval’
trace_nums.c:396: error: ‘NODE_OP_ASGN2’ undeclared (first use in this function)
trace_nums.c:397: error: too many arguments to function ‘ln_eval’
trace_nums.c:398: error: too many arguments to function ‘ln_eval’
trace_nums.c:401: error: ‘NODE_OP_ASGN_AND’ undeclared (first use in this function)
trace_nums.c:402: error: ‘NODE_OP_ASGN_OR’ undeclared (first use in this function)
trace_nums.c:403: error: too many arguments to function ‘ln_eval’
trace_nums.c:404: error: too many arguments to function ‘ln_eval’
trace_nums.c:407: error: ‘NODE_MASGN’ undeclared (first use in this function)
trace_nums.c:408: error: too many arguments to function ‘ln_eval’
trace_nums.c:410: error: expected expression before ‘)’ token
trace_nums.c:411: error: too many arguments to function ‘ln_eval’
trace_nums.c:414: error: too many arguments to function ‘ln_eval’
trace_nums.c:417: error: ‘NODE_LASGN’ undeclared (first use in this function)
trace_nums.c:418: error: ‘NODE_DASGN’ undeclared (first use in this function)
trace_nums.c:419: error: ‘NODE_DASGN_CURR’ undeclared (first use in this function)
trace_nums.c:420: error: ‘NODE_GASGN’ undeclared (first use in this function)
trace_nums.c:421: error: ‘NODE_IASGN’ undeclared (first use in this function)
trace_nums.c:422: error: ‘NODE_CDECL’ undeclared (first use in this function)
trace_nums.c:423: error: ‘NODE_CVDECL’ undeclared (first use in this function)
trace_nums.c:424: error: ‘NODE_CVASGN’ undeclared (first use in this function)
trace_nums.c:425: error: too many arguments to function ‘ln_eval’
trace_nums.c:428: error: ‘NODE_LVAR’ undeclared (first use in this function)
trace_nums.c:429: error: ‘NODE_DVAR’ undeclared (first use in this function)
trace_nums.c:430: error: ‘NODE_GVAR’ undeclared (first use in this function)
trace_nums.c:431: error: ‘NODE_IVAR’ undeclared (first use in this function)
trace_nums.c:432: error: ‘NODE_CONST’ undeclared (first use in this function)
trace_nums.c:433: error: ‘NODE_CVAR’ undeclared (first use in this function)
trace_nums.c:436: error: ‘NODE_BLOCK_ARG’ undeclared (first use in this function)
trace_nums.c:439: error: ‘NODE_COLON2’ undeclared (first use in this function)
trace_nums.c:440: error: too many arguments to function ‘ln_eval’
trace_nums.c:443: error: ‘NODE_COLON3’ undeclared (first use in this function)
trace_nums.c:446: error: ‘NODE_NTH_REF’ undeclared (first use in this function)
trace_nums.c:449: error: ‘NODE_BACK_REF’ undeclared (first use in this function)
trace_nums.c:452: error: ‘NODE_HASH’ undeclared (first use in this function)
trace_nums.c:454: error: ‘list’ undeclared (first use in this function)
trace_nums.c:457: error: too many arguments to function ‘ln_eval’
trace_nums.c:461: error: too many arguments to function ‘ln_eval’
trace_nums.c:467: error: ‘NODE_ZARRAY’ undeclared (first use in this function)
trace_nums.c:470: error: ‘NODE_ARRAY’ undeclared (first use in this function)
trace_nums.c:474: error: too many arguments to function ‘ln_eval’
trace_nums.c:479: error: ‘NODE_STR’ undeclared (first use in this function)
trace_nums.c:482: error: ‘NODE_EVSTR’ undeclared (first use in this function)
trace_nums.c:483: error: too many arguments to function ‘ln_eval’
trace_nums.c:486: error: ‘NODE_DSTR’ undeclared (first use in this function)
trace_nums.c:487: error: ‘NODE_DXSTR’ undeclared (first use in this function)
trace_nums.c:488: error: ‘NODE_DREGX’ undeclared (first use in this function)
trace_nums.c:489: error: ‘NODE_DREGX_ONCE’ undeclared (first use in this function)
trace_nums.c:490: error: ‘NODE_DSYM’ undeclared (first use in this function)
trace_nums.c:497: error: too many arguments to function ‘ln_eval’
trace_nums.c:500: error: too many arguments to function ‘ln_eval’
trace_nums.c:503: error: too many arguments to function ‘ln_eval’
trace_nums.c:512: error: ‘NODE_XSTR’ undeclared (first use in this function)
trace_nums.c:518: error: ‘NODE_LIT’ undeclared (first use in this function)
trace_nums.c:521: error: ‘NODE_DEFN’ undeclared (first use in this function)
trace_nums.c:522: error: too many arguments to function ‘ln_eval’
trace_nums.c:525: error: ‘NODE_DEFS’ undeclared (first use in this function)
trace_nums.c:527: error: too many arguments to function ‘ln_eval’
trace_nums.c:529: error: too many arguments to function ‘ln_eval’
trace_nums.c:532: error: ‘NODE_UNDEF’ undeclared (first use in this function)
trace_nums.c:542: error: ‘NODE_ALIAS’ undeclared (first use in this function)
trace_nums.c:548: error: ‘NODE_VALIAS’ undeclared (first use in this function)
trace_nums.c:551: error: ‘NODE_CLASS’ undeclared (first use in this function)
trace_nums.c:553: error: too many arguments to function ‘ln_eval’
trace_nums.c:555: error: too many arguments to function ‘ln_eval’
trace_nums.c:558: error: ‘NODE_MODULE’ undeclared (first use in this function)
trace_nums.c:559: error: too many arguments to function ‘ln_eval’
trace_nums.c:562: error: ‘NODE_SCLASS’ undeclared (first use in this function)
trace_nums.c:563: error: too many arguments to function ‘ln_eval’
trace_nums.c:564: error: too many arguments to function ‘ln_eval’
trace_nums.c:567: error: ‘NODE_DEFINED’ undeclared (first use in this function)
trace_nums.c:568: error: too many arguments to function ‘ln_eval’
trace_nums.c:571: error: ‘NODE_NEWLINE’ undeclared (first use in this function)
trace_nums.c:576: error: ‘NODE_CFUNC’ undeclared (first use in this function)
trace_nums.c:577: error: ‘NODE_IFUNC’ undeclared (first use in this function)
trace_nums.c:589: error: ‘NODE_BMETHOD’ undeclared (first use in this function)
trace_nums.c:593: error: ‘struct BLOCK’ has no member named ‘var’
trace_nums.c:593: error: ‘struct BLOCK’ has no member named ‘var’
trace_nums.c:593: error: expected expression before ‘)’ token
trace_nums.c:596: error: ‘struct BLOCK’ has no member named ‘var’
trace_nums.c:596: error: too many arguments to function ‘ln_eval’
trace_nums.c:598: error: ‘struct BLOCK’ has no member named ‘body’
trace_nums.c:598: error: too many arguments to function ‘ln_eval’
trace_nums.c:604: error: ‘NODE_DMETHOD’ undeclared (first use in this function)
trace_nums.c:608: error: ‘struct METHOD’ has no member named ‘body’
trace_nums.c:608: error: too many arguments to function ‘ln_eval’
trace_nums.c:613: error: ‘NODE_METHOD’ undeclared (first use in this function)
trace_nums.c:614: error: too many arguments to function ‘ln_eval’
trace_nums.c:618: error: ‘NODE_ARGS’ undeclared (first use in this function)
trace_nums.c:620: error: too many arguments to function ‘ln_eval’
trace_nums.c:624: error: ‘NODE_ATTRSET’ undeclared (first use in this function)
trace_nums.c:634: error: ‘NODE_RESBODY’ undeclared (first use in this function)
trace_nums.c:636: error: too many arguments to function ‘ln_eval’
trace_nums.c:638: error: too many arguments to function ‘ln_eval’
trace_nums.c:639: error: too many arguments to function ‘ln_eval’
trace_nums.c:644: error: ‘NODE_MEMO’ undeclared (first use in this function)
trace_nums.c:645: error: ‘NODE_CREF’ undeclared (first use in this function)
trace_nums.c:652: error: invalid type argument of ‘->’
trace_nums.c:653: error: invalid type argument of ‘->’
trace_nums.c:654: error: invalid type argument of ‘->’
trace_nums.c:661: error: ‘contnode’ undeclared (first use in this function)
trace_nums.c: In function ‘lnums_for_str’:
trace_nums.c:679: error: ‘NODE’ undeclared (first use in this function)
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:699: error: ‘ruby_eval_tree_begin’ undeclared (first use in this function)
trace_nums.c:707: error: too many arguments to function ‘ln_eval’
make: *** [trace_nums.o] Error 1


Gem files will remain installed in /Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43 for inspection.
Results logged to /Users/bhelmkamp/.rvm/gems/rbx-1.0.0-rc5/gems/linecache-0.43/ext/gem_make.out
@brixen
Rubinius member

We cannot support linecache. It depends on MRI internals.

@joevandyk

Is it possible to have a list of non-supported gems somewhere, and maybe patch rubygems to print a warning about those?

@brixen
Rubinius member

@joevandyk who would maintain that list? It does not seem feasible for us to do so. Gem authors need to be aware that their gems will run on multiple Ruby implementations. Any gem that depends on internals of a particular implementation should only install on that implementation.

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