[Mono-dev] Relocatable Mono.

Paolo Molaro lupus at ximian.com
Fri Oct 28 07:08:51 EDT 2005

On 10/26/05 Miguel de Icaza wrote:
>     The following patch makes Mono relocatable. 
>     Currently our installer uses a bunch of wrapper scripts around
> everything (mono, monodis and others) to overwrite the built-in prefixes
> that we use during the build process.
>     With this patch, Mono becomes relocatable, as long as the whole Mono
> installation from the prefix is preserved in the layout expected by
> Mono.
>     This patch has a special case: if Mono is installed with
> prefix=/usr, it assumes that configuration is on /etc (which is how we
> configure Mono today when we distribute it).  Other than this case, the
> patch will work with a relocated Mono.  
>     This will also aid for those who need to bundle Mono with their
> applications without having to rebuild Mono: they can just ship the Mono
> files that we distribute from packages.
>     Am running my Mono environment with this patch.   Any objections to
> get this in?

I think we should leave the default as it is now, instead of always
trying to figure out the prefix. This lowers the maintainance issues,
because the default build will work on operating systems that are not
handled with the /proc hacks and that can't be handled in a similar way.

As it is the patch likely breaks OS X, *BSD.


lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better

More information about the Mono-devel-list mailing list