From: Masao M. <mu...@hi...> - 2006-06-17 08:23:00
|
須藤さん むとうです。 Ruby/Popplerがコンパイルできなかったのでご報告します。 Poppler、Ruby/PopplerともにCVS版です。 [mutoh@linux]~/dev/ruby/gnome-ruby/sf/cvs/ruby-gnome2/poppler% ruby extconf.rb checking for GCC... yes checking for rb_define_alloc_func()... yes checking for rb_block_proc()... yes checking for new allocation framework... yes checking for attribute assignment... yes checking for poppler-glib... yes checking for G_PLATFORM_WIN32... no checking for cairo... yes checking for rb_cairo.h... yes creating rbpopplerversion.h creating Makefile [mutoh@linux]~/dev/ruby/gnome-ruby/sf/cvs/ruby-gnome2/poppler% make make[1]: Entering directory `/home/mutoh/dev/ruby/gnome-ruby/sf/cvs/ruby-gnome2/poppler/src' gcc -fPIC -g -O2 -Wall -I/usr/include/poppler/glib -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/cairo -I/home/mutoh/dev/ruby/gnome-ruby/sf/cvs/ruby-gnome2/glib/src -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I/home/mutoh/dev/ruby/gnome-ruby/sf/cvs/ruby-gnome2/poppler/src -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_RB_CAIRO_H -DRUBY_POPPLER_COMPILATION -I/usr/lib/ruby/site_ruby/1.8/i686-linux -c rbpoppler-attachment.c gcc -fPIC -g -O2 -Wall -I/usr/include/poppler/glib -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/cairo -I/home/mutoh/dev/ruby/gnome-ruby/sf/cvs/ruby-gnome2/glib/src -I. -I/usr/lib/ruby/1.8/i686-linux -I/usr/lib/ruby/1.8/i686-linux -I/home/mutoh/dev/ruby/gnome-ruby/sf/cvs/ruby-gnome2/poppler/src -DHAVE_RB_DEFINE_ALLOC_FUNC -DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN -DHAVE_RB_CAIRO_H -DRUBY_POPPLER_COMPILATION -I/usr/lib/ruby/site_ruby/1.8/i686-linux -c rbpoppler-page.c rbpoppler-page.c: In function ‘page_render_selection’: rbpoppler-page.c:154: error: incompatible type for argument 2 of ‘poppler_page_render_selection’ rbpoppler-page.c:154: 警告: passing argument 3 of ‘poppler_page_render_selection’ makes integer from pointer without a cast rbpoppler-page.c:154: 警告: passing argument 4 of ‘poppler_page_render_selection’ from incompatible pointer type rbpoppler-page.c:154: 警告: passing argument 5 of ‘poppler_page_render_selection’ from incompatible pointer type rbpoppler-page.c:154: 警告: passing argument 6 of ‘poppler_page_render_selection’ from incompatible pointer type rbpoppler-page.c:154: error: too few arguments to function ‘poppler_page_render_selection’ rbpoppler-page.c: In function ‘page_render_selection_to_pixbuf’: rbpoppler-page.c:169: 警告: implicit declaration of function ‘poppler_page_render_selection_to_pixbuf’ make[1]: *** [rbpoppler-page.o] エラー 1 make[1]: Leaving directory `/home/mutoh/dev/ruby/gnome-ruby/sf/cvs/ruby-gnome2/poppler/src' make: *** [all] エラー 2 GLIST2ARYFの件で、Ruby/Popplerの方にも手を入れようかと 思ってたんですが、ちょっと上記の件が出てしまったのでやめました。 -- .:% Masao Mutoh<mu...@hi...> |