From: Logan Capaldo Date: 2006-05-08T10:32:26+09:00 Subject: Re: Rcov installation failure on Mac OS X On May 7, 2006, at 9:08 PM, Sam Roberts wrote: > Quoting home@kerrybuckley.com, on Sun, May 07, 2006 at 07:34:08PM > +0900: >> I'm obviously missing something fairly obvious, but I can't seem to >> get rcov 0.3.0 to install (I had the same problem with the previous >> version, but never got round to investigating), and I can't find >> anything similar in the archives or via Google. I'm running ruby >> 1.8.2 (2004-12-25) [powerpc-darwin8.0] under Mac OS X 10.4.6 on a G5 >> Mac. > > ... > >> rcov.c:33: error: 'RUBY_EVENT_C_CALL' undeclared (first use in this >> function) > > I'm not sure that the stock OS X ruby contains the headers and > libraries > required to build C extensions. > > I would look for ruby.h. If you don't have it, you can't build the > extension. > > Cheers, > Sam > > > It does, but they are in "unfortunate" locations. /usr/lib/ruby/1.8/universal-darwin8.0 is where some of the header files live. Others and the bundles are in the right locations. You can make symlinks or you can install ruby from source.