GTK2-X11 / gtk+-2.0 is not found after it is installed?

Bob Paddock graceindustries@gmail.com
Fri Sep 2 12:32:00 GMT 2005


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

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


Is there a missing dependency I need to install?


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?


--
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