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

I=E2=80=99m trying to profile my Ruby 1.9 code with zenprofile, but a simple
=E2=80=98gem install zenprofile=E2=80=99 and a subsequent profiling attempt=
 breaks:


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 suc=
h file or directory
/home/shot/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/event_hook-1.0.1/li=
b/event_hook.rb:66: error: expected =E2=80=98)=E2=80=99 before =E2=80=98eve=
nt=E2=80=99
/home/shot/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/event_hook-1.0.1/li=
b/event_hook.rb: In function =E2=80=98add_event_hook=E2=80=99:
/home/shot/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/event_hook-1.0.1/li=
b/event_hook.rb:98: error: =E2=80=98event_hook=E2=80=99 undeclared (first u=
se in this function)
=E2=80=A6


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=E2=80=99t 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/li=
b/event_hook.rb:68: error: expected =E2=80=98)=E2=80=99 before =E2=80=98eve=
nt=E2=80=99
/home/shot/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/event_hook-1.0.1/li=
b/event_hook.rb: In function =E2=80=98add_event_hook=E2=80=99:
/home/shot/opt/ruby-1.9.1-p243/lib/ruby/gems/1.9.1/gems/event_hook-1.0.1/li=
b/event_hook.rb:100: error: =E2=80=98event_hook=E2=80=99 undeclared (first =
use in this function)
=E2=80=A6


I get the same problem with a simple file containing just

p rand


=E2=80=94 Shot
--=20
People who say you=E2=80=99re 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
=d2I4
-----END PGP SIGNATURE-----

--FL5UXtIhxfXey3p5--

I°«m trying to profile my Ruby 1.9 code with zenprofile, but a simple
°∆gem install zenprofile°« and a subsequent profiling attemptbreaks:


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]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqVUNgACgkQi/mCfdEo8UqRDgCgr5vOOBvXRwNaAS47VSvTKXlc
OWIAnRNaESY/bQJJ+eRFU2NODdumXMyg
=d2I4
-----END PGP SIGNATURE-----