[bitbake-devel] Question on including ruby 1.9.3 in embedded image

Ming Chan (chanm) chanm at cisco.com
Wed Jun 5 18:46:36 UTC 2013


Hi Experts,

We are trying to include ruby-1.9.3 by using the recipe in the meta-openembedded/meta-ruby (git://git.openembedded.org/meta-openembedded), Issues seen during the bitbake run:

  1.  While package ruby-native-1.9.3-p194-r1.0, task do_compile failed with "undefined symbol: rb_encdb_declare<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>", the work around this issue is to use --disable-rdoc
  2.  While package ruby-1.9.3-p194-r1.0, task do_compile failed with the following:
     *
template/Doxyfile.tmpl:22: uninitialized constant RUBY_REVISION (NameError).  The work around is to use 0 instead of RUBY_REVISION.
     *   executable host ruby is required.  The work around is to use --with-baseruby option and provide baseruby from build machine.
     *   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.
     *   The current issue is "../.././lib/erb.rb:586:in `compile': undefined method `encoding' for
#<String:0x2a9560fee0> (NoMethodError)"

Does it make sense for the work around described?  Any requirement (i.e. The version of gcc) is needed to use  the recipe in the meta-openembedded/meta-ruby?


Thanks in advance !!!

--Ming
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20130605/cbf3d4f2/attachment-0002.html>


More information about the bitbake-devel mailing list