Hello,
>From the transcript you provided, it seems that the patch is not
necessary for your CentOS system.
>> ----------------- basic gem install -------------------------------
>> $ sudo gem install libxml-ruby
>> Need to update 5 gems from http://gems.rubyforge.org
...
>> make clean
>> Successfully installed libxml-ruby-0.3.8
>> Installing ri documentation for libxml-ruby-0.3.8...
>> ...
I'd like to know if you have libxml_so.so in
/opt/ruby-1.8.4/lib/ruby/gems/1.8/gems/libxml-ruby-0.3.8/ext/xml/
at this point (i.e., after 'gem install libxml-ruby').
In my Ubuntu system, the original gem erases that shared library file
after 'make clean'.
I'm curious because the following log
>> ----------------- check gem status --------------------------
>> $ gem check -t libxml-ruby
>> EXPECTING: TWO ERRORS:
>> Entity: line 1: parser error : Opening and ending tag mismatch: foo line
>> 1 and foz
>> <foo><bar/></foz>
>> ^
>> Entity: line 1: parser error : Opening and ending tag mismatch: foo line
>> 1 and foz
>> <foo><bar/></foz>
>> ^
suggests that you already have a working libxml-ruby here!!!
So the patch I submitted is not necessary for your CentOS system...
probably the patch is incorrect or at least incomplete.
I'm sorry if my patch confused you... but I've also verified that I need
to apply and rebuild a gem package to install it on an Ubuntu, a Gentoo,
and a MacOS X - so there seems to be a problem with the current gem
package anyway. Witout the patch, they all fail the 'gem check -t libxml-ruby'
test after issuing a message: no such file to load -- xml/libxml_so
I'll recheck the patch later to see what makes the difference.
Best Regards,
Masashi Shimbo
_______________________________________________
libxml-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/libxml-devel