[Mono-list] CVS build instructions

Duncan Mak duncan@ximian.com
Wed, 15 Oct 2003 18:45:59 -0400


On Wed, 2003-10-15 at 12:23, Karl Waclawek wrote:
> As a Mono newbie I found it quite difficult to build from CVS.
> It isn't really documented what you need.
> 
> Here is what finally succeeded (RH 9).

So do you have it working now?

> - glib update (don't remember which version)
> - install all mono 0.28 RPMs
> - install all Cairo and ICU related packages from red carpet
>   (maybe not all needed, but didn't want to go through too many re-tries)
> - cd to ../mcs and build mcs first (contrary to instructions,
>   as I would get corlib.dll out of sync with ../mono/make fullbuild

Where are these instructions? If they're wrong, we should fix them.

Incidentally, this is what I do myself, I always build mcs before mono
(from CVS), and I never used 'make fullbuild'.

>   even after copying all current monocharge files over the ones from the RPMs)

You can always download a 
> - cd to ../gtk-sharp and do the same (don't know if necessary)
> - cd to ../mono and run the recommended 
>   ./autogen.sh --prefix=/usr/local
>   make fullbuild

This is what I do:

1) Get a working setup of Mono (from RPM).
2) Checkout mcs and mono.
3) Build mcs, and then mono.
4) cd mono/runtime, and remove all dlls and exes. Make again to get new
assemblies from mcs/class/lib.
5) make install in mono.

Duncan.