[Mono-list] building mcs

Alex James alex00james@adelphia.net
Thu, 7 Nov 2002 22:18:05 -0500


Ok, running 'make' seemed to work better, but now I am having an error with
nunit.
This is the error:

make[2]: Entering directory `/home/alex/mcs/nunit'
../nant/NAnt.exe build
Buildfile: C:\mono\cygwin\home\alex\mcs\nunit\nunit.build

build:
      [csc] Compiling 24 files to
C:\mono\cygwin\home\alex\mcs\nunit\NUnitCore.d
ll
      [csc] Compiling 24 files to
C:\mono\cygwin\home\alex\mcs\nunit\NUnitCore_m
ono.dll
C:\mono\cygwin\home\alex\mcs\nunit\src\NUnitCore\TestCase.cs(214,20): error
CS15
01: No overload for method 'ToString' takes '0' arguments
C:\mono\cygwin\home\alex\mcs\class\lib\corlib.dll: (Location of symbol
related t
o previous error)
C:\mono\cygwin\home\alex\mcs\nunit\src\NUnitCore\AssertionFailedError.cs(15,
34):
 error CS3001: Argument type
'System.Runtime.Serialization.SerializationInfo' is
 not CLS-compliant
C:\mono\cygwin\home\alex\mcs\nunit\src\NUnitCore\AssertionFailedError.cs(16,
4):
error CS3001: Argument type 'System.Runtime.Serialization.StreamingContext'
is n
ot CLS-compliant
C:\mono\cygwin\home\alex\mcs\nunit\src\NUnitCore\AssertionFailedError.cs(10,
15):
 error CS3009: 'NUnit.Framework.AssertionFailedError': base type
'System.Applica
tionException' is not CLS-compliant
C:\mono\cygwin\home\alex\mcs\class\lib\corlib.dll: (Location of symbol
related t
o previous error)
C:\mono\cygwin\home\alex\mcs\nunit\src\NUnitCore\BaseTestRunner.cs(78,11):
error
 CS1501: No overload for method 'ToString' takes '0' arguments
C:\mono\cygwin\home\alex\mcs\class\lib\corlib.dll: (Location of symbol
related t
o previous error)
C:\mono\cygwin\home\alex\mcs\nunit\src\NUnitCore\NUnitException.cs(17,28):
error
 CS3001: Argument type 'System.Runtime.Serialization.SerializationInfo' is
not C
LS-compliant
C:\mono\cygwin\home\alex\mcs\nunit\src\NUnitCore\NUnitException.cs(18,4):
error
CS3001: Argument type 'System.Runtime.Serialization.StreamingContext' is not
CLS
-compliant
C:\mono\cygwin\home\alex\mcs\nunit\src\NUnitCore\NUnitException.cs(12,15):
error
 CS3009: 'NUnit.Framework.NUnitException': base type
'System.ApplicationExceptio
n' is not CLS-compliant
C:\mono\cygwin\home\alex\mcs\class\lib\corlib.dll: (Location of symbol
related t
o previous error)
C:\mono\cygwin\home\alex\mcs\nunit\src\NUnitCore\ITestLoader.cs(39,29):
error CS
3001: Argument type 'System.Runtime.Serialization.SerializationInfo' is not
CLS-
compliant
C:\mono\cygwin\home\alex\mcs\nunit\src\NUnitCore\ITestLoader.cs(40,4): error
CS3
001: Argument type 'System.Runtime.Serialization.StreamingContext' is not
CLS-co
mpliant
C:\mono\cygwin\home\alex\mcs\nunit\src\NUnitCore\ITestLoader.cs(34,15):
error CS
3009: 'NUnit.Runner.LoaderException': base type
'System.ApplicationException' is
 not CLS-compliant
C:\mono\cygwin\home\alex\mcs\class\lib\corlib.dll: (Location of symbol
related t
o previous error)
C:\mono\cygwin\home\alex\mcs\nunit\src\NUnitCore\Version.cs(19,11): error
CS1501
: No overload for method 'ToString' takes '0' arguments
C:\mono\cygwin\home\alex\mcs\class\lib\corlib.dll: (Location of symbol
related t
o previous error)


BUILD FAILED
C:\mono\cygwin\home\alex\mcs\nunit\nunit.build:-1: Program error, see build
log
for details.
Program error, see build log for details.
Try `NAnt -help' for more information.
make[2]: *** [build] Error 1
make[2]: Leaving directory `/home/alex/mcs/nunit'
make[1]: *** [linux] Error 1
make[1]: Leaving directory `/home/alex/mcs'
make: *** [all] Error 2

Is this a bug? On do I need to set something?

Thanks,
Alex








----- Original Message -----
From: "Gonzalo Paniagua Javier" <gonzalo@ximian.com>
To: "Mono List" <mono-list@ximian.com>
Sent: Thursday, November 07, 2002 7:55 PM
Subject: Re: [Mono-list] building mcs


El jue, 07-11-2002 a las 21:08, Alex James escribió:
> make[2]: Entering directory `/home/alex/mcs/class/System.Web'
> cat list |egrep '\.cs$' >.response
> touch library-deps.stamp
> MONO_PATH=../../class/lib: mono ../../mcs/mcs.exe --target
> library --noconfig -o
>  ../../class/lib/System.Web.dll -r corlib -r System -r System.Drawing -r
> System.
> Xml @.response
> error CS0006: Cannot find assembly `System.Drawing'
[...]
> But now the same type of thing is happening.  Why is it not looking in
> /install/lib (folder)?
> I am running cygwin, with path set for /home/alex/install/bin + /lib.
> Thanks.

Under windows, you should just run 'make' from /home/alex/mcs directory.
It uses nant+csc to build class libraries.

makefile.gnu is used under unix.

-Gonzalo



_______________________________________________
Mono-list maillist  -  Mono-list@ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list