[antlr-interest] Building v3 csharp examples with antlr-3.1b2
Johannes Luber
jaluber at gmx.de
Thu Aug 7 09:34:10 PDT 2008
David Benn schrieb:
> Hi all
>
> I'm trying to build the v3 csharp examples (from the 3,1 downloads page)
> with antlr-3.1b2, having stored the files in _SharedLibs/mono-2.0 as per
> the csharp/README.txt
>
> I'm doing this under Mac OS 10.5.4 with mono 1.9.1(_3) and from nant I
> see this:
>
> ---
> NAnt 0.86 (Build 0.86.2898.0; beta1; 8/12/2007)
> Copyright (C) 2001-2007 Gerry Shaw
> http://nant.sourceforge.net
>
>
> BUILD FAILED
>
> Failed to initialize the 'Mono 3.5 Profile' (mono-3.5) target framework.
>
> Unable to locate 'mono' module using pkg-config. Download the Mono
> development packages from http://www.mono-project.com/downloads/.
>
> For more information regarding the cause of the build failure, run the
> build again in debug mode.
>
> Try 'nant -help' for more information
> ---
>
> I have tried looking for solutions on the Nant FAQ etc and am not
> getting anywhere.
>
> Using -debug doesn't shed too much more light on this.
>
> I note that I have:
>
> /Library/Frameworks/Mono.framework/Versions/1.9.1/share/NAnt/bin/lib/mono/2.0
>
> /Library/Frameworks/Mono.framework/Versions/1.9.1/share/NAnt/bin/lib/net/2.0
>
>
> but certainly no 3.5
>
> Any suggestions would be most welcome.
This looks like as if nant loads the incorrect profile. Unfortunately
I'm not that familiar to nant. Does using -t:mono-2.0 or -k:mono-2.0
help? Otherwise ask on the Nant mailing list for further instructions as
for me "nant build" works as advertised.
Johannes
>
> I am not an ANTLR3 novice, but am new to the csharp runtime.
>
> Regards,
>
> David Benn
> dbenn at computer.org
> 0407 261163
>
> "The real voyage of discovery consists not in seeking new landscapes but
> in having new eyes." (Marcel Proust)
>
>
>
>
More information about the antlr-interest
mailing list