Dimitri, I'll look into making paths with and without the '/' work. Thanks for checking it out! Keep an eye out for the next release. Kev On 6/29/06, Dimitri Aivaliotis <aglarond / gmail.com> wrote: > Hi Kevin, > > On 6/28/06, Kevin Clark <kevin.clark / gmail.com> wrote: > > > > > > **Please do try mkrf with your extensions. Please do send feedback.** > > > > I was able to compile teius, the libxml wrapper, like so: > > require 'mkrf' > Mkrf::Generator.new('../lib/teius.so','teius.c') do |g| > g.include_header('libxml/parser.h','/usr/include/libxml2/') > g.include_header('libxml/tree.h','/usr/include/libxml2/') > g.include_header('libxml/xpath.h','/usr/include/libxml2/') > g.include_library('xml2') > g.include_library('xslt') > end > > rake > > Great! One thing, though: the 'path' in 'include_header' has to have a '/' > at the end, or else it's not added to the INCLUDES. This is error-prone and > inconsistent to how includes are written on the command-line. > > It did better than the standard 'gem install teius', which did not find the > includes properly on my system (the Makefile has '/usr/include/libxml'). > > Nice tool! > > - Dimitri > > -- Kevin Clark http://glu.ttono.us