Poppler 0.90.2 gem

Hi,

My system fails to install the poppler gem unless the gtk gem is
installed first. Should poppler declare a dependency on gtk to ensure
this happens?

This is the error I get:

cc -I. -I/var/lib/gems/1.8/gems/gdk_pixbuf2-0.90.2/ext/gdk_pixbuf2
-I/var/lib/gems/1.8/gems/gdk_pixbuf2-0.90.2/ext/gdk_pixbuf2
-I/var/lib/gems/1.8/gems/gdk_pixbuf2-0.90.2/ext/gdk_pixbuf2
-I/var/lib/gems/1.8/gems/poppler-0.90.2/ext/poppler/gtk2-0.90.2/ext/gtk2
-I/var/lib/gems/1.8/gems/gtk2-0.90.2/ext/gtk2
-I/var/lib/gems/1.8/gems/glib2-0.90.2/ext/glib2
-I/var/lib/gems/1.8/gems/glib2-0.90.2/ext/glib2
-I/var/lib/gems/1.8/gems/glib2-0.90.2/ext/glib2 -I.
-I/usr/lib/ruby/1.8/x86_64-linux -I.
-I/usr/local/lib/site_ruby/1.8/x86_64-linux -DHAVE_RB_DEFINE_ALLOC_FUNC
-DHAVE_RB_BLOCK_PROC -DHAVE_OBJECT_ALLOCATE -DHAVE_NODE_ATTRASGN
-DHAVE_RB_CAIRO_H -DRUBY_POPPLER_COMPILATION -fPIC
-fno-strict-aliasing -g -g -O2 -fPIC -Wall -I/usr/include/poppler/glib
-I/usr/include/poppler -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/gtk-2.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
-I/usr/include/poppler -I/usr/include/cairo -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12 -c
rbpoppler-form-field.c
In file included from rbpoppler-form-field.c:10:
rbpoppler-private.h:7:21: error: rbgdk.h: No such file or directory
make: *** [rbpoppler-form-field.o] Error 1

– James H. [email protected] Wed, 29 Sep 2010 20:07:33 +1000

Hi,

In [email protected]
“[ruby-gnome2-devel-en] poppler 0.90.2 gem” on Wed, 29 Sep 2010
20:08:13 +1000,
James H. [email protected] wrote:

My system fails to install the poppler gem unless the gtk gem is
installed first. Should poppler declare a dependency on gtk to ensure
this happens?

Yes. You’re right.
It had been fixed in trunk.

Thanks,

kou

Kouhei S. wrote:

My system fails to install the poppler gem unless the gtk gem is
installed first. Should poppler declare a dependency on gtk to ensure
this happens?

Yes. You’re right.
It had been fixed in trunk.

thanks.

– James H. [email protected] Thu, 30 Sep 2010 10:02:25 +1000