delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/09/02/08:32:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Fri, 02 Sep 2005 08:32:00 -0400
To: cygwin AT cygwin DOT com
Subject: GTK2-X11 / gtk+-2.0 is not found after it is installed?
From: "Bob Paddock" <graceindustries AT gmail DOT com>
MIME-Version: 1.0
Message-ID: <op.swg6fmxmocfjro@grace002.graceinc.com>
User-Agent: Opera M2/8.02 (Win32, build 7680)
X-IsSubscribed: yes

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019