Hi,

On Sun, May 07, 2006 at 07:34:08PM +0900, Kerry Buckley wrote:
> creating Makefile
[...]
> make
> gcc -fno-common -g -Os -pipe -fno-common -pipe  -fno-common -pipe - 
> fno-common  -I. -I/usr/lib/ruby/1.8/powerpc-darwin8.0 -I/usr/lib/ruby/ 
> 1.8/powerpc-darwin8.0 -I/Users/kerry/Downloads/rcov-0.3.0/ext/ 
> rcovrt   -c rcov.c
> rcov.c:27: error: parse error before 'event'
> rcov.c: In function 'coverage_event_hook':
> rcov.c:33: error: 'event' undeclared (first use in this function)
> rcov.c:33: error: (Each undeclared identifier is reported only once
> rcov.c:33: error: for each function it appears in.)
> rcov.c:33: error: 'RUBY_EVENT_C_CALL' undeclared (first use in this  
[...] 
> Thanks in advance to anyone who can point me in the right direction.

The rcovrt extension uses the event_hook subsystem which was added in Ruby
1.8.3, so you can either install rcov without the extension (it will be much
slower though), with 
  sudo ruby setup.rb all --without-ext
or upgrade Ruby to 1.8.4, or better yet to a stable snapshot[1],
which fixes amongst other bugs the symbol/object collision that happened
quite often on OSX.

I will update the documentation to reflect this.

HTH

[1] ftp://ftp.ruby-lang.org/pub/ruby/stable-snapshot.tar.gz
-- 
Mauricio Fernandez  -   http://eigenclass.org   -  singular Ruby