[Mono-list] (no subject)
Gert Driesen
gert.driesen@pandora.be
Thu, 17 Apr 2003 08:50:00 +0200
I'm new to mono and linux (actually I only installed linux to use mono, as I
had too much problems building mono from cvs on Windows), and I followed
your guidelines, but I get the following warnings when I make mcs :
Your mono runtime and corlib are out of sync.
When you update one from cvs you need to update, compile and install the
other too.
.....
How can you make sure they are both in sync ? You need to have mono
installed to build mcs, but in your instructions you don't install mono
until after mcs is built, that means you need to install the mono rpm's
first, no (at least that's what I did) ?
Sorry if I'm asking stupid questions, but I'm really new to this all... (I
know, only stupid people ask stupid questions :-) lol)
Gert
----- Original Message -----
From: <yoros@wanadoo.es>
To: "jbkerr" <jbkerr@sonic.net>
Cc: <mono-list@lists.ximian.com>
Sent: Wednesday, April 16, 2003 7:37 PM
Subject: Re: [Mono-list] (no subject)
On Wed, Apr 16, 2003 at 09:04:58AM -0700, jbkerr wrote:
> [Accidentally posted this to Mono-docs ~ sorry for the duplicate posting!]
>
> I came across the Mono site a few weeks ago and would really like to
> contribute to unit testing of Mono... but I can't compile from the
> latest sources.
>
> I followed the directions for AnonCVS access, read the README.building
> file in the mcs directory, and tried running the mono-build.sh script.
> The build in the mono directory shows lots of errors like
>
> cp ../../mcs/class/lib/Accessibility.dll . || cp
> usr/local/lib/Accessibility.dll .
> cp: cannot stat `../../mcs/class/lib/Accessibility.dll': No such file or
> directory
> cp: cannot stat `/usr/local/lib/Accessibility.dll': No such file or
directory
> make[2]: [Accessibility.dll] Error 1 (ignored)
>
> Well, okay, that makes sense, since the mcs build hasn't happened yet...
> but if I try to compile mcs (cd ../mcs; make -f makefile.gnu), this pops
> up:
>
> which: no mcs in
> (/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/home/jbkerr/bin)
> You must have a C# compiler installed to continue.
> This is typically provided by 'mono'.
> Read INSTALL.txt for details.
>
> It seems like there's a circular dependency here. The README.building
> file suggests downloading the monocharge tarball from gnome-db.org, and
> extracting mcs.exe and various dll's from it. Is this needed to break
> the dependencies and get a successful first compile?
Yes, MCS is self hosted (full bootstrapping) and you need mcs to build
mcs stuff. You can get monocharge (or the latest mono and mcs release)
and have a basic instalation of mono, then you can build the CVS.
NOTE: I always compile first mono (make) and mcs (make -f makefile.gnu) in
parallel, then, when both of them finished, I install (make install) mono
and install mcs (make -f makefinel.gnu install prefix=/usr/local). Following
this order I ensure you that you will have mono-cvs installed :D
Regards,
Pedro
--
Pedro Martinez Juliá
\ yoros@terra.es
)| yoros@wanadoo.es
/ http://yoros.cjb.net
Socio HispaLinux #311
Usuario Linux #275438 - http://counter.li.org
GnuPG public information: pub 1024D/74F1D3AC
Key fingerprint = 8431 7B47 D2B4 5A46 5F8E 534F 588B E285 74F1 D3AC
_______________________________________________
Mono-list maillist - Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list