> >> So anyway, here's the question: Does anyone know any links
> >> pertaining to building and linking interdependent ruby
> >> extensions?  Or have any tips for me?
> >
> > During the dist-bzip2 phase of the makefile, *copy* a version of
> > ruby-libxml's headers into the libxslt tree.  Then install a
> > version check at the load of the .so to confirm that ruby's
> > libxml/libxslt bindings are the same as current or within a micro
> > release.
> >
> > How's that sound?  -sc
> 
> Well, it works, which is good enough for me :) I've now got the
> libxslt-ruby source compiling without warnings and passing all the
> tests.  I've not put the version check in yet - is there a better
> way than just comparing them with the header consts at the start of
> Init_libxslt ?

Nope, that's about it.  I'd look for major and minor versions.  Daniel
is pretty good about not breaking ABI with micro releases and think
I've done a decent job in the past with the libxml/xsl bindings.  -sc

-- 
Sean Chittenden
_______________________________________________
libxml-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to