Can't install racc #263

Open
zenspider opened this Issue Feb 13, 2013 · 0 comments

Comments

Projects
None yet
1 participant
Contributor

zenspider commented Feb 13, 2013

This prevents me from getting ruby_parser (and flog, flay, heckle, and EVERYTHING else I work on) up and running on maglev.

10015 % rm -rf xxx
10016 % maglev-gem i -i xxx racc
[INFO] The MagLev team publishes customized versions of some gems.
       These fix issues with the original versions or include optimizations
       specific to MagLev. To allow MagLev to pick the originals anyway,
       set the MAGLEV_GEMS_ALLOW_ALL environment variable to true
Building native extensions.  This could take a while...
ERROR:  Error installing racc:
    ERROR: Failed to build gem native extension.

        /Users/ryan/Work/git/maglev/bin/maglev-ruby extconf.rb
creating Makefile

make
gcc  -I. -I/Users/ryan/Work/git/maglev/lib/ruby/1.8/include -I/Users/ryan/Work/git/maglev/lib/ruby/1.8/include -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE      -fPIC -DTARGET_RT_MAC_CFM=0 -fno-omit-frame-pointer -fno-strict-aliasing -fexceptions     -arch x86_64  -c cparse.c
cparse.c: In function 'get_stack_tail':
cparse.c:101: warning: passing argument 2 of 'rb_ary_new4' makes pointer from integer without a cast
cparse.c: In function 'initialize_params':
cparse.c:330: error: subscripted value is neither array nor pointer
cparse.c:331: error: subscripted value is neither array nor pointer
cparse.c:332: error: subscripted value is neither array nor pointer
cparse.c:333: error: subscripted value is neither array nor pointer
cparse.c:334: error: subscripted value is neither array nor pointer
cparse.c:335: error: subscripted value is neither array nor pointer
cparse.c:336: error: subscripted value is neither array nor pointer
cparse.c:337: error: subscripted value is neither array nor pointer
cparse.c:338: error: subscripted value is neither array nor pointer
cparse.c:339: error: subscripted value is neither array nor pointer
cparse.c:340: error: subscripted value is neither array nor pointer
cparse.c:341: error: subscripted value is neither array nor pointer
cparse.c:342: error: subscripted value is neither array nor pointer
cparse.c:344: error: subscripted value is neither array nor pointer
cparse.c: In function 'extract_user_token':
cparse.c:426: error: subscripted value is neither array nor pointer
cparse.c:427: error: subscripted value is neither array nor pointer
cparse.c: In function 'parse_main':
cparse.c:463: error: subscripted value is neither array nor pointer
cparse.c:501: error: subscripted value is neither array nor pointer
cparse.c:506: error: subscripted value is neither array nor pointer
cparse.c:518: error: subscripted value is neither array nor pointer
cparse.c:560: error: subscripted value is neither array nor pointer
cparse.c:588: error: subscripted value is neither array nor pointer
cparse.c:596: error: subscripted value is neither array nor pointer
cparse.c:604: error: subscripted value is neither array nor pointer
cparse.c:627: error: subscripted value is neither array nor pointer
cparse.c: In function 'reduce0':
cparse.c:689: error: subscripted value is neither array nor pointer
cparse.c:690: error: subscripted value is neither array nor pointer
cparse.c:691: error: subscripted value is neither array nor pointer
cparse.c:706: error: subscripted value is neither array nor pointer
cparse.c:709: error: subscripted value is neither array nor pointer
cparse.c:740: error: subscripted value is neither array nor pointer
cparse.c:745: error: subscripted value is neither array nor pointer
cparse.c:752: error: subscripted value is neither array nor pointer
cparse.c:759: error: subscripted value is neither array nor pointer
cparse.c:779: error: subscripted value is neither array nor pointer
make: *** [cparse.o] Error 1


Gem files will remain installed in /Users/ryan/xxx/gems/racc-1.4.9 for inspection.
Results logged to /Users/ryan/xxx/gems/racc-1.4.9/ext/racc/gem_make.out
a RubySystemExit occurred (error 2752)
topaz 1> exit
10017 % 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment