http://qs321.pair.com?node_id=650456

Gangabass has asked for the wisdom of the Perl Monks concerning the following question:

Hi guys.

You always help me so i hope you show me the way this time too.

First i'm sure it's not Perl problem but Debian. I must install Mozilla::Mechanize on Debian. I'm install make, pkg-config and many modules but... now i need Glib.pm.

When installing Glib i got following error:

127:~/.cpan/build/Glib-1.162# perl Makefile.PL
Including ApiDoc pod...
Deleting Glib::Object::_LazyLoader from doc.pl's $data
Deleting Glib from doc.pl's $data
Package gobject-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gobject-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gobject-2.0' found
*** can not find package gobject-2.0 >= 2.0.0
*** check that it is properly installed and available in PKG_CONFIG_PATH
 at Makefile.PL line 92

Unfortunately i don't know so much about Debian so i need your help. How i can install gobject-2.0 package? How i can find it if i already have it installed?

Maybe i can install Gtk2 (it's needed by Mozilla::Mechanize) without Glib? Or maybe i can skip gobject-2.0 checking?

Thanks for your help.