I know what I did and I was careless. NOW the racc script is for 
FreeBSD and yields:

#felix# pwd
#/usr/ports/textproc/ruby-rdtool/work/rdtool-0.6.10
#felix# racc rd/rdblockparser.ry
#/usr/local/lib/ruby/site_ruby/1.6/racc/rubyloader.rb:11:in `require': 
No such file to load -- rbconfig (LoadError)
#        from /usr/local/lib/ruby/site_ruby/1.6/racc/rubyloader.rb:11
#        from /usr/local/bin/racc:307:in `require'
#        from /usr/local/bin/racc:307

I hope that is useful and not an indication that I've done something 
wrong again.

the test2.rb script seemed to produce good results:

	felix# ruby test2.rb
	ok
	felix#

Do you know if there's an archive of comp.lang.ruby (English)? Google 
doesn't carry it and my ISP retains messages only about 3 days.

Cheerfully,

craig

Minero Aoki wrote:

> Hi Craig,
> 
>   In mail "Re: installing mod_ruby --> seg fault in ruby-rdtool"
>     "Nancy Roche" <nroche / home.com> wrote:
> 
> 
>>>>    $.delete_if {|path|/alpha-freebsd4/=== path }
>>>>
>>>One confirmation. This is "$:"?
>>>
>>Yes, I just checked the file /usr/local/lib/racc to confirm.
>>    $:.delete_if {|path| /i686-linux/ === path }
>>
>                            ^^^^^^^^^^^^
> Confirmation again.        Is this really "i686-linux"?
> 
> And, please one more test. Could you execute attaching
> ruby script, and tell me the result? If it simply prints
> "ok", ruby is not wrong. If it fails, ruby has any bugs.
> 
> -- Minero Aoki
> 
> 
> ------------------------------------------------------------------------
> 
> 
> def dotest( entries )
>   map = '-' * 10240
>   entries.each do |exp, items|
>     head = map.index(exp)
>     items.each_with_index do |item, offset|
>       map[ head + offset ] = ?o if item
>     end
>   end
>   # puts map.sub(/-*\z/, '')
> end
> 
> dotest([
>   [/-{6}.{3}-{2}/, [12, 16, 18, 20, 26, 69, nil, nil, nil, 10, 88]],
>   [/-{5}.{5}-/, [12, 16, 18, 20, 41, nil, nil, nil, nil, nil, 59]],
>   [/-{6}.{3}-/, [12, 16, 18, 20, 26, 69, nil, nil, nil, 10]],
>   [/-{6}.{3}-/, [12, 16, 18, 20, 26, 69, nil, nil, nil, 10]],
>   [/-{6}.{3}-/, [12, 16, 18, 20, 26, 69, nil, nil, nil, 10]],
>   [/-{6}.{3}-/, [12, 16, 18, 20, 26, 69, nil, nil, nil, 10]],
>   [/-{6}.{3}-/, [12, 16, 18, 20, 26, 69, nil, nil, nil, 10]],
>   [/-{10}/, [12, 16, 18, 20, 26, 30, 34, 3, 6, 10]],
>   [/-{4}.-.{3}-/, [12, 16, 18, 20, nil, 47, nil, nil, nil, 10]],
>   [/-{6}.{3}-/, [12, 16, 18, 20, 26, 69, nil, nil, nil, 10]],
>   [/-{6}.{3}-/, [12, 16, 18, 20, 26, 69, nil, nil, nil, 10]],
>   [/-{4}.-.{3}-/, [12, 16, 18, 20, nil, 47, nil, nil, nil, 10]],
>   [/-{6}.{3}-/, [12, 16, 18, 20, 26, 69, nil, nil, nil, 10]],
>   [/-{10}/, [12, 16, 18, 20, 26, 30, 34, 3, 6, 10]],
>   [/-{6}.{3}-/, [12, 16, 18, 20, 26, 69, nil, nil, nil, 10]],
>   [/-{2}.{3}-{2}/, [64, 65, nil, nil, nil, 62, 63]],
>   [/-{2}.{3}-{2}/, [64, 65, nil, nil, nil, 62, 87]],
>   [/-.{4}-/, [26, nil, nil, nil, nil, 76]],
>   [/-{2}.{3}-/, [64, 65, nil, nil, nil, 62]],
>   [/-{5}/, [12, 16, 18, 20, 41]],
>   [/-{4}/, [12, 16, 18, 20]],
>   [/-/, [80]],
>   [/-/, [53]],
>   [/-/, [52]],
>   [/-/, [75]],
>   [/-/, [52]],
>   [/-/, [52]],
>   [/-/, [79]],
>   [/-/, [72]],
>   [/-/, [81]],
>   [/-/, [43]],
>   [/-/, [82]],
>   [/-/, [41]],
>   [/-/, [26]],
>   [/-/, [43]],
>   [/-/, [26]],
>   [/-/, [43]],
>   [/-/, [12]],
>   [/-/, [16]],
>   [/-/, [20]],
>   [/-/, [18]]
> ])
> 
> dotest([
>   [/-.{28}-.{22}-/, [40, nil, nil, nil, nil, nil, nil, nil, nil,
>    nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
>    nil, nil, nil, nil, nil, nil, nil, 60, nil, nil, nil, nil, nil,
>    nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
>    nil, nil, nil, nil, 83]],
>   [/-.{22}-.{26}-/, [31, nil, nil, nil, nil, nil, nil, nil, nil,
>   nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
>   nil, 31, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
>   nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
>   nil, nil, 77]],
>   [/-.{33}-/, [36, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
>   nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
>   nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 36]],
>   [/-.-{2}.{27}-{2}/, [67, nil, 73, 74, nil, nil, nil, nil, nil,
>   nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
>   nil, nil, nil, nil, nil, nil, nil, nil, nil, 85, 86]],
>   [/-.{16}-.{5}-.{4}-/, [35, nil, nil, nil, nil, nil, nil, nil, nil,
>   nil, nil, nil, nil, nil, nil, nil, nil, 48, nil, nil, nil, nil,
>   nil, 35, nil, nil, nil, nil, 48]],
>   [/-.{16}-.{5}-.{4}-/, [4, nil, nil, nil, nil, nil, nil, nil, nil,
>   nil, nil, nil, nil, nil, nil, nil, nil, 45, nil, nil, nil, nil,
>   nil, 4, nil, nil, nil, nil, 45]],
>   [/-.{22}-/, [27, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
>   nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil, 56]],
>   [/-.{5}-{2}.{10}-{2}/, [84, nil, nil, nil, nil, nil, 84, 84, nil,
>   nil, nil, nil, nil, nil, nil, nil, nil, nil, 84, 84]],
>   [/-.{10}-/, [46, nil, nil, nil, nil, nil, nil, nil, nil, nil, nil,
>   57]],
>   [/-.{3}-/, [42, nil, nil, nil, 44]],
>   [/-.-/, [49, nil, 54]],
>   [/-/, [39]],
>   [/-/, [38]],
>   [/-/, [55]],
>   [/-/, [58]],
>   [/-/, [61]],
>   [/-/, [37]],
>   [/-/, [19]],
>   [/-/, [23]],
>   [/-/, [78]]
> ])
> 
> puts 'ok'
>