[Mono-devel-list] Any reason to use /root option gacutil ?

Michal Moskal malekith at pld-linux.org
Mon Aug 30 11:34:14 EDT 2004

On Mon, Aug 30, 2004 at 11:54:35PM +0900, Atsushi Eno wrote:
> Hello,
> >>Is there any reason we use /root option by default to install
> >>assemblies into the GAC? If no, then we should recommend developers
> >>not to use /root option for their projects.
> >
> >DESTDIR installation?
> Well, I had better describe more what I mean.
> In general there is one GAC for one mono installation, namely
> $install/lib/mono/gac and optionally $instlal/lib/mono/package-name.
> To specify certain destination (certain GAC), usual developers should
> not have to specify DESTDIR as /root option. Instead, they could
> choose proper gacutil.exe and mono runtime to run.
> The exception is some of our class libraries in mcs, as I wrote in
> the previous post, because gacutil itself requires some assemblies
> to run.
> I doubt if am misunderstanding DESTDIR rather than PREFIX (correct
> me if so).

Maybe /root option could take just DESTDIR. Maybe it could be renamed to
/destdir to avoid confusion. Anyway, the reason for using /root option
seems to be just DESTDIR support.

DESTDIR is used during rpm/deb/whatever build, when after make all, make
install DESTDIR=/tmp/something/foobar is used to install files in
/tmp/something/foobar as if it were / (that is
/tmp/something/foobar/usr/lib/mono/gac/qux_123 is created). Then files
from /tmp/something/foobar are put into the binary package.

: Michal Moskal :: http://www.kernel.pl/~malekith :: GCS !tv h e>+++ b++
: ::: Logic is a nice contrast to the Real World. :: UL++++$ C++ E--- a?

More information about the Mono-devel-list mailing list