I'm having trouble with pkg-config when I run nant on the monobjc
project's package, but others have it working fine. The email below
details what I've done so far from a different mailing list. I really
don't understand why pkg-config says it can't find mono. When I run
the command on its own with --list-all it does list mono. I'm not
sure how the --exists switch is to be used, though. Just putting mono
after it doesn't give me anything, but when I run it with --debug it
says the value of --print-errors is 0. I expect that's good. When I
use the --libs switch it gives me plenty of info. The mono.pc file is
in the /Library/Frameworks/Mono.framework/Versions/Current/lib/
pkgconfig folder. Any ideas about why it keeps failing on me with the
error:
Expression: ${not pkg-config::exists('mono')}
Thank you,
Ron
Begin forwarded message:
From: Ron Grove <ron.gr...@me.com>
Date: April 23, 2009 4:16:07 PM PDT
To: us...@lists.monobjc.net
Subject: Re: [us...@lists.monobjc.net] Problem building samples
Reply-To: us...@lists.monobjc.net
Interestingly I can run and run the command
/Library/Frameworks/Mono.framework/Commands/pkg-config --list-all
and mono is in the list it outputs. Man that's irritating...
On Apr 23, 2009, at 4:04 PM, Ron Grove wrote:
I'm not completely sure what you mean by cleaning up my setup. The
XCode 3.1 tools are installed and work fine for Objective-C
projects. I need those tools so uninstalling them isn't really
something I want to do unless there's a reason. nant seems to be
installed correctly:
ron:~ ron$ nant -help
NAnt 0.86 (Build 0.86.2898.0; beta1; 12/8/2007)
ron:~ ron$ whereis nant
/usr/bin/nant
ron:~ ron$ ls -l /usr/bin/nant
lrwxr-xr-x 1 root wheel 48 Apr 10 15:11 /usr/bin/nant -> /
Library/Frameworks/Mono.framework/Commands/nant
Still not sure why, but it's this pkg-config::exists function
that's failing to find mono. But I can run it fine from the
command line and it's in my path. Suppose I'll have to sign up on
their mailing list and ask. I was just hoping someone else may
have run into it here.
-Ron
2009/4/17 Ron Grove <ron.gr...@me.com>:
I've tried to built the samples using nant and get this error
message below.
I've never used it before and not sure what to do. This page
doesn't tell
me much:
http://nant.sourceforge.net/release/0.85-rc1/help/functions/pkg-config.exists.html
Where is it looking for the package? I have the latest download
for OS X
installed on the system. All the old versions are gone so far as
I can see.
Somewhere I read to set $PKG_CONFIG_PATH
to /Library/Frameworks/Mono.framework/Versions/Current/lib/
pkgconfig which
I've done, but that didn't help. Any ideas?
Thank you,
Ron
-------------------------------------------
BUILD FAILED
Failed to initialize the 'Mono 3.5 Profile' (mono-3.5) target
framework.
Function call failed.
Expression: ${not pkg-config::exists('mono')}
^^^^^^^^^^^^^^^^^^^^^^^^^^
'pkg-config' failed to start.
ApplicationName='pkg-config', CommandLine='--exists mono',
CurrentDirectory='/Library/Frameworks/Mono.framework/Versions/2.4/
share/NAnt/bin/'
For more information regarding the cause of the build failure,
run the build
again in debug mode.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users