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

Henning Heinold heinold at inf.fu-berlin.de
Fri Jul 5 08:26:00 UTC 2013


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?

Bye Henning



More information about the Openembedded-devel mailing list