[libxml-devel] Installation problem - ruby 1.9.0 on Ubuntu 8.10

fritzvl fritzvl at gmail.com
Tue Feb 24 15:45:31 EST 2009


After some pause I returned to the extension building problem.
So version 0.9.7 has been build successfully.I just add an include of 
stdlib.h by default into my /usr/../i486-linux/rbconfig.rb, and solved 
the problem.

With 0.9.8 i have to change include path for st.h to "ruby/st.h"in the :
ruby_xml_xpath_context.c and ruby_xml_document.c

Then i run make mannualy ang got the error message :

ruby_xml_node.c: In function ‘rxml_constant_stringref’:
ruby_xml_node.c:1248: error: lvalue required as left operand of assignment
ruby_xml_node.c:1249: warning: pointer targets in passing argument 1 of 
‘strlen’ differ in signedness
ruby_xml_node.c:1249: error: lvalue required as left operand of assignment
ruby_xml_node.c:1250: error: ‘struct RString’ has no member named ‘aux’



More information about the libxml-devel mailing list