> -----Original Message-----
> From: zhengjinyuan [mailto:[EMAIL PROTECTED]
> Sent: maandag 10 januari 2005 8:42
> To: Gert Driesen
> Subject: Re: [Nant-users] nant on macosx
>
> Yes It's run now but ,It print the below message
> pps-Computer:/usr/local/src/nant pp$ make
> mono bin/NAnt.exe -f:NAnt.build build
> Compat mode: the request from /usr/local/src/nant/bin/log4net.dll to
> load System.Xml was remapped (http://www.go-mono.com/remap.html)
> Compat mode: the request from /usr/local/src/nant/bin/log4net.dll to
> load System was remapped (http://www.go-mono.com/remap.html)
> Compat mode: the request from
> /usr/local/src/nant/bin/NAnt.exe to load
> System was remapped (http://www.go-mono.com/remap.html)
> Compat mode: the request from
> /usr/local/src/nant/bin/NAnt.exe to load
> System.Xml was remapped (http://www.go-mono.com/remap.html)
> Compat mode: the request from
> /usr/local/src/nant/bin/NAnt.Core.dll to
> load System was remapped (http://www.go-mono.com/remap.html)
> Compat mode: the request from
> /usr/local/src/nant/bin/NAnt.Core.dll to
> load System.Xml was remapped (http://www.go-mono.com/remap.html)
> NAnt 0.85 (Build 0.85.1812.0; dev; 12/17/2004)
> Copyright (C) 2001-2004 Gerry Shaw
> http://nant.sourceforge.net
>
> Compat mode: the request from
> /usr/local/src/nant/bin/NAnt.DotNetTasks.dll to load System was
> remapped (http://www.go-mono.com/remap.html)
> Compat mode: the request from
> /usr/local/src/nant/bin/NAnt.DotNetTasks.dll to load System.Xml was
> remapped (http://www.go-mono.com/remap.html)
> Compat mode: the request from
> /usr/local/src/nant/bin/NAnt.Core.dll to
> load System.Web was remapped (http://www.go-mono.com/remap.html)
>
> BUILD FAILED
>
> The current runtime framework 'mono-1.0' is not correctly
> configured in
> the NAnt configuration file.
> Function call failed.
> Expression: ${pkg-config::get-variable('mono', 'prefix')}
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> 'pkg-config' failed to start.
> Cannot find the specified file
>
> For more information regarding the cause of the build
> failure, run the
> build again in debug mode.
>
> Try 'nant -help' for more information
> make: *** [build-nant] Error 1
>
> I try to read the bin/NAnt.exe.config
> Should I change some config ?
Well, normally NAnt uses pkg-config to determine where mono is installed.
But apparently you don't have pkg-config installed (does it even exist on
macosx ?).
You could also "hard-code" the location of mono in NAnt.exe.config by
modifying the following lines :
<if test="${not pkg-config::exists('mono')}">
<fail>Unable to locate 'mono' module using pkg-config. Download the
Mono development packages from
http://www.mono-project.com/downloads/.</fail>
</if>
<property name="prefix" value="${pkg-config::get-variable('mono',
'prefix')}" />
To
<property name="prefix" value="<your mono prefix>" />
For example :
<property name="prefix" value="/usr/local/" />
Normally, I'd advise against manually changing the NAnt configuration file
though.
Hope this helps,
Gert
-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Nant-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-users