[oe] [PATCH 02/10] ruby: add missing dependency on ruby-native

Martin Jansa martin.jansa at gmail.com
Fri Jul 5 09:24:54 UTC 2013


On Fri, Jul 05, 2013 at 10:26:00AM +0200, Henning Heinold wrote:
> On Fri, Jul 05, 2013 at 03:23:46AM +0200, Martin Jansa wrote:
> > * without ruby available on host it fails:
> >   | NOTE: make LIBRUBYARG=-lruby-static
> >   |       CC = i586-starfish-linux-gcc  -m32 -march=i586 --sysroot=/OE/sysroots/qemux86
> >   |       LD = i586-starfish-linux-ld --sysroot=/OE/sysroots/qemux86
> >   |       LDSHARED = i586-starfish-linux-gcc  -m32 -march=i586 --sysroot=/OE/sysroots/qemux86 -shared
> >   |       CFLAGS = -O2 -pipe -g -feliminate-unused-debug-types -fPIC
> >   |       XCFLAGS = -include ruby/config.h -include ruby/missing.h -fvisibility=hidden -DRUBY_EXPORT
> >   |       CPPFLAGS =   -I. -I.ext/include/i386-linux -I./include -I.
> >   |       DLDFLAGS = -Wl,-soname,libruby.so.1.9
> >   |       SOLIBS = -lpthread -lrt -ldl -lcrypt -lm
> >   | executable host ruby is required. use --with-baseruby option.
> >   | make: *** [.rbconfig.time] Error 1
> > ---
> >  meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
> > 
> > diff --git a/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb
> > index 7c5be36..868d0ff 100644
> > --- a/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb
> > +++ b/meta-ruby/recipes-devtools/ruby/ruby_1.9.3-p429.bb
> > @@ -1,7 +1,7 @@
> >  require ruby.inc
> >  PR = "${INC_PR}.0"
> >  
> > -DEPENDS += "libyaml"
> > +DEPENDS += "libyaml ruby-native"
> 
> Uhm,
> 
> after compiling ruby myself it has some more depends like ssl or gdbm or do you need only a minimal version?

I don't use target version at all, I was just fixing errors from
missing mandatory dependencies.

Feel free to add PACKAGECONFIGs for optional deps.

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20130705/34cde213/attachment-0002.sig>


More information about the Openembedded-devel mailing list