[Mono-list] build issue 3.8
peter at willow-media.nl
Fri Sep 12 08:55:27 UTC 2014
Thanks for your reply. I also have a 3.4 build installed parallel, so I used that one:
make EXTERNAL_MCS=/opt/mono-3.4/bin/mcs EXTERNAL_RUNTIME=/opt/mono-3.4/bin/mono
but the it will run into the following error:
System.TypeLoadException: Could not load type 'Mono.CSharp.CommandLineParser' from assembly 'basic, Version=126.96.36.199, Culture=neutral, PublicKeyToken=null'.
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type 'Mono.CSharp.CommandLineParser' from assembly 'basic, Version=188.8.131.52, Culture=neutral, PublicKeyToken=null'.
After that I tried the monolite version:
and that seems to work. So, thanks for the info!
On 12 sep. 2014, at 10:09, Steve Hall <steve.hall at nntws.com> wrote:
> Hi Peter,
> I might be wrong but I *think* this is something to do with the current version of Mono on your machine. If it's of a certain vintage then it can't be used build the latest C# code that's part of Mono. I think you can either remove the current mono (or at least hide it) and let the build process sort it out, or upgrade in increments. e.g If you have 3.2.x now, don't try to go straight to 3.8, but do 3.4, 3.6 etc first.
> Again, I could be wrong but this rings a bell.
> Good luck!
> Steve H
> On 12 Sep 2014, at 07:37, Peter Hagen <peter at willow-media.nl> wrote:
>> I’m trying to build mono 3.8 from git, but I get an error:
>> System.Security.AccessControl/SemaphoreSecurity.cs(136,35): warning CS0109: The member `System.Security.AccessControl.SemaphoreSecurity.PersistModifications(System.Runtime.InteropServices.SafeHandle)' does not hide an inherited member. The new keyword is not required
>> Mono.Http/NtlmClient.cs(99,54): error CS1502: The best overloaded method match for `Mono.Security.Protocol.Ntlm.Type3Message.Type3Message(byte)' has some invalid arguments
>> /usr/lib/mono/gac/Mono.Security/184.108.40.206__0738eb9f132ed756/Mono.Security.dll (Location of the symbol related to previous error)
>> Mono.Http/NtlmClient.cs(99,54): error CS1503: Argument `#1' cannot convert `Mono.Security.Protocol.Ntlm.Type2Message' expression to type `byte'
>> Compilation failed: 2 error(s), 1 warnings
>> I just cloned the repository and switch to the mono-3.8-branch and started building. Is this a known issue?
>> Peter Hagen
>> Mono-list maillist - Mono-list at lists.ximian.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-list