<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    update your gem and rubygems.<br>
    gem update --system 1.3.7<br>
    gem install rubygems-update<br>
    <br>
    <br>
    I hope this helps.<br>
    <br>
    --Mooman<br>
    On 19/01/2012 7:31 AM, Florian Antonescu wrote:
    <blockquote
cite="mid:CAN-Wb1R9dDJHm14oQ9YMsOGESj8zbGeYjLY+vN9oqr8-5e+6oA@mail.gmail.com"
      type="cite">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?
      <div><br>
      </div>
      <div>Best regards,</div>
      <div>Florian Antonescu</div>
      <div><br>
      </div>
      <div>
        <div>No LSB modules are available.</div>
        <div>Distribution "debian" detected.</div>
        <div>About to install these dependencies:</div>
        <div>* gcc</div>
        <div>* libexpat1-dev</div>
        <div><br>
        </div>
        <div>Press enter to continue...</div>
        <div><br>
        </div>
        <div>apt-get install gcc libexpat1-dev</div>
        <div>Reading package lists... Done</div>
        <div>Building dependency tree</div>
        <div>Reading state information... Done</div>
        <div>gcc is already the newest version.</div>
        <div>libexpat1-dev is already the newest version.</div>
        <div>0 upgraded, 0 newly installed, 0 to remove and 303 not
          upgraded.</div>
        <div>About to install the gems for these components:</div>
        <div>* optional</div>
        <div>* sunstone</div>
        <div>* quota</div>
        <div>* cloud</div>
        <div>* ozones_server</div>
        <div>* acct</div>
        <div>* auth_ldap</div>
        <div><br>
        </div>
        <div>Press enter to continue...</div>
        <div><br>
        </div>
        <div>rake="/usr/bin/rake" gem install --no-ri --no-rdoc
          xmlparser</div>
        <div>Building native extensions.  This could take a while...</div>
        <div>ERROR:  Error installing xmlparser:</div>
        <div>        ERROR: Failed to build gem native extension.</div>
        <div><br>
        </div>
        <div>        /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</div>
        <div>rm -rf test/coverage</div>
        <div>NOTE: Gem::Specification#has_rdoc= is deprecated with no
          replacement. It will be removed on or after 2011-10-01.</div>
        <div>Gem::Specification#has_rdoc= called from
          /var/lib/gems/1.8/gems/mkrf-0.2.3/lib/mkrf/rakehelper.rb:81</div>
        <div>.</div>
        <div>NOTE: Gem::Specification#has_rdoc= is deprecated with no
          replacement. It will be removed on or after 2011-10-01.</div>
        <div>Gem::Specification#has_rdoc= called from
          /var/lib/gems/1.8/gems/xmlparser-0.6.81/Rakefile:30</div>
        <div>.</div>
        <div>/usr/bin/ruby1.8 mkrf_conf.rb</div>
        <div>(in /var/lib/gems/1.8/gems/xmlparser-0.6.81)</div>
        <div>rake</div>
        <div>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</div>
        <div>(in /var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser)</div>
        <div>xmlparser.c: In function âXMLParser_getIdAttrributeâ:</div>
        <div>xmlparser.c:2022:16: error: âXMLParserâ has no member named
          âlastAttrsâ</div>
        <div>
          rake aborted!</div>
        <div>Command failed with status (1): [gcc  -fPIC
          -fno-strict-aliasing -g -g -O2 ...]</div>
        <div>/var/lib/gems/1.8/gems/xmlparser-0.6.81/ext/xmlparser/Rakefile:29</div>
        <div>(See full trace by running task with --trace)</div>
        <div>rake aborted!</div>
        <div>Command failed with status (1): [rake...]</div>
        <div><br>
        </div>
        <div>(See full trace by running task with --trace)</div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>Gem files will remain installed in
          /var/lib/gems/1.8/gems/xmlparser-0.6.81 for inspection.</div>
        <div>Results logged to
          /var/lib/gems/1.8/gems/xmlparser-0.6.81/./gem_make.out</div>
        <div>Error executing rake="/usr/bin/rake" gem install --no-ri
          --no-rdoc xmlparser</div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>