Re: [libxml-devel] libxml-ruby 1.0.0 fails to install with libxml 2.6.27

2009-03-09 Thread Tom Hughes
Charlie Savage wrote: The comment says the functions were added to libxml in 2.6.27 but the code is included for all versions <= 2.6.27 so if you happen to have exactly 2.6.27 on your system then you get a double definition. Yup, should be < not <=. I take it you are using 2.6.27? Well on

Re: [libxml-devel] libxml-ruby 1.0.0 fails to install with libxml 2.6.27

2009-03-09 Thread Charlie Savage
There is some code in ext/libxml/ruby_xml_html_parser_context.c that defines a couple of functions for older versions of libxml that are included in newer versions. Right, those were added for OS X compatibility, since it has version 2.6.16. They actually exist in older libxml versions, but a

[libxml-devel] libxml-ruby 1.0.0 fails to install with libxml 2.6.27

2009-03-09 Thread Tom Hughes
There is some code in ext/libxml/ruby_xml_html_parser_context.c that defines a couple of functions for older versions of libxml that are included in newer versions. The comment says the functions were added to libxml in 2.6.27 but the code is included for all versions <= 2.6.27 so if you happe