Thank you for your patch.  I have adapted it slightly.  I thought it was
cleaner to actually define the two variables that were missing rather
than swap them out of the Makefile.  This patch reflects this. 

Can anyone comment on why this patch is necessary?  Why do Jaroslaw and
I have to apply this patch in order to build and everyone else seems
fine?

-----Original Message-----
From: Jaroslaw Kowalski [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 13, 2004 3:48 PM
To: Andrew Arnott
Subject: Re: [Mono-list] Building from CVS: gmcs.exe not found

In your case using the text editor may be enough. There are 3 minor
changes
so you should figure it out.

To apply the patch you enter the directory containing the sources and
run:

patch -p 1 < /full/path/to/patch/file

(or is it -p 0 or some other number, I never remember)

Jarek
----- Original Message ----- 
From: "Andrew Arnott" <[EMAIL PROTECTED]>
To: "Jaroslaw Kowalski" <[EMAIL PROTECTED]>
Sent: Thursday, May 13, 2004 11:24 PM
Subject: RE: [Mono-list] Building from CVS: gmcs.exe not found


> Jarek,
>
> Thank you for the response.  Having never worked with CVS before now,
I
> don't know how to apply the .patch file.  Is there some utility that
> applies it?  Or do I just look at it in a text editor and make the
> changes that seem obvious?
>
> Thanks again,
> Andrew
>
> -----Original Message-----
> From: Jaroslaw Kowalski [mailto:[EMAIL PROTECTED]
> Sent: Thursday, May 13, 2004 12:52 PM
> To: Andrew Arnott; [EMAIL PROTECTED]
> Subject: Re: [Mono-list] Building from CVS: gmcs.exe not found
>
> Here's the temporary patch I've developed that fixes this issue -
worked
> for
> me, I hope it'll work for you too.
>
> Jarek
>
> ----- Original Message ----- 
> From: "Andrew Arnott" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, May 13, 2004 5:46 PM
> Subject: RE: [Mono-list] Building from CVS: gmcs.exe not found
>
>
> I found out more about my problem below.  But I can't solve it by
> myself.  Any help would be greatly appreciated!
>
>
>
> The /mono/runtime/Makefile that came out of CVS this morning, that was
> generated by autogen.sh, references an environment variable named
> $(fx20dir).  And the Makefile is trying to copy the gmcs.exe file from
> $(fx20dir)/gmcs.exe.  It seems that $(fx20dir) is not set anywhere in
> any Makefile that I checked.  Where should it be set?  The fact that
it
> is not set is what is causing the first error.  Any ideas, please?
>
>
>
> ________________________________
>
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Arnott
> Sent: Wednesday, May 12, 2004 10:30 AM
> To: [EMAIL PROTECTED]
> Subject: [Mono-list] Building from CVS: gmcs.exe not found
>
>
>
> I downloaded CVS yesterday, and updated it this morning.  I ran from
the
> cvs\mono directory:
>
>
>
> ./autogen.sh -prefix=/usr
>
> ./make fullbuild
>
>
>
> My mono files are found in /usr/bin/mono, etc.  So I believe the
prefix
> above is correct.  But the build fails with the error below.  It
appears
> that the gmcs.exe file is being looked for in the / directory rather
> than /usr/bin/.
>
>
>
> make[3]: Entering directory `/root/cvs/mono/runtime'
>
> if test -f ../../mcs/gmcs/gmcs.exe; then f=../../mcs/gmcs/gmcs.exe;
else
> f=/gmcs.exe; fi; \
>
> echo "cp -f $f ."; \
>
> cp -f $f .
>
> cp -f /gmcs.exe .
>
> cp: cannot stat `/gmcs.exe': No such file or directory
>
> make[3]: *** [gmcs.exe] Error 1
>
> make[3]: Leaving directory `/root/cvs/mono/runtime'
>
> make[2]: *** [all-recursive] Error 1
>
> make[2]: Leaving directory `/root/cvs/mono/runtime'
>
> make[1]: *** [all-recursive] Error 1
>
> make[1]: Leaving directory `/root/cvs/mono'
>
> make: *** [all] Error 2
>
> biscuit:~/cvs/mono # locate gmcs.exe
>
> /usr/bin/gmcs.exe
>
> /usr/lib/mono/2.0/gmcs.exe
>
> biscuit:~/cvs/mono #
>
>
>
> I created a symbolic link to it in the / directory, and got passed
that
> error.  Then the build crashed with this error:
>
>
>
> cp -f ../../../mcs/class/lib/default/System.Web.Services.dll .
>
> cp -f ../../../mcs/class/lib/default/System.Windows.Forms.dll .
>
> cp -f ../../../mcs/class/lib/default/System.Xml.dll .
>
> make[3]: Leaving directory `/root/cvs/mono/runtime/net_1_1'
>
> Making all in net_2_0
>
> make[3]: Entering directory `/root/cvs/mono/runtime/net_2_0'
>
> cp -f ../../../mcs/class/lib/net_2_0/mscorlib.dll .
>
> cp: cannot stat `../../../mcs/class/lib/net_2_0/mscorlib.dll': No such
> file or directory
>
> make[3]: *** [mscorlib.dll] Error 1
>
> make[3]: Leaving directory `/root/cvs/mono/runtime/net_2_0'
>
> make[2]: *** [all-recursive] Error 1
>
> make[2]: Leaving directory `/root/cvs/mono/runtime'
>
> make[1]: *** [all-recursive] Error 1
>
> make[1]: Leaving directory `/root/cvs/mono'
>
> make: *** [all] Error 2
>
>
>
> I've never managed to get a make fullbuild to work with any snapshot,
so
> I may have environment variables that need to be initialized?  I don't
> know.   But any help would be appreciated.
>
>
>
>



Attachment: monobootstrap.patch
Description: monobootstrap.patch

Reply via email to