--FL5UXtIhxfXey3p5
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I trying to profile my Ruby 1.9 code with zenprofile, but a simple
em install zenprofileand a subsequent profiling attemptreaks:


shot@devielle:~/PhD/art-decomp$ time zenprofile bin/inputs kiss/s510
/home/shot/.ruby_inline/Inline_EventHook_58b9.c:4:18: error: node.h: No such file or directory
/home/shot/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/event_hook-1.0.1/lib/event_hook.rb:66: error: expected °∆)°« before °∆event°«
/home/shot/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/event_hook-1.0.1/lib/event_hook.rb: In function °∆add_event_hook°«:
/home/shot/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/event_hook-1.0.1/lib/event_hook.rb:98: error: °∆event_hook°« undeclared (first use in this function)
°ń


I tried to side-step the first error by quickly
patching event_hook-1.0.1/lib/event_hook.rb with
builder.add_compile_flags '-I/home/shot/opt/ruby-1.9.1-p243/include/ruby-1.9.1/ruby-1.9.1-p243/'
but it doesn°«t help at with the rest:


shot@devielle:~/PhD/art-decomp$ time zenprofile bin/inputs kiss/s510
/home/shot/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/event_hook-1.0.1/lib/event_hook.rb:68: error: expected °∆)°« before °∆event°«
/home/shot/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/event_hook-1.0.1/lib/event_hook.rb: In function °∆add_event_hook°«:
/home/shot/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/event_hook-1.0.1/lib/event_hook.rb:100: error: °∆event_hook°« undeclared (first use in this function)
°ń


I get the same problem with a simple file containing just

p rand


°Ĺ Shot
-- 
People who say you°«re just as old as you feel
are all wrong, fortunately.   [Russell Baker]

--FL5UXtIhxfXey3p5
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqVUNgACgkQi/mCfdEo8UqRDgCgr5vOOBvXRwNaAS47VSvTKXlc
OWIAnRNaESY/bQJJ+eRFU2NODdumXMyg
ê4
-----END PGP SIGNATURE-----

--FL5UXtIhxfXey3p5--