GTK2-X11 / gtk+-2.0 is not found after it is installed?
Gerrit P. Haase
gerrit@familiehaase.de
Tue Sep 6 17:52:00 GMT 2005
Bob Paddock wrote:
> I am trying to build the program PCB, http://pcb.sf.net/ that
> requires the GTK2 widget set, with some GTK version greater than 2.4.0.
>
> I have installed a fresh copy of Cygwin and installed all of the
> gtk2-x11 packages.
>
> When I run this test script:
>
> #! /bin/sh
>
> if pkg-config --exists "gtk+-2.0 >= 2.4.0" ; then
> echo "Yes"
> else
> echo "No"
> fi
gerrit@INSPIRON ~
$ if pkg-config --exists "gtk+-2.0 >= 2.4.0" ; then
> echo "Yes"
> else
> echo "No"
> fi
Yes
gerrit@INSPIRON ~
$
> pkg-config --modversion "gtk+-2.0"
>
> I get:
>
> No [No gtk+ >= 2.4.0 was found]
> 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
> Package 'gobject-2.0', required by 'GdkPixbuf', not found
gerrit@INSPIRON ~
$ pkg-config --modversion "gtk+-2.0"
2.6.8
gerrit@INSPIRON ~
$
> Is there a missing dependency I need to install?
gobject-2.0.pc is part of the glib2-devel package.
> I have looked at the /lib/pkgconfig/gtk+-2.0.pc file on Cygwin and on my
> Linux box, they look nearly the same (Linux used $(), Cygwin does not
> for the paths).
>
> The above test script says 'Yes' on Linux and 'No' on Cygwin. I can't
> get PCB to build until I get a 'Yes' from Cygwin.
>
> What am I missing?
The glib2-devel package.
I've added the dependency to the setup.hint.
Thanks for the report.
Gerrit
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list