[Mono-list] Boostrap mcs and gac path

Atsushi Eno atsushi at ximian.com
Wed May 30 06:23:48 EDT 2007


Hello,

I'm not perfectly sure about the latest bootstrap though...

Actually during the build it does not use mcs or gmcs from your
installation base, but it instead uses them from mcs/class/lib/*.

For bootstrapping "make get-monolite-latest" will download the
latest working bootstrapper mcs, so you can use mcs/class/lib/monolite
for MONO_GAC_PREFIX. But in that case, use it only to build
net_1_1_bootstrap (make PROFILE=net_1_1_bootstrap in mcs topdir).
Once it is built fine, the entire build system will work.

Atsushi Eno

Jurek Bartuszek wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
>> Hi Jurek,
>>
>> You can try to use the MONO_GAC_PREFIX enviroment variable and set it to
>> a diferent place than your current instalation.
>>
> 
> Thanks, but as far as I can see, it looks into multiple dirs:
> 
> stat64("/var/tmp/portage/dev-lang/mono-1.2.4/work/mono-1.2.4/mcs/class/lib/net_2_0_bootstrap/I18N.dll",
> 0xbfabf768) = -1 ENOENT (No such file or directory)
> stat64("/var/tmp/portage/dev-lang/mono-1.2.4/work/mono-1.2.4/mcs/class/lib/net_2_0_bootstrap/I18N.exe",
> 0xbfabf768) = -1 ENOENT (No such file or directory)
> stat64("/var/tmp/portage/dev-lang/mono-1.2.4/work/mono-1.2.4/mcs/class/lib/net_2_0_bootstrap/I18N/I18N.dll",
> 0xbfabf768) = -1 ENOENT (No such file or directory)
> stat64("/var/tmp/portage/dev-lang/mono-1.2.4/work/mono-1.2.4/mcs/class/lib/net_2_0_bootstrap/I18N/I18N.exe",
> 0xbfabf768) = -1 ENOENT (No such file or directory)
> stat64("../../class/lib/net_2_0_bootstrap/I18N.dll", 0xbfabf768) = -1
> ENOENT (No such file or directory)
> stat64("../../class/lib/net_2_0_bootstrap/I18N.exe", 0xbfabf768) = -1
> ENOENT (No such file or directory)
> stat64("../../class/lib/net_2_0_bootstrap/I18N/I18N.dll", 0xbfabf768) =
> - -1 ENOENT (No such file or directory)
> stat64("../../class/lib/net_2_0_bootstrap/I18N/I18N.exe", 0xbfabf768) =
> - -1 ENOENT (No such file or directory)
> open("/usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll",
> O_RDONLY|O_LARGEFILE) = 6
> 
> and I only want to prevent it from reading /usr/lib/mono/gac during
> installation. I tried to set or unset the MONO_GAC_PREFIX in
> mono-wrapper (and exporting it) but no use. Any ideas?
> 
> Best regards,
> Jurek Bartuszek
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFGXU106l8uJkeTVlMRAsLLAJ4/9t4PDqygEUHN0imVy+SGezpkGACfWBl+
> W8XubLB9IO+PWs4YBHY54Ow=
> =l+pi
> -----END PGP SIGNATURE-----
> _______________________________________________
> Mono-list maillist  -  Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
> 



More information about the Mono-list mailing list