<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; ">
Hi Experts,&nbsp;</div>
<div style="color: rgb(0, 0, 0); font-family: Calibri, sans-serif; font-size: 14px; ">
<br>
</div>
<div><font face="Calibri,sans-serif">We are trying to include ruby-1.9.3 by using the recipe in the</font>&nbsp;<span style="color: rgb(0, 0, 0); font-size: medium; ">meta-openembedded/meta-ruby
</span><span style="color: rgb(0, 0, 0); font-size: medium; ">(</span>git://git.openembedded.org/meta-openembedded), Issues seen during the bitbake run:</div>
<ol>
<li>While package&nbsp;ruby-native-1.9.3-p194-r1.0, task do_compile failed with &quot;<a href="https://www.google.com/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=6&amp;ved=0CFAQFjAF&amp;url=http%3A%2F%2Fredcricketblog.blogspot.com%2F2012%2F11%2Fundefined-symbol-rbencdbdeclare-when.html&amp;ei=pweuUfKeAo-84APUmIDYBw&amp;usg=AFQjCNHuVyAc5etRS6QWb_2pZ-ow76TXVQ&amp;sig2=UY_7YNA1ozt7odj4q2tljA&amp;bvm=bv.47244034,d.dmg" style="text-align: left; white-space: nowrap; color: rgb(17, 34, 204); cursor: pointer; "><font color="#1122cc"><span style="text-align: left; white-space: nowrap; cursor: pointer; ">undefined
 symbol:&nbsp;</span></font><em style="text-align: left; white-space: nowrap; color: rgb(17, 34, 204); cursor: pointer; font-weight: bold; font-style: normal; ">rb_encdb_declare</em></a>&quot;, the work around this issue is to use --disable-rdoc&nbsp;</li><li>While package&nbsp;ruby-1.9.3-p194-r1.0, task do_compile failed with the following:
<ul>
<li>
<div>template/Doxyfile.tmpl:22: uninitialized constant RUBY_REVISION&nbsp;(NameError). &nbsp;The work around is to use 0 instead of&nbsp;RUBY_REVISION.</div>
</li><li>executable host ruby is required. &nbsp;The work around is to use --with-baseruby option and provide&nbsp;baseruby from build machine.</li><li>ext/etc/extconf.rb:8: undefined method `escape' for Shellwords. &nbsp;This issue is caused by the version of executable host ruby is to old. &nbsp;This issue disappeared after using ruby-1.8.7 on the build machine.</li><li>The current issue is &quot;../.././lib/erb.rb:586:in `compile': undefined method `encoding'&nbsp;for
<div>#&lt;String:0x2a9560fee0&gt; (NoMethodError)&quot;</div>
</li></ul>
</li></ol>
<div>Does it make sense for the work around described? &nbsp;Any requirement (i.e. The version of gcc) is needed to use &nbsp;t<font face="Calibri,sans-serif">he recipe in the</font>&nbsp;meta-openembedded/meta-ruby?&nbsp;</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks in advance !!!</div>
<div><br>
</div>
<div>--Ming</div>
</body>
</html>