Hi,

On Sat, 29 Jul 2006 06:30:06 +0900
"anne001" <anne / wjh.harvard.edu> wrote:

> With a little help, I managed t/private/opt/local/lib/ruby/site_ruby/1.8/powerpc-darwin8.3.0o compile cairo on my OS X such that irb
> can include cairo without error message. So now, I get the same error
> message as Farrel
> 
> I checked on rb_cairo.h, it is in
> /private/opt/local/lib/ruby/site_ruby/1.8/powerpc-darwin8.3.0/rb_cairo.h
> 
> The person who helped me with my cairo installed thought that the
> problem was with my having an old gnome2, but the darwinport folder
> said ruby-gnome2-all-0.15.0. he thought 0.15.0 was alright.
> 
> he suggested getting help at
> http://lists.sourceforge.net/mailman/listinfo/ruby-gnome2-devel-en
> 
> I found the ruby-gnome2-all-0.15.0/gtk/mkmf.log, I posted it at
> visionlab.harvard.edu/Members/Anne/mkmf.log

It seems no problem from your mkmf.log.
rb_cairo.h was found in it correctly.

You need to tell us more informations.
1. What is the result of require 'cairo' ?
   $ irb
   irb(main):001:0> require 'cairo'
   => true

2. Try to remove /private/opt/local/lib/ruby/site_ruby/1.8/.../gtk2.so
   once, then,
   $ cd ruby-gnome2-x.x.x/gtk
   $ make clean
   $ ruby extconf.rb >& log.txt
   $ make >>& log.txt
   $ make install >>& log.txt

   Then, if your problem is not fixed, send me your log.txt.

-- 
.:% Masao Mutoh<mutoh / highway.ne.jp>