[Mono-list] Newbie help?
A Rafael D Teixeira
Mon, 11 Aug 2003 12:34:32 -0300
>From: "Thomas Leavitt" <firstname.lastname@example.org>
>... hey, if this isn't the appropriate place for an experienced sysadmin
>has RTFM to ask probably ignorant questions, where do I do that?
You've came to the right list. Sorry, but we are in a hurry for a new
release, and answering emails get a lower priority at these times...
>To recap: I've followed the instructions in the beginner's HOWTO. I have
>"mono" source tree compiling ("/mono") out of CVS - however, that doesn't
>appear to include the "mcs" source tree, which bombs out with the following
>make: Entering directory `/home/thomas/mono/mcs/build'
>make: Leaving directory `/home/thomas/mono/mcs/build'
>make: Entering directory `/home/thomas/mono/mcs/jay'
>make: Leaving directory `/home/thomas/mono/mcs/jay'
>make: Entering directory `/home/thomas/mono/mcs/mcs'
>csc.exe /nologo /optimize /debug+ /debug:full /target:exe /out:mcs.exe
>yInfo.cs anonymous.cs assign.cs attribute.cs driver.cs cs-tokenizer.cs
>class.cs codegen.cs const.cs constant.cs convert.cs decl.cs delegate.cs
>ecore.cs expression.cs flowanalysis.cs genericparser.cs interface.cs
>s literal.cs location.cs modifiers.cs namespace.cs parameter.cs pending.cs
>t.cs rootcontext.cs statement.cs support.cs typemanager.cs symbolwriter.cs
>make: *** [mcs.exe] Error 255
>make: Leaving directory `/home/thomas/mono/mcs/mcs'
>make: *** [all-recursive] Error 1
As someone already said, the makefile should be using mcs if you are out of
Windows. Even so in linux csc is aliased to call mcs.exe (what seems to be
your case), but you need a MonoCharge tarball with a precompiled version of
it to bootstrap (use mcs to compile mcs itself).
I always install the latest release version (now from Red Carpet as I'm
using RH9), before trying to recompile the full trees, but sure it is still
a somewhat messy procedure even for longtime monoers like me.
>I really want to get this working so I can start hacking C#.
If you want to develop your own apps, I recomend to install mono packages
instead of bothering with compiling CVS. We are in the verge of releasing
0.26, with everything that is in CVS just now.
Just don't give up, C# is cool, and Mono makes it a reality beyond
Mono Hacker since 16 Jul 2001
MSN Messenger: instale grátis e converse com seus amigos.