# Poppler 0.90.2 gem

**URL:** <https://www.ruby-forum.com/t/poppler-0-90-2-gem/195743>\
**Category:** Ruby-Gnome 2\
**Created:** [September 29, 2010, 12:09pm UTC](https://www.ruby-forum.com/t/poppler-0-90-2-gem/195743 "2010-09-29T12:09:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sjames](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c57346/32.png) [@sjames](https://www.ruby-forum.com/u/sjames)\
**Post date:** [September 29, 2010, 12:09pm UTC](https://www.ruby-forum.com/t/poppler-0-90-2-gem/195743/1 "2010-09-29T12:09:04Z")

</div>

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. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) Wed, 29 Sep 2010 20:07:33 +1000

---

<div class="post-metadata">

**Author:** ![sjames](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c57346/32.png) [@sjames](https://www.ruby-forum.com/u/sjames)\
**Post date:** [September 29, 2010, 2:39pm UTC](https://www.ruby-forum.com/t/poppler-0-90-2-gem/195743/2 "2010-09-29T14:39:31Z")

</div>

Hi,

In [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
“[ruby-gnome2-devel-en] poppler 0.90.2 gem” on Wed, 29 Sep 2010  
20:08:13 +1000,  
James H. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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

---

<div class="post-metadata">

**Author:** ![sjames](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c57346/32.png) [@sjames](https://www.ruby-forum.com/u/sjames)\
**Post date:** [September 30, 2010, 2:03am UTC](https://www.ruby-forum.com/t/poppler-0-90-2-gem/195743/3 "2010-09-30T02:03:25Z")

</div>

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. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) Thu, 30 Sep 2010 10:02:25 +1000
