2016-05-14 9 views
0

私はLinuxとRubyの初心者です。私の32ビットノートPCにはOpenSUSE 13.2がインストールされており、these instructionsに続いてshoesをインストールしようとしました。私はrakeを入力したときしかし、それが実行を開始し、その後、このエラーメッセージを示す:OpenSUSEで靴を作る - レーキのエラー

gcc -I. -c -o shoes/effects.o -Wall -I/usr/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/ruby/2.1.0/i586-linux-gnu -I/usr/include/ruby-2.1.0 -I/usr/include/ruby-2.1.0/i586-linux-gnu -O -DRUBY_1_9 -DSHOES_GTK -fPIC -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 shoes/effects.c 
    gcc -I. -c -o shoes/image.o -Wall -I/usr/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libdrm -I/usr/include/libpng16 -pthread -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/lib/ruby/2.1.0/i586-linux-gnu -I/usr/include/ruby-2.1.0 -I/usr/include/ruby-2.1.0/i586-linux-gnu -O -DRUBY_1_9 -DSHOES_GTK -fPIC -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/libpng16 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/freetype2 shoes/image.c 
    shoes/image.c: In function ‘shoes_surface_create_from_gif’: 
    ^
    In file included from shoes/image.c:31:0: 
    /usr/include/gif_lib.h:178:14: note: declared here 
    GifFileType *DGifOpenFileName(const char *GifFileName, int *Error); 
       ^
    shoes/image.c: In function ‘shoes_surface_create_from_jpeg’: 
    shoes/image.c:543:39: warning: variable ‘prevy’ set but not used   [-Wunused-but-set-variable] 
     int x, y, w, h, l, i, scans, count, prevy; 
             ^
    shoes/image.c:543:32: warning: variable ‘count’ set but not used   [-Wunused-but-set-variable] 
     int x, y, w, h, l, i, scans, count, prevy; 
            ^
    rake aborted! 
    Command failed with status (1): [gcc -I. -c -o shoes/image.o -Wall -I/usr/i...] 
    /home/Miotti/shoes/Rakefile:214:in `cc' 
    /home/Miotti/shoes/Rakefile:222:in `block in <top (required)>' 
    Tasks: TOP => default => build => linux:build => old_build => build_os => dist/shoes => dist/libshoes.so => shoes/image.o 
    (See full trace by running task with --trace) 

私は私が今になってる何さっぱりだが。このエラーを検索しましたが、何も見つかりませんでした。手伝って頂けますか?前もって感謝します。更新Shoes3があり

答えて

1

、あなたは、このいずれかを試してみてください:一旦全ての依存関係が満たされている
https://github.com/Shoes3/shoes3
手順https://github.com/Shoes3/shoes3/wiki/5.0-Building-Shoes
、それはLinuxの
ここにあり (バイナリに簡単にする必要があります - 靴3.3.1 - http://shoesrb.com/downloads/

+0

実際にはもう1つ問題があります。私は 'shoes'をうまくインストールしましたが、その後私は自分のラップトップをフォーマットしなければなりませんでした。さて、 'rake 'とタイプすると、' unknown architecture'が表示されます。時には 'pkg-config'の中に' ruby​​-2.1.pc'ファイルを見つけることができないとも言われています。何か案が? –

+0

はrubyインストールの問題のようです。rvm:https://rvm.io/ – guest

+0

いいえ、私はそれをインストールするためにRVMを使いました。私は上記のリンクからすべてのステップを実行しました。 rubyをインストールした –