delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/11/23:50:30

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: RE: pkg-config.exe problem
Date: Sun, 12 Nov 2006 04:50:12 -0000
Message-ID: <003701c70616$098ea920$a501a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
In-Reply-To: <loom.20061112T030058-230@post.gmane.org>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
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
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id kAC4oOIU002158

On 12 November 2006 02:15, v. wrote:

> After examing the output of "pkg-config --debug --cflags gtk+-2.0" I
> wondered that it searches for gtk+-2.0.pc on an alternative path starting
> with "c:\...", so I reviewed my definidion of PKG_CONFIG_PATH and defined
> everywhere fully-qualified paths, each one starting with drive letter
> "c:\mydirs\..\pkgconfig". For the first this also did not funtion, so I
> seperated the paths not with ':' but with semicolons ';' and enclosed the
> whole string for PKG_CONFIG_PATH in "..." !!! This functioned finally, and
> pkg-config works now! So to everyone trying to investigate into pkg-config
> and cygwin ... forget this shit and do your work seriously in a real
> unix/linux environment! cheers!

  No matter what environment you're using, it's the environemnt between your keyboard and your chair that's the problem here.

  You aren't using cygwin's pkg-config.  You're using a win32 native version.  That's why it expects PKG_CONFIG_PATH to be a DOS path.  That's why it doesn't understand the posix style path you're passing to it.

  It's not cygwin's fault that a win32 program doesn't understand posix paths.

  It's not cygwin's fault that you used the wrong version of pkg-config.

  To solve your problem, either 1) use cygwin versions of programs if you want them to understand posix paths, or 2) pass DOS paths to win32 programs, because that's all they can understand.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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