<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, </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> <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 ruby-native-1.9.3-p194-r1.0, task do_compile failed with "<a href="https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=6&ved=0CFAQFjAF&url=http%3A%2F%2Fredcricketblog.blogspot.com%2F2012%2F11%2Fundefined-symbol-rbencdbdeclare-when.html&ei=pweuUfKeAo-84APUmIDYBw&usg=AFQjCNHuVyAc5etRS6QWb_2pZ-ow76TXVQ&sig2=UY_7YNA1ozt7odj4q2tljA&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: </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>", the work around this issue is to use --disable-rdoc </li><li>While package 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 (NameError). The work around is to use 0 instead of RUBY_REVISION.</div>
</li><li>executable host ruby is required. The work around is to use --with-baseruby option and provide baseruby from build machine.</li><li>ext/etc/extconf.rb:8: undefined method `escape' for Shellwords. This issue is caused by the version of executable host ruby is to old. This issue disappeared after using ruby-1.8.7 on the build machine.</li><li>The current issue is "../.././lib/erb.rb:586:in `compile': undefined method `encoding' for
<div>#<String:0x2a9560fee0> (NoMethodError)"</div>
</li></ul>
</li></ol>
<div>Does it make sense for the work around described? Any requirement (i.e. The version of gcc) is needed to use t<font face="Calibri,sans-serif">he recipe in the</font> meta-openembedded/meta-ruby? </div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks in advance !!!</div>
<div><br>
</div>
<div>--Ming</div>
</body>
</html>