[Mono-list] Boostrap mcs and gac path

Jurek Bartuszek koxta at koxta.net
Wed May 30 15:41:38 EDT 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>>> Actually during the build it does not use mcs or gmcs from your
>>> installation base, but it instead uses them from mcs/class/lib/*.
>> Well, it's exactly the opposite of what I can deduce from strace output.
> 
> Well, I had too few words to explain it; external mcs is used only
> when it build bootstrappers. Other than that it uses bootstrap stuff.
> 
> So, there is no contradiction.

Here's what happens:

http://bugs.gentoo.org/attachment.cgi?id=119804

when mono is not installed during make it doesn't see the
/usr/lib64/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll (or in my
case /usr/lib/mono/gac/I18N/2.0.0.0__0738eb9f132ed756/I18N.dll) file, so
the error does not occur.

>>> 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.
>> Why would I do that? I fetch a tarball marked stable from go-mono.com.
>> Isn't the latest working bootstrapper mcs included?
> 
> Then it sounds very likely your local issue (weird PATH settings or
> whatever else). You never said that you were building from a tarball,
> which was not my premise for my explanation.
> 
I'm using gentoo, therefore installing from sources. This is a
gentoo-wide issue, see http://bugs.gentoo.org/show_bug.cgi?id=146424.
There are many bug reports regarding this behavior and I'm trying to
find a solution other than reinstalling mono. IMO the key is to prevent
mcs from accessing /usr/lib/mono/gac during make. I still look forward
to your suggestions.

Best regards,
Jurek Bartuszek
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXdNy6l8uJkeTVlMRAs7kAKCC7AQiLAv4w7LmxBKTlNt/eKhJIACeKlWP
HLC2aFXpqlwPwtdmAeTg+Hk=
=xPNZ
-----END PGP SIGNATURE-----


More information about the Mono-list mailing list