I am trying to install libxml-ruby for Ruby 1.9 under Debian. There is no
Debian libxml-ruby1.9, so I typed the following command:

sudo gem1.9 install libxml-ruby

The result is the following error:

In file included from libxml.c:5:
ruby_libxml.h:10:18: error: util.h: No such file or directory

I tried changing util.h to ruby/util.h in ruby_libxml.h , but I just got
another error:

ruby_xml_xpath_context.c: In function
'ruby_xml_xpath_context_register_namespaces':
ruby_xml_xpath_context.c:212: error: 'struct RHash' has no member named
'tbl'


What is going on? Is this a problem with my system or with the gem? I have
not done anything unorthodox with my Ruby installation, so I suspect the
latter. Please advise.

--AC
_______________________________________________
libxml-devel mailing list
libxml-devel@rubyforge.org
http://rubyforge.org/mailman/listinfo/libxml-devel

Reply via email to