kdebindings and ruby-1.9

Alexander Neundorf neundorf at kde.org
Thu Feb 4 21:49:19 CET 2010


On Wednesday 03 February 2010, Yury G. Kudryashov wrote:
> В сообщении от Среда 03 февраля 2010 21:41:01 автор Alexander Neundorf
>
> написал:
> > On Wednesday 03 February 2010, Yury G. Kudryashov wrote:
> > > Hi!
> > >
> > > There are a few problems with kdebindings-4.3.98 and ruby-1.9p376.
> > >
> > > (a) ruby installs config.h into
> > > /usr/include/ruby-1.9/x86_64-linux/ruby/config.h and includes it from
> > > /usr/include/ruby-1.9/ruby/ruby.h, so
> > > CONFIG["rubyhdrdir"]/CONFIG["arch"] must be also added to search path.
> > >
> > > (b) The following header files do not exist:
> > > env.h
> > > rubysig.h (moved to ruby/backwards/rubysig.h)
> > > node.h
> > > version.h
> > > st.h (moved to ruby/backwards/st.h)
> >
> > Yes.
> > Does it work with the FindRuby.cmake shipping with cmake 2.8.0 ?
> > Then we can simply sync the files (while keeping source compatibility on
> > our side)
>
> FindRuby from cmake-2.8.0 finds ruby-1.9 correctly so merging will solve
> (a). I don't sure that the merge can be done in 100% compatible way because
> RUBY_INCLUDE_PATH now contains two directories instead of one.

Ok, I'll have a look in the next days.

Alex


More information about the Kde-buildsystem mailing list