# Problems installing libxml

**URL:** <https://rubytalk.org/t/problems-installing-libxml/35474>\
**Category:** ruby-talk\
**Created:** [19 February 2007 02:22 UTC](https://rubytalk.org/t/problems-installing-libxml/35474 "2007-02-19T02:22:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jenny\_w](https://avatars.discourse-cdn.com/v4/letter/j/e47774/32.png) [@jenny\_w](https://rubytalk.org/u/jenny_w)\
**Post date:** [19 February 2007 02:22 UTC](https://rubytalk.org/t/problems-installing-libxml/35474/1 "2007-02-19T02:22:36Z")

</div>

Hi, everyone,

I'm having trouble installing libxml-ruby and was hoping someone here could  
help. I've run into the same problem on both Mac OS X Tiger and Ubuntu Linux  
Dapper Drake (6.06 LTS). I've most recently tried installing on Dapper  
where I installed Ruby 1.8.5 from source. I've tried both installing the  
gem for the latest stable release (0.3.8.4) and also using the tarball for  
0.4.0pre01 (although the gem the Rakefile creates is called  
libxml-ruby-0.3.9.1.gem). Neither works.

Here's what I get when I try to install the development release:

> Building native extensions. This could take a while...  
> Successfully installed libxml-ruby, version 0.3.9.1  
> Installing ri documentation for libxml-ruby-0.3.9.1...
> 
> Enclosing class/module 'cXMLSaxParser' for module Callbacks not known
> 
> No definition for ruby\_xml\_html\_parser\_new\_file
> 
> No definition for ruby\_xml\_html\_parser\_new\_io
> 
> No definition for ruby\_xml\_html\_parser\_filename\_get
> 
> No definition for ruby\_xml\_html\_parser\_filename\_set
> 
> No definition for ruby\_xml\_html\_parser\_io\_get
> 
> No definition for ruby\_xml\_html\_parser\_io\_set
> 
> Enclosing class/module 'mXML' for class Reader not known
> 
> Enclosing class/module 'mXML' for class Attribute not known
> 
> No definition for input\_callbacks\_register\_input\_callbacks
> 
> No definition for input\_callbacks\_add\_scheme
> 
> No definition for input\_callbacks\_remove\_scheme  
> Installing RDoc documentation for libxml-ruby-0.3.9.1...
> 
> Enclosing class/module 'cXMLSaxParser' for module Callbacks not known
> 
> No definition for ruby\_xml\_html\_parser\_new\_file
> 
> No definition for ruby\_xml\_html\_parser\_new\_io
> 
> No definition for ruby\_xml\_html\_parser\_filename\_get
> 
> No definition for ruby\_xml\_html\_parser\_filename\_set
> 
> No definition for ruby\_xml\_html\_parser\_io\_get
> 
> No definition for ruby\_xml\_html\_parser\_io\_set
> 
> Enclosing class/module 'mXML' for class Reader not known
> 
> Enclosing class/module 'mXML' for class Attribute not known
> 
> No definition for input\_callbacks\_register\_input\_callbacks
> 
> No definition for input\_callbacks\_add\_scheme
> 
> No definition for input\_callbacks\_remove\_scheme

Any suggestions?

Thanks!
