[Mono-devel-list] [RFA, PATCH] 'make bootstrap' -- a better reincarnation of 'make fullbuild'
Raja R Harinath
rharinath at novell.com
Tue May 11 00:43:52 EDT 2004
Hi Mike,
Mike Kestner <mkestner at ximian.com> writes:
> On Wed, 2004-05-05 at 12:15, Miguel de Icaza wrote:
>
>> This is a beautiful setup Raja, this patch solves maybe the most asked
>> question and the major problem we have had in the past.
>
> Agreed. Thanks a bunch for this patch.
Thanks.
> Some bad news though. I just tried it out and got a failure:
>
> monoresgen Npgsql/NpgsqlState.resx
>
> ** (/opt/mono/bin/monoresgen.exe:28697): WARNING **: cant resolve
> internal call to
> "System.Reflection.Assembly::load_with_partial_name(string,System.Security.Policy.Evidence)" (tested without signature also)
>
> Your mono runtime and class libraries are out of sync.
> The out of sync library is: /opt/mono/lib/mscorlib.dll
Hmm... Looks like a problem with your setup. Your /opt/mono/bin/mono
and /opt/mono/lib/mscorlib.dll don't match.
The 'monoresgen' it's picking up probably says:
#! /bin/sh
/opt/mono/bin/mono /opt/mono/bin/monoresgen "$@"
So, it shouldn't be picking anything from the _tmpinst tree at all.
And, it isn't: it's picking up /opt/mono/lib/mscorlib.dll.
> This error occurred during:
>
> tmpinst=`cd _tmpinst && pwd` ; \
> PATH=$tmpinst/bin:$PATH ; export PATH ; \
> cd ./../mcs && make
>
> I was able to complete the make bootstrap by first doing a cd mono/mono;
> and a make install. After that, the make bootstrap finished.
So, at some point you must've installed a new mscorlib.dll into
/opt/mono/lib, since this wouldn't work otherwise.
> So it looks like there's a missing step in the process still. Any
> ideas, Raja?
I'll look into it. But, I'm fairly sure this is a pre-existing ailment.
Not covered by this HMO ;-)
- Hari
More information about the Mono-devel-list
mailing list