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’

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

Reply via email to