[Kde-bindings] kdebindings and ruby-1.9

Yury G. Kudryashov urkud at ya.ru
Wed Feb 3 22:56:25 UTC 2010


В сообщении от Среда 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.

About (b), I think that this is .cpp/.h files problem, not buildsystem.
-- 
Yury G. Kudryashov,
mailto: urkud at ya.ru
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20100203/518caabd/attachment.sig>


More information about the Kde-bindings mailing list