Re: Newbie ? - fail on Gtk2-1.00



On Mon, 2003-11-03 at 22:36, Levi Kilcher wrote:
My suse 8.2 box produces the following error when I attempt to "perl
Makefile.PL" Gtk2-1.00:

*** can not find package gtk+-2.0 >= 2.0.0
*** check that it is properly installed and available in PKG_CONFIG_PATH
 at Makefile.PL line 62

it is likely the problem is the version of ExtUtils-PkgConfig that you
have. it needs to be at at least version 1.0. prior to that the ability
to require versions wasn't available and when Makefile.PL asks for
'gtk+-2.0 >= 2.0.0' it looks for a package with that full string for its
name, rather than a version of gtk+-2.0 newer than 2.0.0. so upgrade
ExtUtils-PkgConfig and if that doesn't fix it let me know.

The files:
/usr/local/lib/pkgconfig/gtk+-2.0.pc
/usr/lib/pkgconfig/gtk+-2.0.pc
Both exist, but ExtUtils::PkgConfig seems unable to find it.

it's odd for there to be one in both locations. are the for the same
version? is gtk+ installed two times on your system, once with
/usr/local as the prefix and once as /usr. even so, this may not cause
you any trouble, but if you start seeing really weird things happening
(with all gtk+ apps) then that might be the culprit.

-rm





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]