Re: [Mono-dev] Bug 470120 - Socket.EndSend unexpectedly fails with WSAEWOULDBLOCK
shameless ping... On Mon, Jun 7, 2010 at 11:03 AM, yoni shalom silve...@gmail.com wrote: Does anyone know the status of this bug ? It was found in 2.4.x, theres a patch there but it hasn't seen its way into trunk, can someone take a look please ? https://bugzilla.novell.com/show_bug.cgi?id=470120 Thanks. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Unable to build Mono from trunk r158797 because of errors in Microsoft.CSharp
Hi everybody. What can I do to successfully build current trunk, r158797 I did next: $ make uninstall make clean $ make get-monolite-latest $ ./autogen.sh --prefix=/usr $ make But nothing helps. Every time the same error: make[8]: Entering directory `/usr/src/mono/mcs/class/Microsoft.CSharp' MCS [net_4_0] Microsoft.CSharp.dll Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(57,39): error CS1502: The best overloaded method match for `Mono.CSharp.New.New(Mono.CSharp.FullNamedExpression, Mono.CSharp.Arguments, Mono.CSharp.Location)' has some invalid arguments /usr/src/mono/mcs/class/lib/net_4_0/Mono.CSharp.dll (Location of the symbol related to previous error) Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(57,39): error CS1503: Argument `#1' cannot convert `Mono.CSharp.Expression' expression to type `Mono.CSharp.FullNamedExpression' Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(56,38): error CS1502: The best overloaded method match for `Microsoft.CSharp.RuntimeBinder.CSharpBinder.CSharpBinder(System.Dynamic.Dyn amicMetaObjectBinder, Mono.CSharp.Expression, System.Dynamic.DynamicMetaObject)' has some invalid arguments Microsoft.CSharp.RuntimeBinder/CSharpBinder.cs(49,24): (Location of the symbol related to previous error) Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(56,38): error CS1503: Argument `#2' cannot convert `object' expression to type `Mono.CSharp.Expression' Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(59,32): error CS1061: Type `object' does not contain a definition for `AddRestrictions' and no extension method `AddRestrictions' of type `object' could be found (are you missing a using directive or an assembly reference?) Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(60,32): error CS1061: Type `object' does not contain a definition for `AddRestrictions' and no extension method `AddRestrictions' of type `object' could be found (are you missing a using directive or an assembly reference?) Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(62,39): error CS1061: Type `object' does not contain a definition for `Bind' and no extension method `Bind' of type `object' could be found (are you missing a using directive or an assembly reference?) Compilation failed: 7 error(s), 0 warnings Thanks in advance! Alex ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Unable to build Mono from trunk r158797 because of errors in Microsoft.CSharp
Hi, I did the following 1. Downloaded libgdiplus and mono 2.6.4 2. for each of them ./configure at this point you will need to install a few more packages, until configure stops complaining 3. make 4. make install now you must have 2.6.4 working. I suspect you can easily use a packaged mono as well. Best if installed in /usr/local 5. check out trunk for mono, mcs and libgdiplus 6.. cd to mono 7. ./autogen --prefix again it will ask for a few more packages 8. make make install Note 1 :Best to install trunk mono with same prefix I succesfully built it yesterday on Ubuntu Server 10. Based on http://www.mono-project.com/Compiling_Mono_From_SVN Regards Roman On 10 June 2010 20:07, Alexander M. Batishchev abatishc...@godfather.net.ru wrote: Hi everybody. What can I do to successfully build current trunk, r158797 I did next: $ make uninstall make clean $ make get-monolite-latest $ ./autogen.sh --prefix=/usr $ make But nothing helps. Every time the same error: make[8]: Entering directory `/usr/src/mono/mcs/class/Microsoft.CSharp' MCS [net_4_0] Microsoft.CSharp.dll Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(57,39): error CS1502: The best overloaded method match for `Mono.CSharp.New.New(Mono.CSharp.FullNamedExpression, Mono.CSharp.Arguments, Mono.CSharp.Location)' has some invalid arguments /usr/src/mono/mcs/class/lib/net_4_0/Mono.CSharp.dll (Location of the symbol related to previous error) Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(57,39): error CS1503: Argument `#1' cannot convert `Mono.CSharp.Expression' expression to type `Mono.CSharp.FullNamedExpression' Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(56,38): error CS1502: The best overloaded method match for `Microsoft.CSharp.RuntimeBinder.CSharpBinder.CSharpBinder(System.Dynamic.DynamicMetaObjectBinder, Mono.CSharp.Expression, System.Dynamic.DynamicMetaObject)' has some invalid arguments Microsoft.CSharp.RuntimeBinder/CSharpBinder.cs(49,24): (Location of the symbol related to previous error) Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(56,38): error CS1503: Argument `#2' cannot convert `object' expression to type `Mono.CSharp.Expression' Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(59,32): error CS1061: Type `object' does not contain a definition for `AddRestrictions' and no extension method `AddRestrictions' of type `object' could be found (are you missing a using directive or an assembly reference?) Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(60,32): error CS1061: Type `object' does not contain a definition for `AddRestrictions' and no extension method `AddRestrictions' of type `object' could be found (are you missing a using directive or an assembly reference?) Microsoft.CSharp.RuntimeBinder/CSharpInvokeConstructorBinder.cs(62,39): error CS1061: Type `object' does not contain a definition for `Bind' and no extension method `Bind' of type `object' could be found (are you missing a using directive or an assembly reference?) Compilation failed: 7 error(s), 0 warnings Thanks in advance! Alex ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Bug 470120 - Socket.EndSend unexpectedly fails with WSAEWOULDBLOCK
So the patch fixes the Begin/EndSend issue but breaks BeginConnect? Maybe that's a good reason to not commit the patch until the issue with BeginConnect is fixed. Would you be capable of diagnosing andor fixing the issue or do we need another OSX guy to look at it? You should probably add information about exactly what's broken to the bug report. Alan. On Thu, Jun 10, 2010 at 3:01 PM, yoni shalom silve...@gmail.com wrote: shameless ping... On Mon, Jun 7, 2010 at 11:03 AM, yoni shalom silve...@gmail.com wrote: Does anyone know the status of this bug ? It was found in 2.4.x, theres a patch there but it hasn't seen its way into trunk, can someone take a look please ? https://bugzilla.novell.com/show_bug.cgi?id=470120 Thanks. ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
[Mono-dev] Mono.CSharp.Evaluator questions
Hello, I'm using Mono.CSharp.Evaluator and I have two questions. I'll appreciate if you can help me on this ones. 1) You cannot do something like this: str = using System;; str += Console.WriteLine (\Hello\);; Evaluator.Run (str); but this works: str = using System;; Evaluator.Run (str); str = Console.WriteLine (\Hello\);; Evaluator.Run (str); It seems that you have to evaluate the using separately. Is this a known issue? 2) The method Evaluator.GetVars returns a string that is unnecessary hard to parse. For example: Random random = new Random (); var num = random.Next (5); var rslt = num + 5; Is translated into: System.Random random = System.Randomint num = 4int rslt = 9 I will be good at least to separate the variables with a space or a special separator character to make this more easy to parse for consumer applications. No need to say that returning the data in type, variable, value separated somehow separated in an array will be even better. Thanks in advance, Jordi, ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono.CSharp.Evaluator questions
Hello, 1) You cannot do something like this: Correct; Using statements are parsed independently of expressions, you can not do this. The reason is that you need to evaluate either declarations or expression/statements and using clauses are not expression/statements. 2) The method Evaluator.GetVars returns a string that is unnecessary hard to parse. For example: Random random = new Random (); var num = random.Next (5); var rslt = num + 5; Is translated into: System.Random random = System.Randomint num = 4int rslt = 9 They should be separated by a newline, I find it strange that it is not there, the actual strings is: sb.AppendFormat ({0} {1} = {2}, fi.Item1.MemberType.GetSignatureForError (), de.Key, value); sb.AppendLine (); Miguel I will be good at least to separate the variables with a space or a special separator character to make this more easy to parse for consumer applications. No need to say that returning the data in type, variable, value separated somehow separated in an array will be even better. Thanks in advance, Jordi, ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list
Re: [Mono-dev] Mono.CSharp.Evaluator questions
Hello, They should be separated by a newline, I find it strange that it is not there, the actual strings is: sb.AppendFormat ({0} {1} = {2}, fi.Item1.MemberType.GetSignatureForError (), de.Key, value); sb.AppendLine (); Oh, cool. I'm using Mono 2.4.4 (the default included in Ubuntu Lucid, the last Ubuntu version) and there is no new line. The code looks like: if (error) sb.Append (String.Format ({0} {1} error reading value, TypeManager.CSharpName(fi.FieldType), de.Key)); else sb.Append (String.Format ({0} {1} = {2}, TypeManager.CSharpName(fi.FieldType), de.Key, value)); There is no AppendLine. This was added in revision 156533. Thanks Miguel, Jordi, ___ Mono-devel-list mailing list Mono-devel-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-devel-list