[Mono-dev] Failing make check

2009-05-01 Thread Paul Melis
Hi, After successfully building mono 2.4 on a freshly installed ubuntu laptop I get a SIGILL somewhere in the basic tests: [...] Test run: image=/home/melis/c/mono-2.4/mono/mini/basic-float.exe, opts=peephole Results: total tests: 29, all pass Elapsed time: 0.004071 secs (0.000318, 0.003753),

Re: [Mono-dev] Failing make check

2009-05-01 Thread Paul Melis
[Resending, to include mono-devel] Done, https://bugzilla.novell.com/show_bug.cgi?id=500019 Will mono be usable in this situation or am I likely to run into this issue? Paul Rodrigo Kumpera wrote: It's a runtime bug, please fill a bug report on this. On Fri, May 1, 2009 at 5:39 AM, Paul

Re: [Mono-dev] Failing make check

2009-05-01 Thread Rodrigo Kumpera
It's a runtime bug, please fill a bug report on this. On Fri, May 1, 2009 at 5:39 AM, Paul Melis mono-de...@assumetheposition.nlwrote: Hi, After successfully building mono 2.4 on a freshly installed ubuntu laptop I get a SIGILL somewhere in the basic tests: [...] Test run:

Re: [Mono-dev] Ug

2009-05-01 Thread Miguel de Icaza
Hello, mono-devel-list context: Scott found a bug in sqlmetal today, in that it wouldn't connect to a MySQL database. The problem was that sqlmetal.exe.config is used to specify which connection type to use for a given /provider option, and the MySQL entry was referencing an invalid

[Mono-dev] FileInfo Replace

2009-05-01 Thread David Uvalle
FileInfo Replace method and some tests. Index: FileInfo.cs === --- FileInfo.cs (revision 132546) +++ FileInfo.cs (working copy) @@ -286,7 +286,23 @@ public FileInfo Replace (string destinationFileName, string

[Mono-dev] Building mcs from source without mono

2009-05-01 Thread Joachim Ante
Hi, We are currently rebuilding the process of how to build mono. We are switching the build process of the mono runtime to be built with jamplus instead. This makes it easier for us to port to new platforms and maintain them. Now we don't really want to rebuild the make files to build

Re: [Mono-dev] FileInfo Replace

2009-05-01 Thread Max de Lavenne
Nice, But... you need to also check for the read-only flag of the destinationFileName before copying. Especially important for Linux systems where IsReadOnly isn't the only parameter to check Quote from MSDN This method will succeed in Windows 2000 environments if the destFileName is read-only

Re: [Mono-dev] Building mcs from source without mono

2009-05-01 Thread Miguel de Icaza
Is there an easy way to remove the dependency to the mono folder completely? Not easy as a general framework, but for the handful of assemblies that you guys are using, you could probably just create a profile in: mcs/build/profiles And create say a unity profile where you

Re: [Mono-dev] Ug

2009-05-01 Thread Jonathan Pryor
On Fri, 2009-05-01 at 18:00 -0400, Miguel de Icaza wrote: mono-devel-list context: Scott found a bug in sqlmetal today, in that it wouldn't connect to a MySQL database. The problem was that sqlmetal.exe.config is used to specify which connection type to use for a given /provider option,

Re: [Mono-dev] Ug

2009-05-01 Thread Miguel de Icaza
Hello, So it's a question of which kind of error message is preferable. If the entry isn't present within sqlmetal.exe.config, then `sqlmetal -provider:MySQL ...' will generate the error message Failed to load provider MySQL..., while if the entry is present but the assembly isn't

Re: [Mono-list] mscoree.dll crash

2009-05-01 Thread Kornél Pál
Hi, MSVCRT is calling CorExitProcess on exit if mscoree.dll is loaded. mono.dll is hooking some mscoree.dll exports (including CorExitProcess) to itself but is not removing these hooks on unload. I suggest you to keep an extra reference to mono.dll so that it will not be unloaded until

[Mono-list] 2.4 mod_mono error

2009-05-01 Thread Derek Ekins
Hi, I have been having a lot of trouble trying to get mod_mono working. I have setup a fresh instance of Ubuntu 9.04 (this is running on Amazon EC2) and built and installed mono 2.4, xsp 2.4 and mod_mono 2.4 to /usr/local I created a new virtual host and checked that it served up static files.

Re: [Mono-list] 2.4 mod_mono error

2009-05-01 Thread Gonzalo Paniagua Javier
On Fri, 2009-05-01 at 15:48 +0100, Derek Ekins wrote: Hi, I have been having a lot of trouble trying to get mod_mono working. I have setup a fresh instance of Ubuntu 9.04 (this is running on Amazon EC2) and built and installed mono 2.4, xsp 2.4 and mod_mono 2.4 to /usr/local I created a

[Mono-list] exit in a middle of the program

2009-05-01 Thread YyYo
Hi... I am new to mono and C#. I am writing a simple program, and question: is there a command to exit from the execution. like in python: sys.exit() or perl: exit() many thanks -- View this message in context:

Re: [Mono-list] exit in a middle of the program

2009-05-01 Thread Jorge Bastos
Application.exit() ? -Original Message- From: mono-list-boun...@lists.ximian.com [mailto:mono-list- boun...@lists.ximian.com] On Behalf Of YyYo Sent: sexta-feira, 1 de Maio de 2009 23:54 To: mono-list@lists.ximian.com Subject: [Mono-list] exit in a middle of the program Hi...

Re: [Mono-list] exit in a middle of the program

2009-05-01 Thread Chris Plasun
C# exits through the Main() method. Use 'return' to exit any method, eventually returning to Main() and 'return' the program from Main() cp YyYo wrote: Hi... I am new to mono and C#. I am writing a simple program, and question: is there a command to exit from the execution. like in

Re: [Mono-list] exit in a middle of the program

2009-05-01 Thread Dan Shryock
I am new to mono and C#. I am writing a simple program, and question: is there a command to exit from the execution. like in python: sys.exit() or perl: exit() System.Environment.Exit(0); will do the trick ;) http://msdn.microsoft.com/en-us/library/system.environment.exit(VS.80).aspx Hope

[Mono-list] passing MonoArray from c#

2009-05-01 Thread fozzie
hi all.. I have a bag of floats/ints/strings that i would like to pass back from a c# method in response to a call from unmanaged c++. If tried returning an array of custom structs, but had an exception at runtime. Another exception occurs if i try to use an out parameter. Is there a Good way to

Re: [Mono-list] passing MonoArray from c#

2009-05-01 Thread Robert Jordan
fozzie wrote: hi all.. I have a bag of floats/ints/strings that i would like to pass back from a c# method in response to a call from unmanaged c++. If tried returning an array of custom structs, but had an exception at runtime. Another exception occurs if i try to use an out parameter. Is