[Kde-bindings] on Ruby 1.9.2 preview1, build fails

Richard Dale rdale at foton.es
Thu Jul 23 18:12:57 UTC 2009


On Thursday 23 July 2009 07:08:26 pm Richard Dale wrote:
> On Wednesday 22 July 2009 05:04:23 am airh2002 at oak.dti.ne.jp wrote:
> > I build trunk QtRuby with Ruby 1.9.2 preview1, make fails at
> > kdebindings/ruby/qtruby/src/marshall_types.cpp file.
> >
> > The cause is a obsolete API of "ruby.h". It's written in ChangeLog of
> > Ruby-lang.
> >
> > http://svn.ruby-lang.org/repos/ruby/trunk/ChangeLog
> >
> > See the "Sat Jan 31 22:29:05 2009" Tanaka Akira's commit. And fix
> > approch is also "written Wed Dec 31 14:52:33 2008" Tanaka Akira's
> > commit.
> >
> > I rewrite kdebindings/ruby/qtruby/src/marshall_types.cpp and rebuild
> > successfully. But I try it on ruby 1.9.2 preview1 only.
> >
> > I attach a diff of kdebindings/ruby/qtruby/src/marshall_types.cpp on
> > this mail. please evaluate it.
>
> Thanks that looks fine - I'll commit it.
>
> I have StringValueCStr() my Ruby 1.8.6 ruby.h header. Maybe we can add a
> #define for it terms of STR2CSTR if StringValueCStr isn't defined in a Ruby
> older than 1.8.6?
Oops I have 1.8.7, not 1.8.6 - so I mean we need to check Rubys older than 
1.8.7 to see whether they have StringValueCStr.

-- Richard



More information about the Kde-bindings mailing list