Skip to content

hpricot gem #252

Closed
prettynatty opened this Issue Apr 5, 2010 · 1 comment

2 participants

@prettynatty

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

/home/smix/build/rubinius/bin/rbx extconf.rb
checking for main() in -lc... yes
creating Makefile

make
gcc -I. -I. -I/home/smix/build/rubinius/vm/capi -I. -ggdb3 -O2 -fPIC -c hpricot_scan.c
hpricot_scan.rl: In function ‘rb_hpricot_add’:
hpricot_scan.rl:183: error: subscripted value is neither array nor pointer
hpricot_scan.rl:185: error: subscripted value is neither array nor pointer
hpricot_scan.rl:187: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_set_name’:
hpricot_scan.rl:220: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_clear_name’:
hpricot_scan.rl:220: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_get_name’:
hpricot_scan.rl:220: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_set_raw’:
hpricot_scan.rl:221: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_clear_raw’:
hpricot_scan.rl:221: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_get_raw’:
hpricot_scan.rl:221: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_set_parent’:
hpricot_scan.rl:222: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_clear_parent’:
hpricot_scan.rl:222: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_get_parent’:
hpricot_scan.rl:222: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_set_attr’:
hpricot_scan.rl:223: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_clear_attr’:
hpricot_scan.rl:223: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_get_attr’:
hpricot_scan.rl:223: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_set_etag’:
hpricot_scan.rl:224: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_clear_etag’:
hpricot_scan.rl:224: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_get_etag’:
hpricot_scan.rl:224: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_set_children’:
hpricot_scan.rl:225: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_clear_children’:
hpricot_scan.rl:225: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_get_children’:
hpricot_scan.rl:225: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_set_target’:
hpricot_scan.rl:226: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_get_target’:
hpricot_scan.rl:226: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_set_encoding’:
hpricot_scan.rl:227: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_get_encoding’:
hpricot_scan.rl:227: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_set_version’:
hpricot_scan.rl:228: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_get_version’:
hpricot_scan.rl:228: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_set_standalone’:
hpricot_scan.rl:229: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_get_standalone’:
hpricot_scan.rl:229: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_set_system_id’:
hpricot_scan.rl:230: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_get_system_id’:
hpricot_scan.rl:230: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_set_public_id’:
hpricot_scan.rl:231: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_ele_get_public_id’:
hpricot_scan.rl:231: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘rb_hpricot_token’:
hpricot_scan.rl:283: error: subscripted value is neither array nor pointer
hpricot_scan.rl:285: error: subscripted value is neither array nor pointer
hpricot_scan.rl:304: error: subscripted value is neither array nor pointer
hpricot_scan.rl:304: error: subscripted value is neither array nor pointer
hpricot_scan.rl:304: error: subscripted value is neither array nor pointer
hpricot_scan.rl:304: error: subscripted value is neither array nor pointer
hpricot_scan.rl:304: error: subscripted value is neither array nor pointer
hpricot_scan.rl:304: error: subscripted value is neither array nor pointer
hpricot_scan.rl:304: error: subscripted value is neither array nor pointer
hpricot_scan.rl:304: error: subscripted value is neither array nor pointer
hpricot_scan.rl:304: error: subscripted value is neither array nor pointer
hpricot_scan.rl:305: error: subscripted value is neither array nor pointer
hpricot_scan.rl:311: error: subscripted value is neither array nor pointer
hpricot_scan.rl:328: error: subscripted value is neither array nor pointer
hpricot_scan.rl:366: error: subscripted value is neither array nor pointer
hpricot_scan.rl:372: error: subscripted value is neither array nor pointer
hpricot_scan.rl:377: error: subscripted value is neither array nor pointer
hpricot_scan.rl:377: error: subscripted value is neither array nor pointer
hpricot_scan.rl:377: error: subscripted value is neither array nor pointer
hpricot_scan.rl:377: error: subscripted value is neither array nor pointer
hpricot_scan.rl:377: error: subscripted value is neither array nor pointer
hpricot_scan.rl:377: error: subscripted value is neither array nor pointer
hpricot_scan.rl:377: error: subscripted value is neither array nor pointer
hpricot_scan.rl:377: error: subscripted value is neither array nor pointer
hpricot_scan.rl:377: error: subscripted value is neither array nor pointer
hpricot_scan.rl:385: error: subscripted value is neither array nor pointer
hpricot_scan.rl:386: error: subscripted value is neither array nor pointer
hpricot_scan.rl:390: error: subscripted value is neither array nor pointer
hpricot_scan.rl:390: error: subscripted value is neither array nor pointer
hpricot_scan.rl:390: error: subscripted value is neither array nor pointer
hpricot_scan.rl:390: error: subscripted value is neither array nor pointer
hpricot_scan.rl:390: error: subscripted value is neither array nor pointer
hpricot_scan.rl:390: error: subscripted value is neither array nor pointer
hpricot_scan.rl:390: error: subscripted value is neither array nor pointer
hpricot_scan.rl:390: error: subscripted value is neither array nor pointer
hpricot_scan.rl:390: error: subscripted value is neither array nor pointer
hpricot_scan.rl:393: error: subscripted value is neither array nor pointer
hpricot_scan.rl:393: error: subscripted value is neither array nor pointer
hpricot_scan.rl:393: error: subscripted value is neither array nor pointer
hpricot_scan.rl:393: error: subscripted value is neither array nor pointer
hpricot_scan.rl:393: error: subscripted value is neither array nor pointer
hpricot_scan.rl:393: error: subscripted value is neither array nor pointer
hpricot_scan.rl:393: error: subscripted value is neither array nor pointer
hpricot_scan.rl:393: error: subscripted value is neither array nor pointer
hpricot_scan.rl:393: error: subscripted value is neither array nor pointer
hpricot_scan.rl:396: error: subscripted value is neither array nor pointer
hpricot_scan.rl:396: error: subscripted value is neither array nor pointer
hpricot_scan.rl:396: error: subscripted value is neither array nor pointer
hpricot_scan.rl:396: error: subscripted value is neither array nor pointer
hpricot_scan.rl:396: error: subscripted value is neither array nor pointer
hpricot_scan.rl:396: error: subscripted value is neither array nor pointer
hpricot_scan.rl:396: error: subscripted value is neither array nor pointer
hpricot_scan.rl:396: error: subscripted value is neither array nor pointer
hpricot_scan.rl:396: error: subscripted value is neither array nor pointer
hpricot_scan.rl:407: error: subscripted value is neither array nor pointer
hpricot_scan.rl:407: error: subscripted value is neither array nor pointer
hpricot_scan.rl:407: error: subscripted value is neither array nor pointer
hpricot_scan.rl:407: error: subscripted value is neither array nor pointer
hpricot_scan.rl:407: error: subscripted value is neither array nor pointer
hpricot_scan.rl:407: error: subscripted value is neither array nor pointer
hpricot_scan.rl:407: error: subscripted value is neither array nor pointer
hpricot_scan.rl:407: error: subscripted value is neither array nor pointer
hpricot_scan.rl:407: error: subscripted value is neither array nor pointer
hpricot_scan.rl:412: error: invalid type argument of ‘->’ (have ‘int’)
hpricot_scan.rl:413: error: subscripted value is neither array nor pointer
hpricot_scan.rl:415: error: subscripted value is neither array nor pointer
hpricot_scan.rl:415: error: subscripted value is neither array nor pointer
hpricot_scan.rl:415: error: subscripted value is neither array nor pointer
hpricot_scan.rl:415: error: subscripted value is neither array nor pointer
hpricot_scan.rl:415: error: subscripted value is neither array nor pointer
hpricot_scan.rl:415: error: subscripted value is neither array nor pointer
hpricot_scan.rl:415: error: subscripted value is neither array nor pointer
hpricot_scan.rl:415: error: subscripted value is neither array nor pointer
hpricot_scan.rl:415: error: subscripted value is neither array nor pointer
hpricot_scan.rl:419: error: subscripted value is neither array nor pointer
hpricot_scan.rl:419: error: subscripted value is neither array nor pointer
hpricot_scan.rl:419: error: subscripted value is neither array nor pointer
hpricot_scan.rl:419: error: subscripted value is neither array nor pointer
hpricot_scan.rl:419: error: subscripted value is neither array nor pointer
hpricot_scan.rl:419: error: subscripted value is neither array nor pointer
hpricot_scan.rl:419: error: subscripted value is neither array nor pointer
hpricot_scan.rl:419: error: subscripted value is neither array nor pointer
hpricot_scan.rl:419: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘alloc_hpricot_struct’:
hpricot_scan.rl:613: error: ‘st’ undeclared (first use in this function)
hpricot_scan.rl:613: error: (Each undeclared identifier is reported only once
hpricot_scan.rl:613: error: for each function it appears in.)
hpricot_scan.rl:613: error: expected expression before ‘struct’
hpricot_scan.rl: In function ‘hpricot_struct_ref0’:
hpricot_scan.rl:638: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_ref1’:
hpricot_scan.rl:639: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_ref2’:
hpricot_scan.rl:640: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_ref3’:
hpricot_scan.rl:641: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_ref4’:
hpricot_scan.rl:642: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_ref5’:
hpricot_scan.rl:643: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_ref6’:
hpricot_scan.rl:644: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_ref7’:
hpricot_scan.rl:645: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_ref8’:
hpricot_scan.rl:646: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_ref9’:
hpricot_scan.rl:647: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_set0’:
hpricot_scan.rl:662: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_set1’:
hpricot_scan.rl:663: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_set2’:
hpricot_scan.rl:664: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_set3’:
hpricot_scan.rl:665: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_set4’:
hpricot_scan.rl:666: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_set5’:
hpricot_scan.rl:667: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_set6’:
hpricot_scan.rl:668: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_set7’:
hpricot_scan.rl:669: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_set8’:
hpricot_scan.rl:670: error: subscripted value is neither array nor pointer
hpricot_scan.rl: In function ‘hpricot_struct_set9’:
hpricot_scan.rl:671: error: subscripted value is neither array nor pointer
make: *** [hpricot_scan.o] Ошибка 1

Gem files will remain installed in /home/smix/build/rubinius/gems/1.8/gems/hpricot-0.8.2 for inspection.
Results logged to /home/smix/build/rubinius/gems/1.8/gems/hpricot-0.8.2/ext/hpricot_scan/gem_make.out

@evanphx
Rubinius member
evanphx commented Apr 5, 2010

hpricot is not support currently because it uses RHASH. We're looking to support it post 1.0.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.