update your gem and rubygems. gem update --system 1.3.7 gem install rubygems-update
I hope this helps. --Mooman On 19/01/2012 7:31 AM, Florian Antonescu wrote: > I get an error (see below) when trying to > run opennebula-3.2.0/share/install_gems/install_gems Can someone give > me a hint on how to proceed? > > Best regards, > Florian Antonescu > > No LSB modules are available. > Distribution "debian" detected. > About to install these dependencies: > * gcc > * libexpat1-dev > > Press enter to continue... > > apt-get install gcc libexpat1-dev > Reading package lists... Done > Building dependency tree > Reading state information... Done > gcc is already the newest version. > libexpat1-dev is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 303 not upgraded. > About to install the gems for these components: > * optional > * sunstone > * quota > * cloud > * ozones_server > * acct > * auth_ldap > > Press enter to continue... > > rake="/usr/bin/rake" gem install --no-ri --no-rdoc xmlparser > Building native extensions. This could take a while... > ERROR: Error installing xmlparser: > ERROR: Failed to build gem native extension. > > /usr/bin/rake > RUBYARCHDIR=/var/lib/gems/1.8/gems/xmlparser-0.6.81/lib > RUBYLIBDIR=/var/lib/gems/1.8/gems/xmlparser-0.6.81/lib > rm -rf test/coverage > NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. > It will be removed on or after 2011-10-01. > Gem::Specification#has_rdoc= called from > /var/lib/gems/1.8/gems/mkrf-0.2.3/lib/mkrf/rakehelper.rb:81 > . > NOTE: Gem::Specification#has_rdoc= is deprecated with no replacement. > It will be removed on or after 2011-10-01. > Gem::Specification#has_rdoc= called from > /var/lib/gems/1.8/gems/xmlparser-0.6.81/Rakefile:30 > . > /usr/bin/ruby1.8 mkrf_conf.rb > (in /var/lib/gems/1.8/gems/xmlparser-0.6.81) > rake > gcc -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -DHAVE_EXPAT_H > -I/usr/include -I/usr/lib/ruby/1.8/x86_64-linux > -I/usr/local/lib/site_ruby/1.8 -I. -c xmlparser.c > (in /var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser) > xmlparser.c: In function âXMLParser_getIdAttrributeâ: > xmlparser.c:2022:16: error: âXMLParserâ has no member named âlastAttrsâ > rake aborted! > Command failed with status (1): [gcc -fPIC -fno-strict-aliasing -g -g > -O2 ...] > /var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser/Rakefile:29 > (See full trace by running task with --trace) > rake aborted! > Command failed with status (1): [rake...] > > (See full trace by running task with --trace) > > > Gem files will remain installed in > /var/lib/gems/1.8/gems/xmlparser-0.6.81 for inspection. > Results logged to /var/lib/gems/1.8/gems/xmlparser-0.6.81/./gem_make.out > Error executing rake="/usr/bin/rake" gem install --no-ri --no-rdoc > xmlparser > > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
