librelist archives

« back to archive

http://librelist.com/browser/shoes/

http://librelist.com/browser/shoes/

From:
Ruby Student
Date:
2013-04-20 @ 15:13
Hi There,

I am not sure if I am doing this right. I would like to ask a question to
the shoes maling list:* /librelist.com/browser/shoes/*

I am trying to install *shoes* on *RedHat LINUX*, 64-bit.

*ruby -v*
*ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]*

I followed the instructions suggested @:
https://github.com/shoes/shoes/wiki/Building-Shoes-on-Linux

Everything went well until the very last command, the *rake* command, which
failed. The following is the entire processing from the *rake* command.
Perhaps someone can help me out.

shoes]# *rake*
/usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
mkdir -p dist
gcc -I. -c -o shoes/image.o -Wall -I/usr/include -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
-I/usr/local/include/ruby-1.9.1
-I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
-fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
shoes/image.c
gcc -I. -c -o shoes/world.o -Wall -I/usr/include -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
-I/usr/local/include/ruby-1.9.1
-I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
-fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
shoes/world.c
shoes/world.c: In function ‘shoes_ruby_embed’:
shoes/world.c:92: warning: unused variable ‘sysinit_argv’
gcc -I. -c -o shoes/app.o -Wall -I/usr/include -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
-I/usr/local/include/ruby-1.9.1
-I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
-fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
shoes/app.c
shoes/app.c:313: warning: ‘rb_unbound_get_class’ defined but not used
gcc -I. -c -o shoes/internal.o -Wall -I/usr/include -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
-I/usr/local/include/ruby-1.9.1
-I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
-fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
shoes/internal.c
gcc -I. -c -o shoes/canvas.o -Wall -I/usr/include -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
-I/usr/local/include/ruby-1.9.1
-I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
-fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
shoes/canvas.c
shoes/canvas.c: In function ‘shoes_canvas_shape’:
shoes/canvas.c:799: warning: implicit declaration of function ‘round’
shoes/canvas.c:799: warning: incompatible implicit declaration of built-in
function ‘round’
shoes/canvas.c: In function ‘shoes_canvas_snapshot’:
shoes/canvas.c:1413: warning: unused variable ‘waz_cr’
gcc -I. -c -o shoes/effects.o -Wall -I/usr/include -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
-I/usr/local/include/ruby-1.9.1
-I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
-fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
shoes/effects.c
gcc -I. -c -o shoes/ruby.o -Wall -I/usr/include -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
-I/usr/local/include/ruby-1.9.1
-I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
-fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
shoes/ruby.c
shoes/ruby.c: In function ‘shoes_http_threaded’:
shoes/ruby.c:4100: warning: format ‘%s’ expects type ‘char *’, but argument
3 has type ‘VALUE’
shoes/ruby.c:4100: warning: format ‘%s’ expects type ‘char *’, but argument
4 has type ‘VALUE’
shoes/ruby.c:4100: warning: format ‘%d’ expects type ‘int’, but argument 5
has type ‘VALUE’
shoes/ruby.c:4100: warning: format ‘%s’ expects type ‘char *’, but argument
7 has type ‘VALUE’
gcc -I. -c -o shoes/native/gtk.o -Wall -I/usr/include -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
-I/usr/local/include/ruby-1.9.1
-I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
-fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
shoes/native/gtk.c
shoes/native/gtk.c: In function ‘shoes_app_g_poll’:
shoes/native/gtk.c:474: warning: ‘rb_thread_select’ is deprecated (declared
at /usr/local/include/ruby-1.9.1/ruby/intern.h:379)
gcc -I. -c -o shoes/http/curl.o -Wall -I/usr/include -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
-I/usr/local/include/ruby-1.9.1
-I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
-fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
shoes/http/curl.c
gcc -o dist/libshoes.so shoes/image.o shoes/world.o shoes/app.o
shoes/internal.o shoes/canvas.o shoes/effects.o shoes/ruby.o
shoes/native/gtk.o shoes/http/curl.o  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo
-lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
-lcurl -fPIC -shared -lruby -lcairo -lpangocairo-1.0 -lungif -ljpeg -lrt
-L/usr/local/lib -lcairo -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
gcc -I. -c -o bin/main.o -Wall -I/usr/include -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
-I/usr/local/include/ruby-1.9.1
-I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
-fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
-I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
bin/main.c
gcc -Ldist -o dist/shoes-bin bin/main.o -lruby -lcairo -lpangocairo-1.0
-lungif -ljpeg -lrt -L/usr/local/lib -lcairo -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -lglib-2.0 -lshoes -L.  -rdynamic -Wl,-export-dynamic
bin/main.o: In function `main':
main.c:(.text+0x64): undefined reference to `ruby_snprintf'
main.c:(.text+0xa7): undefined reference to `ruby_run_node'
dist/libshoes.so: undefined reference to `ruby_vsnprintf'
dist/libshoes.so: undefined reference to `rb_str_new_cstr'
dist/libshoes.so: undefined reference to `rb_intern2'
collect2: ld returned 1 exit status
rake aborted!
Command failed with status (1): [gcc -Ldist -o dist/shoes-bin bin/main.o
-l...]

Tasks: TOP => default => build => linux:build => old_build => build_os =>
dist/shoes => linux:make_app
(See full trace by running task with --trace)

Thank you

-- 
Ruby Student

Re: [list] http://librelist.com/browser/shoes/

From:
Eugene Eeo
Date:
2013-04-21 @ 01:23
Maybe there's something wrong with your Rakefile? BTW, you should provide
your current distro, eg Ubuntu, Arch, etc. May be a distro specific problem.

From Eeo Jun <http://eugene-eeo.github.com/>


On Sat, Apr 20, 2013 at 11:13 PM, Ruby Student <ruby.student@gmail.com>wrote:

> Hi There,
>
> I am not sure if I am doing this right. I would like to ask a question to
> the shoes maling list:* /librelist.com/browser/shoes/*
>
> I am trying to install *shoes* on *RedHat LINUX*, 64-bit.
>
> *ruby -v*
> *ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-linux]*
>
> I followed the instructions suggested @:
> https://github.com/shoes/shoes/wiki/Building-Shoes-on-Linux
>
> Everything went well until the very last command, the *rake* command,
> which failed. The following is the entire processing from the 
*rake*command. Perhaps someone can help me out.
>
> shoes]# *rake*
> /usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
> It seems your ruby installation is missing psych (for YAML output).
> To eliminate this warning, please install libyaml and reinstall your ruby.
> mkdir -p dist
> gcc -I. -c -o shoes/image.o -Wall -I/usr/include -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
> -I/usr/local/include/ruby-1.9.1
> -I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
> -fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> shoes/image.c
> gcc -I. -c -o shoes/world.o -Wall -I/usr/include -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
> -I/usr/local/include/ruby-1.9.1
> -I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
> -fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> shoes/world.c
> shoes/world.c: In function ‘shoes_ruby_embed’:
> shoes/world.c:92: warning: unused variable ‘sysinit_argv’
> gcc -I. -c -o shoes/app.o -Wall -I/usr/include -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
> -I/usr/local/include/ruby-1.9.1
> -I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
> -fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> shoes/app.c
> shoes/app.c:313: warning: ‘rb_unbound_get_class’ defined but not used
> gcc -I. -c -o shoes/internal.o -Wall -I/usr/include -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
> -I/usr/local/include/ruby-1.9.1
> -I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
> -fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> shoes/internal.c
> gcc -I. -c -o shoes/canvas.o -Wall -I/usr/include -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
> -I/usr/local/include/ruby-1.9.1
> -I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
> -fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> shoes/canvas.c
> shoes/canvas.c: In function ‘shoes_canvas_shape’:
> shoes/canvas.c:799: warning: implicit declaration of function ‘round’
> shoes/canvas.c:799: warning: incompatible implicit declaration of built-in
> function ‘round’
> shoes/canvas.c: In function ‘shoes_canvas_snapshot’:
> shoes/canvas.c:1413: warning: unused variable ‘waz_cr’
> gcc -I. -c -o shoes/effects.o -Wall -I/usr/include -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
> -I/usr/local/include/ruby-1.9.1
> -I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
> -fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> shoes/effects.c
> gcc -I. -c -o shoes/ruby.o -Wall -I/usr/include -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
> -I/usr/local/include/ruby-1.9.1
> -I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
> -fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> shoes/ruby.c
> shoes/ruby.c: In function ‘shoes_http_threaded’:
> shoes/ruby.c:4100: warning: format ‘%s’ expects type ‘char *’, but
> argument 3 has type ‘VALUE’
> shoes/ruby.c:4100: warning: format ‘%s’ expects type ‘char *’, but
> argument 4 has type ‘VALUE’
> shoes/ruby.c:4100: warning: format ‘%d’ expects type ‘int’, but argument 5
> has type ‘VALUE’
> shoes/ruby.c:4100: warning: format ‘%s’ expects type ‘char *’, but
> argument 7 has type ‘VALUE’
> gcc -I. -c -o shoes/native/gtk.o -Wall -I/usr/include -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
> -I/usr/local/include/ruby-1.9.1
> -I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
> -fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> shoes/native/gtk.c
> shoes/native/gtk.c: In function ‘shoes_app_g_poll’:
> shoes/native/gtk.c:474: warning: ‘rb_thread_select’ is deprecated
> (declared at /usr/local/include/ruby-1.9.1/ruby/intern.h:379)
> gcc -I. -c -o shoes/http/curl.o -Wall -I/usr/include -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
> -I/usr/local/include/ruby-1.9.1
> -I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
> -fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> shoes/http/curl.c
> gcc -o dist/libshoes.so shoes/image.o shoes/world.o shoes/app.o
> shoes/internal.o shoes/canvas.o shoes/effects.o shoes/ruby.o
> shoes/native/gtk.o shoes/http/curl.o  -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
> -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo
> -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
> -lcurl -fPIC -shared -lruby -lcairo -lpangocairo-1.0 -lungif -ljpeg -lrt
> -L/usr/local/lib -lcairo -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
> gcc -I. -c -o bin/main.o -Wall -I/usr/include -I/usr/include/cairo
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/local/lib/ruby/1.9.1/x86_64-linux
> -I/usr/local/include/ruby-1.9.1
> -I/usr/local/include/ruby-1.9.1/x86_64-linux -O  -DRUBY_1_9 -DSHOES_GTK
> -fPIC -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
> bin/main.c
> gcc -Ldist -o dist/shoes-bin bin/main.o -lruby -lcairo -lpangocairo-1.0
> -lungif -ljpeg -lrt -L/usr/local/lib -lcairo -lpango-1.0 -lgobject-2.0
> -lgmodule-2.0 -lglib-2.0 -lshoes -L.  -rdynamic -Wl,-export-dynamic
> bin/main.o: In function `main':
> main.c:(.text+0x64): undefined reference to `ruby_snprintf'
> main.c:(.text+0xa7): undefined reference to `ruby_run_node'
> dist/libshoes.so: undefined reference to `ruby_vsnprintf'
> dist/libshoes.so: undefined reference to `rb_str_new_cstr'
> dist/libshoes.so: undefined reference to `rb_intern2'
> collect2: ld returned 1 exit status
> rake aborted!
> Command failed with status (1): [gcc -Ldist -o dist/shoes-bin bin/main.o
> -l...]
>
> Tasks: TOP => default => build => linux:build => old_build => build_os =>
> dist/shoes => linux:make_app
> (See full trace by running task with --trace)
>
> Thank you
>
> --
> Ruby Student