[Mono-list] Building from CVS: gmcs.exe not found

Andrew Arnott AndrewArnott@byu.edu
Wed, 12 May 2004 10:30:04 -0600


This is a multi-part message in MIME format.

------_=_NextPart_001_01C4383E.61ADEEDC
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I downloaded CVS yesterday, and updated it this morning.  I ran from the
cvs\mono directory:

=20

./autogen.sh -prefix=3D/usr

./make fullbuild

=20

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/. =20

=20

make[3]: Entering directory `/root/cvs/mono/runtime'

if test -f ../../mcs/gmcs/gmcs.exe; then f=3D../../mcs/gmcs/gmcs.exe; =
else
f=3D/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 #

=20

I created a symbolic link to it in the / directory, and got passed that
error.  Then the build crashed with this error:

=20

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

=20

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.


------_=_NextPart_001_01C4383E.61ADEEDC
Content-Type: text/html;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:o=3D"urn:schemas-microsoft-com:office:office" =
xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns=3D"http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=3DContent-Type content=3D"text/html; =
charset=3Dus-ascii">
<meta name=3DGenerator content=3D"Microsoft Word 11 (filtered medium)">
<style>
<!--
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman";}
a:link, span.MsoHyperlink
	{color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{color:purple;
	text-decoration:underline;}
p.Code, li.Code, div.Code
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
span.EmailStyle18
	{mso-style-type:personal-compose;
	font-family:Arial;
	color:windowtext;}
@page Section1
	{size:8.5in 11.0in;
	margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
	{page:Section1;}
-->
</style>

</head>

<body lang=3DEN-US link=3Dblue vlink=3Dpurple>

<div class=3DSection1>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I downloaded CVS yesterday, and updated it this =
morning. &nbsp;I
ran from the cvs\mono directory:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>./autogen.sh =
&#8211;prefix=3D/usr<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>./make fullbuild<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>My mono files are found in /usr/bin/mono, etc. =
&nbsp;So I
believe the prefix above is correct.&nbsp; But the build fails with the =
error
below.&nbsp; It appears that the gmcs.exe file is being looked for in =
the /
directory rather than /usr/bin/. &nbsp;<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[3]: Entering directory =
`/root/cvs/mono/runtime'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>if test -f ../../mcs/gmcs/gmcs.exe; then
f=3D../../mcs/gmcs/gmcs.exe; else f=3D/gmcs.exe; fi; =
\<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>echo &quot;cp -f $f .&quot;; =
\<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>cp -f $f .<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>cp -f /gmcs.exe .<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>cp: cannot stat `/gmcs.exe': No such file or =
directory<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[3]: *** [gmcs.exe] Error =
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[3]: Leaving directory =
`/root/cvs/mono/runtime'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[2]: *** [all-recursive] Error =
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[2]: Leaving directory =
`/root/cvs/mono/runtime'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[1]: *** [all-recursive] Error =
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[1]: Leaving directory =
`/root/cvs/mono'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make: *** [all] Error 2<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>biscuit:~/cvs/mono # locate =
gmcs.exe<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>/usr/bin/gmcs.exe<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>/usr/lib/mono/2.0/gmcs.exe<o:p></o:p></span></font></p=
>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>biscuit:~/cvs/mono #<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I created a symbolic link to it in the / directory, =
and got
passed that error. &nbsp;Then the build crashed with this =
error:<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>cp -f =
../../../mcs/class/lib/default/System.Web.Services.dll
.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>cp -f
../../../mcs/class/lib/default/System.Windows.Forms.dll =
.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>cp -f ../../../mcs/class/lib/default/System.Xml.dll =
.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[3]: Leaving directory =
`/root/cvs/mono/runtime/net_1_1'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>Making all in net_2_0<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[3]: Entering directory =
`/root/cvs/mono/runtime/net_2_0'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>cp -f ../../../mcs/class/lib/net_2_0/mscorlib.dll =
.<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>cp: cannot stat
`../../../mcs/class/lib/net_2_0/mscorlib.dll': No such file or =
directory<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[3]: *** [mscorlib.dll] Error =
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[3]: Leaving directory =
`/root/cvs/mono/runtime/net_2_0'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[2]: *** [all-recursive] Error =
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[2]: Leaving directory =
`/root/cvs/mono/runtime'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[1]: *** [all-recursive] Error =
1<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make[1]: Leaving directory =
`/root/cvs/mono'<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>make: *** [all] Error 2<o:p></o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=3DMsoNormal><font size=3D2 face=3DArial><span =
style=3D'font-size:10.0pt;
font-family:Arial'>I&#8217;ve never managed to get a make fullbuild to =
work with
any snapshot, so I may have environment variables that need to be =
initialized? &nbsp;I
don&#8217;t know.&nbsp;&nbsp; But any help would be =
appreciated.<o:p></o:p></span></font></p>

</div>

</body>

</html>

------_=_NextPart_001_01C4383E.61ADEEDC--