[one-users] problem with xmlparser installation

knawnd at gmail.com knawnd at gmail.com
Mon Sep 12 01:12:05 PDT 2011

Hi Steve,

I faced with the same problem trying to prepare a build environment for 
OpenNebula-2.2.1 on CentOS-5.6 x86_64:

Steven Timm wrote on 09/09/11 18:34:
> But still get stuck on nokogiri (needs ruby > 1.8.7),
> rake (needs rubygems 1.3.2)
> xmlparser (depends on rake)
[root at FN]$ gem install nokogiri rake xmlparser

The execution of that command may fail with error like
ERROR:  Error installing nokogiri:
        nokogiri requires Ruby version >= 1.8.7
ERROR:  Error installing rake:
        rake requires RubyGems version >= 1.3.2
Building native extensions.  This could take a while...
ERROR:  Error installing xmlparser:
        ERROR: Failed to build gem native extension.

rake RUBYARCHDIR=/usr/lib/ruby/gems/1.8/gems/xmlparser-0.6.81/lib 
sh: rake: command not found

Gem files will remain installed in 
/usr/lib/ruby/gems/1.8/gems/xmlparser-0.6.81 for inspection.
Results logged to /usr/lib/ruby/gems/1.8/gems/xmlparser-0.6.81/gem_make.out

I installed ruby-enterprise-1.8.7-3 ruby-enterprise-rubygems-1.3.2-2 
from Southbridge repo (http://rpms.southbridge.ru/)
$ yum --enablerepo="southbridge-stable" install ruby-enterprise-1.8.7-3 

and could successfully install nokogiri and rake:

$ yum install libxml2-devel.x86_64 libxslt-devel.x86_64
$ gem install nokogiri rake

but xmlparser installation via command 'gem install xmlparser' fails 
(gem_make.out is attached).

Does someone know how to fix that?

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gem_make.out
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110912/a451cbdc/attachment-0003.txt>

More information about the Users mailing list