Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <431DD710.40602@familiehaase.de> Date: Tue, 06 Sep 2005 19:51:12 +0200 From: "Gerrit P. Haase" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511 MIME-Version: 1.0 To: Bob Paddock CC: cygwin AT cygwin DOT com Subject: Re: GTK2-X11 / gtk+-2.0 is not found after it is installed? References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 AT INSPIRON ~ $ if pkg-config --exists "gtk+-2.0 >= 2.4.0" ; then > echo "Yes" > else > echo "No" > fi Yes gerrit AT 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 AT INSPIRON ~ $ pkg-config --modversion "gtk+-2.0" 2.6.8 gerrit AT 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/