[Mono-list] mcs/nant build errors

Martin Weindel martin.weindel@t-online.de
Wed, 17 Oct 2001 21:37:56 +0200


This is a multi-part message in MIME format.

------=_NextPart_000_0092_01C15753.FC470760
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

You need to have the directory of csc.exe in your PATH
For example if SYSTEMROOT points to I:\WINNT use:
export =
PATH=3D/cygdrive/I/WINNT/microsoft.net/framework/v1.0.2914:${PATH}

That should fix your problems. I don't think you need to edit any =
makefiles,
at least I do not have to.

- Martin
  ----- Original Message -----=20
  From: manyoso@yahoo.com=20
  To: mono-list@ximian.com=20
  Sent: Friday, October 12, 2001 12:10 PM
  Subject: [Mono-list] mcs/nant build errors


  Hello,

  I caved and re-installed my windows partition so I can help out., but =
now I'm=20
  having problems with building the class libraries with NAnt.

  from the class directory=20
  $ ../nant/NAnt.exe windows

  windows:[nant]=20
  C:\cygwin\home\manyoso\mono-11-Oct-01\mcs\class\corlib\corlib.build =
windows
     Buildfile:=20
  C:\cygwin\home\manyoso\mono-11-Oct-01\mcs\class\corlib\corlib.build    =
  =20
  windows:
                    [csc] Compiling 327 files to=20
  C:\cygwin\home\manyoso\mono-11-Oct-01\mcs\class\lib\corlib.dll
             =20
              BUILD FAILED
             =20
  =
C:\cygwin\home\manyoso\mono-11-Oct-01\mcs\class\corlib\corlib.build:-1: =
The=20
  system cannot find the file specified
              The system cannot find the file specified

  BUILD FAILED
  Nested build failed - refer to build log for exact reason.
  Try `NAnt.exe -help' for more information.

  The corlib.build file is there, so I'm not to sure what is going on.

  Also, is there a command switch i can use to point the path to csc.exe =

  instead of editing the makefiles? =20

  Thanks,

  Adam Treat=20


  _________________________________________________________
  Do You Yahoo!?
  Get your free @yahoo.com address at http://mail.yahoo.com



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

------=_NextPart_000_0092_01C15753.FC470760
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.50.4522.1800" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>You need to have the directory of =
csc.exe in your=20
PATH</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>For example if SYSTEMROOT points to =
I:\WINNT=20
use:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>export=20
PATH=3D/cygdrive/I/WINNT/microsoft.net/framework/v1.0.2914:${PATH}</FONT>=
</DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>That should fix your problems. I don't =
think you=20
need to edit any makefiles,</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>at least I do not have to.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>- Martin</FONT></DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV=20
  style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
  <A title=3Dmanyoso@yahoo.com=20
  href=3D"mailto:manyoso@yahoo.com">manyoso@yahoo.com</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>To:</B> <A =
title=3Dmono-list@ximian.com=20
  href=3D"mailto:mono-list@ximian.com">mono-list@ximian.com</A> </DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Friday, October 12, 2001 =
12:10=20
  PM</DIV>
  <DIV style=3D"FONT: 10pt arial"><B>Subject:</B> [Mono-list] mcs/nant =
build=20
  errors</DIV>
  <DIV><FONT face=3DArial size=3D2></FONT><FONT face=3DArial =
size=3D2></FONT><FONT=20
  face=3DArial size=3D2></FONT><FONT face=3DArial=20
  size=3D2></FONT><BR></DIV>Hello,<BR><BR>I caved and re-installed my =
windows=20
  partition so I can help out., but now I'm <BR>having problems with =
building=20
  the class libraries with NAnt.<BR><BR>from the class directory <BR>$=20
  ../nant/NAnt.exe windows<BR><BR>windows:[nant]=20
  =
<BR>C:\cygwin\home\manyoso\mono-11-Oct-01\mcs\class\corlib\corlib.build=20
  windows<BR>&nbsp;&nbsp; Buildfile:=20
  =
<BR>C:\cygwin\home\manyoso\mono-11-Oct-01\mcs\class\corlib\corlib.build&n=
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  =
<BR>windows:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  [csc] Compiling 327 files to=20
  =
<BR>C:\cygwin\home\manyoso\mono-11-Oct-01\mcs\class\lib\corlib.dll<BR>&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=20
  <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
BUILD=20
  =
FAILED<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb=
sp;=20
  =
<BR>C:\cygwin\home\manyoso\mono-11-Oct-01\mcs\class\corlib\corlib.build:-=
1:=20
  The <BR>system cannot find the file=20
  =
specified<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;=20
  The system cannot find the file specified<BR><BR>BUILD =
FAILED<BR>Nested build=20
  failed - refer to build log for exact reason.<BR>Try `NAnt.exe -help' =
for more=20
  information.<BR><BR>The corlib.build file is there, so I'm not to sure =
what is=20
  going on.<BR><BR>Also, is there a command switch i can use to point =
the path=20
  to csc.exe <BR>instead of editing the makefiles?&nbsp;=20
  <BR><BR>Thanks,<BR><BR>Adam Treat=20
  =
<BR><BR><BR>_________________________________________________________<BR>=
Do=20
  You Yahoo!?<BR>Get your free @yahoo.com address at <A=20
  =
href=3D"http://mail.yahoo.com">http://mail.yahoo.com</A><BR><BR><BR><BR>_=
______________________________________________<BR>Mono-list=20
  maillist&nbsp; -&nbsp; <A=20
  href=3D"mailto:Mono-list@ximian.com">Mono-list@ximian.com</A><BR><A=20
  =
href=3D"http://lists.ximian.com/mailman/listinfo/mono-list">http://lists.=
ximian.com/mailman/listinfo/mono-list</A></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0092_01C15753.FC470760--