From: Joel VanderWerf Date: 2005-08-29T07:42:05+09:00 Subject: Re: building rbtree 0.1.3 Levin Alexander wrote: > Dominik Bathon wrote: > >>> Is there some kind of priority queue in the stdlib or available as a >>> gem? >> >> >> There is nothing in the stdlib currently, but there is rbtree and a >> RCR to include it in the stdlib: >> >> http://www.rcrchive.net/rcr/show/306 > > > I tried to build it but it fails the unit tests > > The check for "rb_block_proc" and the later warnings seems to suggest > that there is something wrong with my system. Any hints? > > > Thank You, > Levin > > $ ruby -v > ruby 1.8.3 (2005-06-23) [i486-linux] > $ ruby extconf.rb > checking for allocation framework... yes > checking for rb_obj_init_copy()... no > checking for rb_block_proc()... no > checking for rb_yield_values()... no > checking for rb_marshal_dump()... no > checking for rb_marshal_load()... no > checking for inline keyword... __inline > creating Makefile Looks like your ruby headers or libs aren't where extconf.rb expects them. Did you build ruby from source? It might help to look at ruby -r rbconfig -e 'p Config::CONFIG' and see if the paths listed there are where the ruby installed files are. (Sorry to be so vague...) -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407