I suppose you've installed Mono via RPM... right?
Well, the problem is that the file /usr/lib/pkgconfig/mono.pc
is missing.

Just copy mono.pc into /usr/lib/pkgconfig (I've attached
a copy of it).

After you have built and installed nant, remember to copy
the DLLs under ./bin/lib/mono/1.0 into ./bin
(this is necessary due a Mono bug).

I hope this helps,
j3d.


On Sat, 2004-06-05 at 20:39, Pedro Santos wrote:
> Well, first, when I compile nant I get alot of these:
> 
> GC Warning: Finalization cycle involving 8858be0
> GC Warning: Finalization cycle involving 8858ab0
> 
> When I run NAnt on my project, I get:
> 
> bash-2.05b$ nant
> Compat mode: the request from /home/pre/Projects/nant/bin/log4net.dll to
> load System.Data was remapped (http://www.go-mono.com/remap.html)
> Compat mode: the request from /home/pre/Projects/nant/bin/log4net.dll to
> load System.Web was remapped (http://www.go-mono.com/remap.html)
> NAnt 0.85 (Build 0.85.1447.0; net-1.0.win32; nightly; 12/18/2003)
> Copyright (C) 2001-2004 Gerry Shaw
> http://nant.sourceforge.net
>  
> BUILD FAILED
>  
> The current runtime framework 'mono-1.0' is not correctly configured in
> the NAnt configuration file.
>     The 'System.dll' assembly does not exist in framework assembly
> directory '/usr/local/lib'.
> 
> 
> 
> On Sat, 2004-06-05 at 18:58, Giuseppe Greco wrote:
> > Hi Pedro,
> > 
> > I've just installed Mono beta 2 on my Fedora Core 1 box...
> > and NAnt works fine!
> > 
> > What kind of problems have you?
> > 
> > j3d.
> > 
> > On Sat, 2004-06-05 at 19:42, Pedro Santos wrote:
> > > How can I get NAnt working with the new Mono? I upgraded from mono-0.31
> > > to beta 2 and now NAnt throws several errors.
> > > 
> > > I have read something related to this, but I have found no solution for
> > > this on the web. What must I do?
-- 
----------------------------------------
Giuseppe Greco

::agamura::

phone:  +41 91 604 67 65
mobile: +41 76 390 60 32
email:  [EMAIL PROTECTED]
web:    www.agamura.com
----------------------------------------
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include


Name: Mono
Description: Mono Runtime
Version: 0.95
Requires: glib-2.0 gmodule-2.0 gthread-2.0
Libs: -L${libdir} -lmono -lpthread -lm
Cflags: -I${includedir} -D_REENTRANT

Reply via email to