--000e0cd1465ed2df7404a79984fd
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

I posted the below question to the Shoes mailing list and got back the
following responses:

"Could you post your problem into ruby-list ML?
I think we need Ruby/GTK2 developer's help."

I am now posting the issue here to see if Ruby/GTK2 developers can help?
Thanks
Timothy

-------START OF ORIGINAL EMAIL------------------

I am trying to get green shoes to work on Snow Leopard. I used homebrew to
install gtk+ and rvm to install ruby 1.9.2-p180.  I believe that I installed
cairo v1.10.0 correctly, but when I try gtk2 0.90.5 I get the error messages
below.  I have tried all I know. Any advice?

barnes7td (Timothy)

-------CONSOLE OUTPUT--------------------------------

Building native extensions.  This could take a while...
ERROR:  Error installing cairo:
 ERROR: Failed to build gem native extension.

        /Users/Timothy/.rvm/rubies/ruby-1.9.2-p180/bin/ruby extconf.rb
checking for GCC... yes
checking for Win32 OS... no
checking for Mac OS X... yes
checking for cairo version (>= 1.2.0)... yes
checking for HAVE_RUBY_ST_H in ruby.h... yes
checking for HAVE_RUBY_IO_H in ruby.h... yes
checking for rb_errinfo() in ruby.h... yes
checking for enum ruby_value_type in ruby.h... yes
creating Makefile

make
gcc -I.
-I/Users/Timothy/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/x86_64-darwin10.6.0
-I/Users/Timothy/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1/ruby/backward
-I/Users/Timothy/.rvm/rubies/ruby-1.9.2-p180/include/ruby-1.9.1 -I.
-DRB_CAIRO_COMPILATION -DHAVE_RB_ERRINFO -DHAVE_TYPE_ENUM_RUBY_VALUE_TYPE
-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE   -fno-common -O3 -ggdb -Wextra
-Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings
-Wno-missing-field-initializers -Wshorten-64-to-32 -Wno-long-long
 -fno-common -pipe -Wall -I/opt/local/include/cairo
-I/opt/local/include/freetype2 -I/opt/local/include
-I/opt/local/include/libpng12 -I/usr/X11/include -DXTHREADS  -o rb_cairo.o
-c rb_cairo.c
In file included from rb_cairo.c:17:
rb_cairo.h:20:19: error: cairo.h: No such file or directory
In file included from rb_cairo.c:17:
rb_cairo.h:205: error: expected    ┴┬smor ┴└_attribute__before token
rb_cairo.h:206: error: expected before token
rb_cairo.h:208: error: expected    ┴┬smor ┴└_attribute__before token
rb_cairo.h:209: error: expected before token
rb_cairo.h:211: error: expected    ┴┬smor ┴└_attribute__before token
rb_cairo.h:212: error: expected before token
rb_cairo.h:219: error: expected    ┴┬smor ┴└_attribute__before token
rb_cairo.h:220: error: expected before token
rb_cairo.h:222: error: expected    ┴┬smor ┴└_attribute__before token
rb_cairo.h:223: error: expected before token
rb_cairo.h:225: error: expected    ┴┬smor ┴└_attribute__before token
rb_cairo.h:226: error: expected before token
rb_cairo.h:228: error: expected    ┴┬smor ┴└_attribute__before token
rb_cairo.h:229: error: expected before token
rb_cairo.h:231: error: expected    ┴┬smor ┴└_attribute__before token
rb_cairo.h:232: error: expected before token
rb_cairo.h:234: error: expected    ┴┬smor ┴└_attribute__before token
rb_cairo.h:235: error: expected before token
rb_cairo.h:237: error: expected    ┴┬smor ┴└_attribute__before token
rb_cairo.h:238: error: expected before token
rb_cairo.h:245: error: expected    ┴┬smor ┴└_attribute__before token
rb_cairo.h:246: error: expected before token
rb_cairo.h:248: error: expected before token
rb_cairo.h:293: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_operator_from_ruby_objectrb_cairo.h:294: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_antialias_from_ruby_objectrb_cairo.h:295: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_fill_rule_from_ruby_objectrb_cairo.h:296: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_line_cap_from_ruby_objectrb_cairo.h:297: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_line_join_from_ruby_objectrb_cairo.h:298: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_font_slant_from_ruby_objectrb_cairo.h:299: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_font_weight_from_ruby_objectrb_cairo.h:300: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_subpixel_order_from_ruby_objectrb_cairo.h:301: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_hint_style_from_ruby_objectrb_cairo.h:302: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_hint_metrics_from_ruby_objectrb_cairo.h:303: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_path_data_type_from_ruby_objectrb_cairo.h:304: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_content_from_ruby_objectrb_cairo.h:305: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_format_from_ruby_objectrb_cairo.h:306: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_extend_from_ruby_objectrb_cairo.h:307: error: expected    ┴┬smor ┴└_attribute__before ┴Ëb_cairo_filter_from_ruby_objectrb_cairo.h:331: error: expected before ┴ďtatusIn file included from rb_cairo.c:18:
rb_cairo_private.h:81: error: expected declaration specifiers or ..before ┴─airo_glyph_trb_cairo_private.h:84: error: expected    ┴┬smor
┴└_attribute__before ┴Ëb_cairo__is_kind_ofrb_cairo_private.h:112: error: expected    ┴┬smor
┴└_attribute__before ┴Ëb_cairo__exception_to_statusrb_cairo.c: In function ┴Ëb_cairo_satisfied_version
rb_cairo.c:40: error: ┴ĄAIRO_VERSION_MAJORundeclared (first use in this
function)
rb_cairo.c:40: error: (Each undeclared identifier is reported only once
rb_cairo.c:40: error: for each function it appears in.)
rb_cairo.c:40: error: ┴ĄAIRO_VERSION_MINORundeclared (first use in this
function)
rb_cairo.c:40: error: ┴ĄAIRO_VERSION_MICROundeclared (first use in this
function)
rb_cairo.c:31: warning: unused parameter ┴ďelfrb_cairo.c: In function ┴¬nit_cairo
rb_cairo.c:59: error: ┴ĄAIRO_VERSION_MAJORundeclared (first use in this
function)
rb_cairo.c:60: error: ┴ĄAIRO_VERSION_MINORundeclared (first use in this
function)
rb_cairo.c:61: error: ┴ĄAIRO_VERSION_MICROundeclared (first use in this
function)
rb_cairo.c:63: warning: implicit declaration of function ┴─airo_versionmake: *** [rb_cairo.o] Error 1


Gem files will remain installed in
/Users/Timothy/.rvm/gems/ruby-1.9.2-p180/gems/cairo-1.10.0 for inspection.
Results logged to
/Users/Timothy/.rvm/gems/ruby-1.9.2-p180/gems/cairo-1.10.0/ext/cairo/gem_make.out


--------END OF OUTPUT-----------------

--000e0cd1465ed2df7404a79984fd--