[Mono-osx] nant and pkg-config
Baker, GJ (Gareth)
gareth.baker at stfc.ac.uk
Fri Jul 31 06:38:12 EDT 2009
I have been getting the same error. I've spent the past few days
googling the problem and may have found the root of the problem.
1) as below using nant on any of the Monobjc samples gives the error.
2) pkg-config --list-all will list mono (especially if PKG_CONFIG_PATH
3) HOWEVER pkg-config --modversion mono FAILS telling us it cant find
glib-2.0.pc (glib-2.0 is one of the required libraries in the mono.pc
4) As a test I commented out the Requires line in the mono.pc file and
nant now runs and compiles the Monobjc samples!!
I'm wondering if nant is failing because the pkg-config:exists function
is failing to find mono because an error is being generated as (3)
Should the glib-2.0 and gthread-2.0 .pc files be in the mono.framework
pkgconfig folder (as mono.pc refers to them)?
Hope this helps someone fix the problem
> -----Original Message-----
> From: mono-osx-bounces at lists.ximian.com [mailto:mono-osx-
> bounces at lists.ximian.com] On Behalf Of Ben Martin
> Sent: 22 July 2009 04:54
> To: mono-osx at lists.ximian.com
> Subject: [Mono-osx] nant and pkg-config
> I am trying to use nant to build my project but it is reporting that
> pkg-config can not locate the mono module.
> I am using Mono 126.96.36.199.
> View this message in context: http://www.nabble.com/nant-and-pkg-
> Sent from the Mono - OSX mailing list archive at Nabble.com.
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
Scanned by iCritical.
More information about the Mono-osx