From milosz at mindtouchsoftware.com Sun Oct 1 15:28:21 2006
From: milosz at mindtouchsoftware.com (Milosz Tanski)
Date: Sun, 01 Oct 2006 15:28:21 -0400
Subject: [Mono-list] C# and Aspect Oriented Programing
Message-ID: <452016D5.1000907@mindtouchsoftware.com>
Does anyone know of any Aspect Oriented frameworks that work with mono?
I've looked at AspectSharp from Castle Rock, but according to them it
doesn't work with mono? At my school one the interesting on-going
projects is a AOP project... So far the people i talked to told me to
use AspectJ. I'm not a Java guy, nor ever was I, so I'm looking for a
solution that works with C#/mono so I'm not forced to use Java/Eclipse.
Thanks in advance.
From uncertain.genius at gmail.com Sun Oct 1 18:16:29 2006
From: uncertain.genius at gmail.com (Rob Brown-Bayliss)
Date: Mon, 2 Oct 2006 11:16:29 +1300
Subject: [Mono-list] RSS readers
Message-ID: <46f4900d0610011516l71ef75bao51401ee10464d608@mail.gmail.com>
Hi, I am using a dll called Rss.NET from http://rss-net.sourceforge.net/
I can't find any contact on their web site so I thought I would ask here:
I have this sample of an rss feed:
//
// Sun, 01 Oct 2006 20:06:41 GMT
// M 2.7, Southern California
// October 01, 2006 20:06:41 GMT
// -
//
// http://earthquake.usgs.gov/eqcenter/recenteqsww/Quakes/ci14254252.php
//
// 33.2446
// -116.1261
// 2
// pasthour
// 3.50 km
// ci14254252
//
and this snipet of code:
private void ListQuakes()
{
Console.WriteLine (this.channel.Title);
items = this.channel.Items;
IEnumerator enu = this.items.GetEnumerator();
while (enu.MoveNext ()) {
Rss.RssItem item = (Rss.RssItem) enu.Current;
Console.WriteLine (item.Title);
Console.WriteLine (item.Description);
}
}
which works, but I cant seem to find any way of extracting the
Message-ID: <000d01c6e5a9$a2ddb3b0$1c00a8c0@workstation8>
You could do string comparison or parse it as XML. It looks like you are
getting valid XML.
-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Rob Brown-Bayliss
Sent: Sunday, October 01, 2006 5:16 PM
To: Mono-list at lists.ximian.com
Subject: [Mono-list] RSS readers
Hi, I am using a dll called Rss.NET from http://rss-net.sourceforge.net/
I can't find any contact on their web site so I thought I would ask here:
I have this sample of an rss feed:
//
// Sun, 01 Oct 2006 20:06:41
GMT
// M 2.7, Southern California
// October 01, 2006 20:06:41
GMT
// -
//
//
http://earthquake.usgs.gov/eqcenter/recenteqsww/Quakes/ci14254252.php
//
// 33.2446
// -116.1261
// 2
// pasthour
// 3.50 km
// ci14254252
//
and this snipet of code:
private void ListQuakes()
{
Console.WriteLine (this.channel.Title);
items = this.channel.Items;
IEnumerator enu = this.items.GetEnumerator();
while (enu.MoveNext ()) {
Rss.RssItem item = (Rss.RssItem)
enu.Current;
Console.WriteLine (item.Title);
Console.WriteLine (item.Description);
}
}
which works, but I cant seem to find any way of extracting the
References: <452016D5.1000907@mindtouchsoftware.com>
Message-ID: <4520B06E.9070705@gmail.com>
Milosz Tanski escribi?:
> Does anyone know of any Aspect Oriented frameworks that work with mono?
> I've looked at AspectSharp from Castle Rock, but according to them it
> doesn't work with mono? At my school one the interesting on-going
> projects is a AOP project... So far the people i talked to told me to
> use AspectJ. I'm not a Java guy, nor ever was I, so I'm looking for a
> solution that works with C#/mono so I'm not forced to use Java/Eclipse.
I think Spring.NET implements AOP[1], but don't know if anyone has
already tested it with Mono.
Regards,
Andr?s [ knocte ]
[1] http://www.springframework.net/doc/reference/html/aop.html
--
From gburger at cs.up.ac.za Mon Oct 2 07:51:24 2006
From: gburger at cs.up.ac.za (Gert Burger)
Date: Mon, 02 Oct 2006 13:51:24 +0200
Subject: [Mono-list] SerialPort access
Message-ID: <4520FD3C.6000807@cs.up.ac.za>
Hi
I am required to access a serial port from our mono app which will run
on both linux and windows.
Is there any support for this?
I have looked at the System.IO.Ports but have failed to incorporate it
with out app(a combination of monodevelop and mcs crashes).
Are there any other method to do this or have someone incorporated
System.IO.Ports into an .NET v1.x app?
Thanks
--
Gert Burger
TechTeam
Computer Science Department
University of Pretoria
From kornelpal at gmail.com Mon Oct 2 08:11:33 2006
From: kornelpal at gmail.com (=?iso-8859-1?B?S29ybulsIFDhbA==?=)
Date: Mon, 2 Oct 2006 14:11:33 +0200
Subject: [Mono-list] SerialPort access
References: <4520FD3C.6000807@cs.up.ac.za>
Message-ID: <000c01c6e61b$e7dccab0$0100a8c0@kornelpal.hu>
> I have looked at the System.IO.Ports but have failed to incorporate it
> with out app(a combination of monodevelop and mcs crashes).
> Are there any other method to do this or have someone incorporated
> System.IO.Ports into an .NET v1.x app?
Why don't you use profile 2.0?
That way you can use System.IO.Ports on Mono and MS.NET as well without any
hacks.
Korn?l
From gburger at cs.up.ac.za Mon Oct 2 08:14:24 2006
From: gburger at cs.up.ac.za (Gert Burger)
Date: Mon, 02 Oct 2006 14:14:24 +0200
Subject: [Mono-list] SerialPort access
In-Reply-To: <000c01c6e61b$e7dccab0$0100a8c0@kornelpal.hu>
References: <4520FD3C.6000807@cs.up.ac.za>
<000c01c6e61b$e7dccab0$0100a8c0@kornelpal.hu>
Message-ID: <452102A0.8080606@cs.up.ac.za>
Korn?l P?l wrote:
>> I have looked at the System.IO.Ports but have failed to incorporate it
>> with out app(a combination of monodevelop and mcs crashes).
>> Are there any other method to do this or have someone incorporated
>> System.IO.Ports into an .NET v1.x app?
>
> Why don't you use profile 2.0?
>
> That way you can use System.IO.Ports on Mono and MS.NET as well
> without any hacks.
>
> Korn?l
I tried this and it seems not to complain. For some reason I did not
know about the 'profiles' in monodevelop.
Thanks, all sorted, for now.
--
Gert Burger
TechTeam
Computer Science Department
University of Pretoria
From listmono at gmail.com Mon Oct 2 08:36:22 2006
From: listmono at gmail.com (LC)
Date: Mon, 2 Oct 2006 20:36:22 +0800
Subject: [Mono-list] mono installation on CentOS 4.4
Message-ID: <02c401c6e61f$60346920$0201a8c0@d1>
Hi List,
I am runinng a CentOS 4.4 i386 system and I wont like to have mono run with
the shipped apache 2.0.52. What are the rpms I would need to run mono
properly.
Thanks and best regards
From miguel at ximian.com Mon Oct 2 08:49:39 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Mon, 02 Oct 2006 08:49:39 -0400
Subject: [Mono-list] Vault on Mono not working in 1.1.13.8
In-Reply-To: <451D1E47.8010607@sourcegear.com>
References: <451D1E47.8010607@sourcegear.com>
Message-ID: <1159793379.13059.34.camel@erandi.dom>
Hello,
> I'm looking for information related to the latest release of Mono. It
> seems something may have changed which breaks the Vault command line client.
>
> Previous versions of mono (1.1.12.x) with the vault.exe had no problems
> but in 1.1.13.8 we have users reporting the following error:
Seems like you are just missing one of the libraries, make sure the
proper RPM is installed (I forget where it goes).
Miguel
From rpbrown at GAIC.COM Mon Oct 2 08:52:10 2006
From: rpbrown at GAIC.COM (Brown, Robert)
Date: Mon, 2 Oct 2006 08:52:10 -0400
Subject: [Mono-list] SerialPort access
Message-ID: <870BD6A2013B444F9A41ABC3DFE1B1230AD35121@CVGEXCEMAIL001.ga.afginc.com>
What is profile 2.0?
-=Robert
-----Original Message-----
From: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Gert Burger
Sent: Monday, October 02, 2006 8:14 AM
To: Korn?l P?l
Cc: mono-list at lists.ximian.com
Subject: Re: [Mono-list] SerialPort access
Korn?l P?l wrote:
>> I have looked at the System.IO.Ports but have failed to incorporate
>> it with out app(a combination of monodevelop and mcs crashes).
>> Are there any other method to do this or have someone incorporated
>> System.IO.Ports into an .NET v1.x app?
>
> Why don't you use profile 2.0?
>
> That way you can use System.IO.Ports on Mono and MS.NET as well
> without any hacks.
>
> Korn?l
I tried this and it seems not to complain. For some reason I did not know about the 'profiles' in monodevelop.
Thanks, all sorted, for now.
--
Gert Burger
TechTeam
Computer Science Department
University of Pretoria
_______________________________________________
Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
************************************************************************************
The content of this e-mail message and any attachments are confidential
and may be legally privileged, intended solely for the addressee. If you
are not the intended recipient, be advised that any use, dissemination,
distribution, or copying of this e-mail is strictly prohibited. If you
receive this message in error, please notify the sender immediately by
reply email and destroy the message and its attachments.
************************************************************************************
From antonello at deveel.com Mon Oct 2 08:57:01 2006
From: antonello at deveel.com (Antonello Provenzano)
Date: Mon, 2 Oct 2006 14:57:01 +0200
Subject: [Mono-list] Internal Server Error 500 caused by mod-mono-server
Message-ID:
Hi guys,
In the past week-end I posted a problem I had with mono_mono. Maybe
because of the week-end time, nobody answered me and I'm scared the
post was "lost", so I decided to post it again.
I set up a test environment on my Ubuntu 6.0 with Apache 2.0 and Mono
1.1.13.6 (the latest found on repository
http://people.debian.org/~formoer/mono).
The first tests I've made on the website were successful and very good
(I also launched a flood test to check the response time and the
memory load with excellent results), using the following configuration
(in the /etc/apache2/sites-enabled/default configuration file):
DocumentRoot /path/to/the/web/site
Options FollowSymLinks
AllowOverride None
MonoApplications default "/:/path/to/the/web/site"
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
SetHandler mono
As you can see, I stripped any advanced configuration to mod_mono (eg.
MonoMaxMemory or MonoCPUTime).
Anyway, after a while I started having some troubles, since the site
begun responding with a 500 error code (internal server error).
I checked the Apache error files log and this is what I found:
[Sat Sep 30 16:12:58 2006] [notice] Apache/2.0.55 (Ubuntu)
mod_mono/1.1.10 configured -- resuming normal operations
Another mod-mono-server with the same arguments is already running.
Another mod-mono-server with the same arguments is already running.
I tried killing all the mod-mono-server processes pointing to
/path/to/the/web/site and restarting Apache, but with the same result.
Anyone could explain me how to fix this permanently or what
configuration should I adopt to avoid such this error in production?
Thanks
Antonello
From gburger at cs.up.ac.za Mon Oct 2 09:01:31 2006
From: gburger at cs.up.ac.za (Gert Burger)
Date: Mon, 02 Oct 2006 15:01:31 +0200
Subject: [Mono-list] SerialPort access
In-Reply-To: <870BD6A2013B444F9A41ABC3DFE1B1230AD35121@CVGEXCEMAIL001.ga.afginc.com>
References: <870BD6A2013B444F9A41ABC3DFE1B1230AD35121@CVGEXCEMAIL001.ga.afginc.com>
Message-ID: <45210DAB.9040600@cs.up.ac.za>
Brown, Robert wrote:
> What is profile 2.0?
>
> -=Robert
>
> -----Original Message-----
> From: mono-list-bounces at lists.ximian.com [mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Gert Burger
> Sent: Monday, October 02, 2006 8:14 AM
> To: Korn?l P?l
> Cc: mono-list at lists.ximian.com
> Subject: Re: [Mono-list] SerialPort access
>
> Korn?l P?l wrote:
>
>>> I have looked at the System.IO.Ports but have failed to incorporate
>>> it with out app(a combination of monodevelop and mcs crashes).
>>> Are there any other method to do this or have someone incorporated
>>> System.IO.Ports into an .NET v1.x app?
>>>
>> Why don't you use profile 2.0?
>>
>> That way you can use System.IO.Ports on Mono and MS.NET as well
>> without any hacks.
>>
>> Korn?l
>>
> I tried this and it seems not to complain. For some reason I did not know about the 'profiles' in monodevelop.
>
> Thanks, all sorted, for now.
>
> --
> Gert Burger
>
> TechTeam
> Computer Science Department
> University of Pretoria
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
>
> ************************************************************************************
> The content of this e-mail message and any attachments are confidential
> and may be legally privileged, intended solely for the addressee. If you
> are not the intended recipient, be advised that any use, dissemination,
> distribution, or copying of this e-mail is strictly prohibited. If you
> receive this message in error, please notify the sender immediately by
> reply email and destroy the message and its attachments.
> ************************************************************************************
>
The terminology might be wrong, but as I understand he was referring to
using the 2.0 runtime instead of the 1.1 runtime.
--
Gert Burger
TechTeam
Computer Science Department
University of Pretoria
From kornelpal at gmail.com Mon Oct 2 09:07:44 2006
From: kornelpal at gmail.com (=?iso-8859-1?B?S29ybulsIFDhbA==?=)
Date: Mon, 2 Oct 2006 15:07:44 +0200
Subject: [Mono-list] SerialPort access
References: <870BD6A2013B444F9A41ABC3DFE1B1230AD35121@CVGEXCEMAIL001.ga.afginc.com>
Message-ID: <001001c6e623$c0e959c0$0100a8c0@kornelpal.hu>
Microsoft .NET Framework has releases: 1.0, 1.1, 2.0. Note that 3.0 is
exactly the same as 2.0 but contains some more components.
Each release has different set of functionality.
Mono is released as a single product that contains support multible
framework versions. Profile 1.0 is intended to be compatible with MS.NET 1.1
and profile 2.0 is intended to be compatible with MS.NET 2.0.
If you compile you code using MS csc 1.0, 1.1 or Mono mcs it will use
profile 1.0. If you compiler your code using MS csc 2.0 or gmcs it will use
profile 2.0. Also note that you can use .config files to override this
default behavior.
Korn?l
----- Original Message -----
From: "Brown, Robert"
To: "Gert Burger" ; "Korn?l P?l"
Cc:
Sent: Monday, October 02, 2006 2:52 PM
Subject: RE: [Mono-list] SerialPort access
What is profile 2.0?
-=Robert
-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Gert Burger
Sent: Monday, October 02, 2006 8:14 AM
To: Korn?l P?l
Cc: mono-list at lists.ximian.com
Subject: Re: [Mono-list] SerialPort access
Korn?l P?l wrote:
>> I have looked at the System.IO.Ports but have failed to incorporate
>> it with out app(a combination of monodevelop and mcs crashes).
>> Are there any other method to do this or have someone incorporated
>> System.IO.Ports into an .NET v1.x app?
>
> Why don't you use profile 2.0?
>
> That way you can use System.IO.Ports on Mono and MS.NET as well
> without any hacks.
>
> Korn?l
I tried this and it seems not to complain. For some reason I did not know
about the 'profiles' in monodevelop.
Thanks, all sorted, for now.
--
Gert Burger
TechTeam
Computer Science Department
University of Pretoria
_______________________________________________
Mono-list maillist - Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
************************************************************************************
The content of this e-mail message and any attachments are confidential
and may be legally privileged, intended solely for the addressee. If you
are not the intended recipient, be advised that any use, dissemination,
distribution, or copying of this e-mail is strictly prohibited. If you
receive this message in error, please notify the sender immediately by
reply email and destroy the message and its attachments.
************************************************************************************
From rpbrown at GAIC.COM Mon Oct 2 10:34:47 2006
From: rpbrown at GAIC.COM (Brown, Robert)
Date: Mon, 2 Oct 2006 10:34:47 -0400
Subject: [Mono-list] SerialPort access
Message-ID: <870BD6A2013B444F9A41ABC3DFE1B1230ADE651C@CVGEXCEMAIL001.ga.afginc.com>
Thanks that cleared things up.
-=Robert
-----Original Message-----
From: Korn?l P?l [mailto:kornelpal at gmail.com]
Sent: Monday, October 02, 2006 9:08 AM
To: Brown, Robert; Gert Burger
Cc: mono-list at lists.ximian.com
Subject: Re: [Mono-list] SerialPort access
Microsoft .NET Framework has releases: 1.0, 1.1, 2.0. Note that 3.0 is exactly the same as 2.0 but contains some more components.
Each release has different set of functionality.
Mono is released as a single product that contains support multible framework versions. Profile 1.0 is intended to be compatible with MS.NET 1.1 and profile 2.0 is intended to be compatible with MS.NET 2.0.
If you compile you code using MS csc 1.0, 1.1 or Mono mcs it will use profile 1.0. If you compiler your code using MS csc 2.0 or gmcs it will use profile 2.0. Also note that you can use .config files to override this default behavior.
Korn?l
----- Original Message -----
From: "Brown, Robert"
To: "Gert Burger" ; "Korn?l P?l"
Cc:
Sent: Monday, October 02, 2006 2:52 PM
Subject: RE: [Mono-list] SerialPort access
What is profile 2.0?
-=Robert
-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Gert Burger
Sent: Monday, October 02, 2006 8:14 AM
To: Korn?l P?l
Cc: mono-list at lists.ximian.com
Subject: Re: [Mono-list] SerialPort access
Korn?l P?l wrote:
>> I have looked at the System.IO.Ports but have failed to incorporate
>> it with out app(a combination of monodevelop and mcs crashes).
>> Are there any other method to do this or have someone incorporated
>> System.IO.Ports into an .NET v1.x app?
>
> Why don't you use profile 2.0?
>
> That way you can use System.IO.Ports on Mono and MS.NET as well
> without any hacks.
>
> Korn?l
I tried this and it seems not to complain. For some reason I did not know
about the 'profiles' in monodevelop.
Thanks, all sorted, for now.
--
Gert Burger
TechTeam
Computer Science Department
University of Pretoria
_______________________________________________
Mono-list maillist - Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
************************************************************************************
The content of this e-mail message and any attachments are confidential
and may be legally privileged, intended solely for the addressee. If you
are not the intended recipient, be advised that any use, dissemination,
distribution, or copying of this e-mail is strictly prohibited. If you
receive this message in error, please notify the sender immediately by
reply email and destroy the message and its attachments.
************************************************************************************
************************************************************************************
The content of this e-mail message and any attachments are confidential
and may be legally privileged, intended solely for the addressee. If you
are not the intended recipient, be advised that any use, dissemination,
distribution, or copying of this e-mail is strictly prohibited. If you
receive this message in error, please notify the sender immediately by
reply email and destroy the message and its attachments.
************************************************************************************
From jeffc at sourcegear.com Mon Oct 2 16:11:01 2006
From: jeffc at sourcegear.com (jeff clausius)
Date: Mon, 02 Oct 2006 15:11:01 -0500
Subject: [Mono-list] Vault on Mono not working in 1.1.13.8
In-Reply-To: <1159793379.13059.34.camel@erandi.dom>
References: <451D1E47.8010607@sourcegear.com>
<1159793379.13059.34.camel@erandi.dom>
Message-ID: <45217255.3030501@sourcegear.com>
Aha!
I took a wild stab and either the mono-winforms or mono-extras seems to
contain the System.Management.* calls.
Thanks,
Jeff
SourceGear
Miguel de Icaza wrote:
> Hello,
>
>> I'm looking for information related to the latest release of Mono. It
>> seems something may have changed which breaks the Vault command line client.
>>
>> Previous versions of mono (1.1.12.x) with the vault.exe had no problems
>> but in 1.1.13.8 we have users reporting the following error:
>
> Seems like you are just missing one of the libraries, make sure the
> proper RPM is installed (I forget where it goes).
>
> Miguel
>
From miguel at ximian.com Mon Oct 2 17:23:50 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Mon, 02 Oct 2006 17:23:50 -0400
Subject: [Mono-list] Mono Meeting: Venue Update, second update.
Message-ID: <1159824230.21416.61.camel@erandi.dom>
Hello,
Folks, we found a cheaper hotel to organize the event for the Mono
Meeting, so it will now be hosted closer to the Novell offices in
Cambridge (close to the original location).
The updated location is:
Royal Sonesta Hotel
Cambridge MA
This is the hotel:
http://www.royalsonestaboston.com/
Miguel.
From peter at wingsofdeath.nu Tue Oct 3 05:22:50 2006
From: peter at wingsofdeath.nu (Peter Hagen)
Date: Tue, 03 Oct 2006 11:22:50 +0200
Subject: [Mono-list] xsp Webservice
Message-ID: <1159867370.2496.4.camel@DJMIA-PH-Workstation.DJM.local>
Hi
I'm running a mono 1.1.17.1(/2?) installation. I created a asp.net
website, with a webservice in it. Nothing special. If i open the
webservice page, I get the Overview, Service Description and the Client
Proxy. When I click the Client Proxy, i get the following message:
Description: Error processing request.
Error Message: HTTP 500.
Stack Trace:
System.InvalidOperationException: A schema with the namespace
'http://tempuri.org/' has already been added.
at System.Xml.Serialization.XmlSchemas.OnInsert (Int32 index,
System.Object value) [0x00000]
at System.Collections.CollectionBase.System.Collections.IList.Insert
(Int32 index, System.Object value) [0x00000]
at System.Xml.Serialization.XmlSchemas.Insert (Int32 index,
System.Xml.Schema.XmlSchema schema) [0x00000]
at System.Xml.Serialization.XmlSchemas.Add
(System.Xml.Schema.XmlSchema schema) [0x00000]
at ASP.DefaultWsdlHelpGenerator_aspx.GetProxyCode () [0x00000]
at ASP.DefaultWsdlHelpGenerator_aspx.__RenderTree
(System.Web.UI.HtmlTextWriter __output, System.Web.UI.Control
parameterContainer) [0x00000]
at (wrapper delegate-invoke)
System.MulticastDelegate:invoke_void_HtmlTextWriter_Control
(System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
at System.Web.UI.Control.RenderChildren (System.Web.UI.HtmlTextWriter
writer) [0x00000]
at System.Web.UI.Control.Render (System.Web.UI.HtmlTextWriter writer)
[0x00000]
at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter
writer) [0x00000]
at System.Web.UI.Page.InternalProcessRequest () [0x00000]
at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
[0x00000]
If i alter the namespace, i get the same message, only with my namespace
in it. If I run this same site in 1.1.13.6 on another server, it works
flawless. So, I guess I have found a bug in the 1.1.17 distribution? or
am I doing something wrong?
greetings
Peter
From informatique.internet at fiducial.fr Tue Oct 3 06:28:48 2006
From: informatique.internet at fiducial.fr (Hubert FONGARNAND)
Date: Tue, 03 Oct 2006 12:28:48 +0200
Subject: [Mono-list] xsp Webservice
In-Reply-To: <1159867370.2496.4.camel@DJMIA-PH-Workstation.DJM.local>
References: <1159867370.2496.4.camel@DJMIA-PH-Workstation.DJM.local>
Message-ID: <1159871328.17522.5.camel@hublinux.fidudev.fr>
I noticed the same problem, I don't if there's a bug report for it
Le mardi 03 octobre 2006 ?? 11:22 +0200, Peter Hagen a ??crit :
> Hi
>
> I'm running a mono 1.1.17.1(/2?) installation. I created a asp.net
> website, with a webservice in it. Nothing special. If i open the
> webservice page, I get the Overview, Service Description and the Client
> Proxy. When I click the Client Proxy, i get the following message:
>
> Description: Error processing request.
>
> Error Message: HTTP 500.
>
> Stack Trace:
>
> System.InvalidOperationException: A schema with the namespace
> 'http://tempuri.org/' has already been added.
> at System.Xml.Serialization.XmlSchemas.OnInsert (Int32 index,
> System.Object value) [0x00000]
> at System.Collections.CollectionBase.System.Collections.IList.Insert
> (Int32 index, System.Object value) [0x00000]
> at System.Xml.Serialization.XmlSchemas.Insert (Int32 index,
> System.Xml.Schema.XmlSchema schema) [0x00000]
> at System.Xml.Serialization.XmlSchemas.Add
> (System.Xml.Schema.XmlSchema schema) [0x00000]
> at ASP.DefaultWsdlHelpGenerator_aspx.GetProxyCode () [0x00000]
> at ASP.DefaultWsdlHelpGenerator_aspx.__RenderTree
> (System.Web.UI.HtmlTextWriter __output, System.Web.UI.Control
> parameterContainer) [0x00000]
> at (wrapper delegate-invoke)
> System.MulticastDelegate:invoke_void_HtmlTextWriter_Control
> (System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
> at System.Web.UI.Control.RenderChildren (System.Web.UI.HtmlTextWriter
> writer) [0x00000]
> at System.Web.UI.Control.Render (System.Web.UI.HtmlTextWriter writer)
> [0x00000]
> at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter
> writer) [0x00000]
> at System.Web.UI.Page.InternalProcessRequest () [0x00000]
> at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
> [0x00000]
>
>
> If i alter the namespace, i get the same message, only with my namespace
> in it. If I run this same site in 1.1.13.6 on another server, it works
> flawless. So, I guess I have found a bug in the 1.1.17 distribution? or
> am I doing something wrong?
>
> greetings
>
> Peter
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________
Ce message et les ?ventuels documents joints peuvent contenir des informations confidentielles.
Au cas o? il ne vous serait pas destin?, nous vous remercions de bien vouloir le supprimer et en aviser imm?diatement l'exp?diteur. Toute utilisation de ce message non conforme ? sa destination, toute diffusion ou publication, totale ou partielle et quel qu'en soit le moyen est formellement interdite.
Les communications sur internet n'?tant pas s?curis?es, l'int?grit? de ce message n'est pas assur?e et la soci?t? ?mettrice ne peut ?tre tenue pour responsable de son contenu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061003/e057754e/attachment.html
From glen.ford at spinvox.com Tue Oct 3 06:33:31 2006
From: glen.ford at spinvox.com (Glen Ford)
Date: Tue, 03 Oct 2006 11:33:31 +0100
Subject: [Mono-list] xsp Webservice
In-Reply-To: <1159871328.17522.5.camel@hublinux.fidudev.fr>
References: <1159867370.2496.4.camel@DJMIA-PH-Workstation.DJM.local>
<1159871328.17522.5.camel@hublinux.fidudev.fr>
Message-ID: <45223C7B.6040609@spinvox.com>
I have seen a similar issue on 1.1.16.1
Regards,
Glen
Hubert FONGARNAND wrote:
> I noticed the same problem, I don't if there's a bug report for it
>
> Le mardi 03 octobre 2006 ? 11:22 +0200, Peter Hagen a ?crit :
>> Hi
>>
>> I'm running a mono 1.1.17.1(/2?) installation. I created a asp.net
>> website, with a webservice in it. Nothing special. If i open the
>> webservice page, I get the Overview, Service Description and the Client
>> Proxy. When I click the Client Proxy, i get the following message:
>>
>> Description: Error processing request.
>>
>> Error Message: HTTP 500.
>>
>> Stack Trace:
>>
>> System.InvalidOperationException: A schema with the namespace
>> 'http://tempuri.org/' has already been added.
>> at System.Xml.Serialization.XmlSchemas.OnInsert (Int32 index,
>> System.Object value) [0x00000]
>> at System.Collections.CollectionBase.System.Collections.IList.Insert
>> (Int32 index, System.Object value) [0x00000]
>> at System.Xml.Serialization.XmlSchemas.Insert (Int32 index,
>> System.Xml.Schema.XmlSchema schema) [0x00000]
>> at System.Xml.Serialization.XmlSchemas.Add
>> (System.Xml.Schema.XmlSchema schema) [0x00000]
>> at ASP.DefaultWsdlHelpGenerator_aspx.GetProxyCode () [0x00000]
>> at ASP.DefaultWsdlHelpGenerator_aspx.__RenderTree
>> (System.Web.UI.HtmlTextWriter __output, System.Web.UI.Control
>> parameterContainer) [0x00000]
>> at (wrapper delegate-invoke)
>> System.MulticastDelegate:invoke_void_HtmlTextWriter_Control
>> (System.Web.UI.HtmlTextWriter,System.Web.UI.Control)
>> at System.Web.UI.Control.RenderChildren (System.Web.UI.HtmlTextWriter
>> writer) [0x00000]
>> at System.Web.UI.Control.Render (System.Web.UI.HtmlTextWriter writer)
>> [0x00000]
>> at System.Web.UI.Control.RenderControl (System.Web.UI.HtmlTextWriter
>> writer) [0x00000]
>> at System.Web.UI.Page.InternalProcessRequest () [0x00000]
>> at System.Web.UI.Page.ProcessRequest (System.Web.HttpContext context)
>> [0x00000]
>>
>>
>> If i alter the namespace, i get the same message, only with my namespace
>> in it. If I run this same site in 1.1.13.6 on another server, it works
>> flawless. So, I guess I have found a bug in the 1.1.17 distribution? or
>> am I doing something wrong?
>>
>> greetings
>>
>> Peter
>>
>>
>> _______________________________________________
>> Mono-list maillist - Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
> _______________________________________________
> Ce message et les ?ventuels documents joints peuvent contenir des
> informations confidentielles.
> Au cas o? il ne vous serait pas destin?, nous vous remercions de bien
> vouloir le supprimer et en aviser imm?diatement l'exp?diteur. Toute
> utilisation de ce message non conforme ? sa destination, toute
> diffusion ou publication, totale ou partielle et quel qu'en soit le
> moyen est formellement interdite.
> Les communications sur internet n'?tant pas s?curis?es, l'int?grit? de
> ce message n'est pas assur?e et la soci?t? ?mettrice ne peut ?tre
> tenue pour responsable de son contenu.
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
--
-------------------------------------------------------------------------
Glen Ford
Infrastructure Software Development Manager
SPINVOX LTD
-------------------------------------------------------------------------
t: +44 (0)20 7965 2000
f: +44 (0)20 7965 2001
e: glen.ford at spinvox.com
w: www.spinvox.com
-------------------------------------------------------------------------
** SPINVOX: AWARD WINNING PATENTED TECHNOLOGY **
'Science & Technology Entrepreneur of the Year 2006' - Ernst & Young
Entrepreneur of the Year Awards
'Biggest Impact of Mobile Messaging 2006' - Mobile Messaging Awards
'Red Herring 100 Europe Award 2006' - Most promising firms driving the
future of technology
'Mobile Innovation Award 2006' - 3GSM World Congress
Go to www.spinvox.com/news/awards to find out more.
This electronic message and any attachments are intended solely for the
named addressee(s). Any other recipient should be aware that its
contents may be legally privileged and/or confidential and that its
disclosure, copying or distribution may be unlawful. Unless you are a
named addressee, please delete this message and immediately notify the
sender. SpinVox has taken steps to prevent the transmission of computer
viruses with electronic mail, but the responsibility for screening
incoming messages and the risk of such transmission and its consequences
lies with the recipient. Any views expressed in, or files attached to,
this message are those of the individual sender, unless stated
otherwise. SpinVox can not guarantee the integrity of this message
across the Internet. SpinVox shall (will) not therefore be liable for
the message if modified.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061003/53496925/attachment-0001.html
From robertj at gmx.net Tue Oct 3 07:47:08 2006
From: robertj at gmx.net (Robert Jordan)
Date: Tue, 03 Oct 2006 13:47:08 +0200
Subject: [Mono-list] xsp Webservice
In-Reply-To: <1159867370.2496.4.camel@DJMIA-PH-Workstation.DJM.local>
References: <1159867370.2496.4.camel@DJMIA-PH-Workstation.DJM.local>
Message-ID:
Peter Hagen wrote:
> I'm running a mono 1.1.17.1(/2?) installation. I created a asp.net
> website, with a webservice in it. Nothing special. If i open the
> webservice page, I get the Overview, Service Description and the Client
> Proxy. When I click the Client Proxy, i get the following message:
>
> Description: Error processing request.
>
> Error Message: HTTP 500.
That's just a bug of the ASP.NET/HTML interface. The web service
is not affected by this bug and you still can generate a proxy
using wsdl.
Please file a bug in the category System.Web.Services, though
I think I already filed one.
Robert
From damien.churchill at ukplc.net Tue Oct 3 10:19:25 2006
From: damien.churchill at ukplc.net (Damien Churchill)
Date: Tue, 3 Oct 2006 15:19:25 +0100
Subject: [Mono-list] xsp/app_code
Message-ID:
I was just curious if anyone knows anything about when app_code was
going to get magical?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061003/173dde52/attachment.html
From wberrier at novell.com Tue Oct 3 14:16:35 2006
From: wberrier at novell.com (Wade Berrier)
Date: Tue, 03 Oct 2006 12:16:35 -0600
Subject: [Mono-list] Where do we package System.Management?
In-Reply-To: <1159822283.21416.56.camel@erandi.dom>
References: <1159822283.21416.56.camel@erandi.dom>
Message-ID: <1159899395.22977.1.camel@wberrier.site>
System.Management is indeed in mono-extras. Here's the filelist:
/usr/lib/mono/gac/System.Management
/usr/lib/mono/1.0/System.Management.dll
/usr/lib/mono/2.0/System.Management.dll
/usr/lib/mono/gac/System.Messaging
/usr/lib/mono/1.0/System.Messaging.dll
/usr/lib/mono/2.0/System.Messaging.dll
/usr/lib/mono/gac/System.ServiceProcess
/usr/lib/mono/1.0/System.ServiceProcess.dll
/usr/lib/mono/2.0/System.ServiceProcess.dll
/usr/bin/mono-service
/usr/lib/mono/1.0/mono-service.exe
/usr/lib/mono/1.0/mono-service.exe.mdb
/usr/share/man/man1/mono-service.1*
/usr/lib/mono/gac/System.Configuration.Install
/usr/lib/mono/1.0/System.Configuration.Install.dll
/usr/lib/mono/2.0/System.Configuration.Install.dll
/usr/lib/mono/gac/Microsoft.Vsa
/usr/lib/mono/1.0/Microsoft.Vsa.dll
/usr/lib/mono/2.0/Microsoft.Vsa.dll
Does it make sense to be somewhere else?
Wade
On Mon, 2006-10-02 at 16:51 -0400, Miguel de Icaza wrote:
> Any RPM of ours ships System.Management.dll?
> email message attachment, "Forwarded message - Re: [Mono-list] Vault
> on Mono not working in 1.1.13.8"
> > -------- Forwarded Message --------
> > From: jeff clausius
> > To: Miguel de Icaza
> > Cc: mono-list at lists.ximian.com
> > Subject: Re: [Mono-list] Vault on Mono not working in 1.1.13.8
> > Date: Mon, 02 Oct 2006 15:11:01 -0500
> >
> > Aha!
> >
> > I took a wild stab and either the mono-winforms or mono-extras seems to
> > contain the System.Management.* calls.
> >
> > Thanks,
> > Jeff
> > SourceGear
> >
> >
> > Miguel de Icaza wrote:
> > > Hello,
> > >
> > >> I'm looking for information related to the latest release of Mono. It
> > >> seems something may have changed which breaks the Vault command line client.
> > >>
> > >> Previous versions of mono (1.1.12.x) with the vault.exe had no problems
> > >> but in 1.1.13.8 we have users reporting the following error:
> > >
> > > Seems like you are just missing one of the libraries, make sure the
> > > proper RPM is installed (I forget where it goes).
> > >
> > > Miguel
> > >
> >
--
Wade Berrier
Mono Team
wberrier at novell.com
801-861-5132
Novell, Inc.
SUSE? Linux Enterprise 10
Your Linux is ready
http://www.novell.com/linux
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20061003/73a43a07/attachment.bin
From lots.of.mailing.lists at gmail.com Tue Oct 3 15:51:48 2006
From: lots.of.mailing.lists at gmail.com (Alex Mac)
Date: Tue, 3 Oct 2006 20:51:48 +0100
Subject: [Mono-list] possible bug with FileSystemWatcher
Message-ID: <1b420d380610031251p646c64fbvb0312a7fc3ad7ea0@mail.gmail.com>
I'm trying to monitor /dev using the FileSystemWatcher however my app
seems to hang at the point when i call "watcher.IncludeSubdirectories
= true" without that line the code runs fine. Monitoring /tmp with
that option turned on does work...
Also if i try running the code with "MONO_MANAGED_WATCHER=1" then I
get the following error message continuously appearing:
** Message: Unknown errno: Too many levels of symbolic links
FYI I'm running ubuntu edgy with their latest version of mono as of today.
Here is the app:
using System;
using System.IO;
namespace test
{
public class foo
{
public static void delete_handler (object sender, FileSystemEventArgs e)
{
Console.WriteLine("delete_handler: " + e.Name + ", " + e.FullPath);
}
public static void changed_handler (object sender, FileSystemEventArgs e)
{
Console.WriteLine("changed_handler: " + e.Name + ", " + e.FullPath);
}
public static void created_handler (object sender, FileSystemEventArgs e)
{
Console.WriteLine("created_handler: " + e.Name + ", " + e.FullPath);
}
public static void renamed_handler (object sender, RenamedEventArgs e)
{
Console.WriteLine("renamed_handler: " + e.Name + ", " + e.FullPath);
}
public static void Main(string[] args)
{
Console.WriteLine("Testing FileSystemWatcher...");
FileSystemWatcher watcher = new FileSystemWatcher("/dev");
watcher.EnableRaisingEvents = true;
watcher.IncludeSubdirectories = true;
watcher.Deleted += new FileSystemEventHandler(delete_handler);
watcher.Changed += new FileSystemEventHandler(changed_handler);
watcher.Created += new FileSystemEventHandler(created_handler);
watcher.Renamed += new RenamedEventHandler(renamed_handler);
Console.WriteLine("waiting...");
Console.ReadLine();
}
}
}
From gonzalo at novell.com Tue Oct 3 16:57:48 2006
From: gonzalo at novell.com (Gonzalo Paniagua Javier)
Date: Tue, 03 Oct 2006 16:57:48 -0400
Subject: [Mono-list] possible bug with FileSystemWatcher
In-Reply-To: <1b420d380610031251p646c64fbvb0312a7fc3ad7ea0@mail.gmail.com>
References: <1b420d380610031251p646c64fbvb0312a7fc3ad7ea0@mail.gmail.com>
Message-ID: <1159909068.10663.0.camel@lalo.micasa>
On Tue, 2006-10-03 at 20:51 +0100, Alex Mac wrote:
> I'm trying to monitor /dev using the FileSystemWatcher however my app
> seems to hang at the point when i call "watcher.IncludeSubdirectories
> = true" without that line the code runs fine. Monitoring /tmp with
> that option turned on does work...
What version of mono are you using? I get an error when it tries to
watch a directory for which my user does not have permission.
-Gonzalo
From lots.of.mailing.lists at gmail.com Tue Oct 3 17:36:46 2006
From: lots.of.mailing.lists at gmail.com (Alex Mac)
Date: Tue, 3 Oct 2006 22:36:46 +0100
Subject: [Mono-list] possible bug with FileSystemWatcher
In-Reply-To: <1159909068.10663.0.camel@lalo.micasa>
References: <1b420d380610031251p646c64fbvb0312a7fc3ad7ea0@mail.gmail.com>
<1159909068.10663.0.camel@lalo.micasa>
Message-ID: <1b420d380610031436x6a16c39n662ac146eeed1faa@mail.gmail.com>
On 03/10/06, Gonzalo Paniagua Javier wrote:
> On Tue, 2006-10-03 at 20:51 +0100, Alex Mac wrote:
> > I'm trying to monitor /dev using the FileSystemWatcher however my app
> > seems to hang at the point when i call "watcher.IncludeSubdirectories
> > = true" without that line the code runs fine. Monitoring /tmp with
> > that option turned on does work...
>
> What version of mono are you using? I get an error when it tries to
> watch a directory for which my user does not have permission.
>
> -Gonzalo
I'm using the latest version (1.1.17.1-1ubuntu6)
My user account has read/execute permissions on all of /dev except for
some sub dirs. Is there not a way to monitor a dir recursively but
only the dirs i can read?
Anyway the code just hangs rather than giving some kind of useful error...
From robertj at gmx.net Tue Oct 3 17:56:06 2006
From: robertj at gmx.net (Robert Jordan)
Date: Tue, 03 Oct 2006 23:56:06 +0200
Subject: [Mono-list] possible bug with FileSystemWatcher
In-Reply-To: <1b420d380610031251p646c64fbvb0312a7fc3ad7ea0@mail.gmail.com>
References: <1b420d380610031251p646c64fbvb0312a7fc3ad7ea0@mail.gmail.com>
Message-ID:
Alex Mac wrote:
> I'm trying to monitor /dev using the FileSystemWatcher however my app
> seems to hang at the point when i call "watcher.IncludeSubdirectories
> = true" without that line the code runs fine. Monitoring /tmp with
> that option turned on does work...
>
> Also if i try running the code with "MONO_MANAGED_WATCHER=1" then I
> get the following error message continuously appearing:
>
> ** Message: Unknown errno: Too many levels of symbolic links
The message is probably harmless. It gets emitted because
ELOOP has no Win32 error code.
Robert
From lots.of.mailing.lists at gmail.com Tue Oct 3 18:10:33 2006
From: lots.of.mailing.lists at gmail.com (Alex Mac)
Date: Tue, 3 Oct 2006 23:10:33 +0100
Subject: [Mono-list] possible bug with FileSystemWatcher
In-Reply-To:
References: <1b420d380610031251p646c64fbvb0312a7fc3ad7ea0@mail.gmail.com>
Message-ID: <1b420d380610031510p7e20b29bn49b42bc0506b47ce@mail.gmail.com>
On 03/10/06, Robert Jordan wrote:
> Alex Mac wrote:
> > I'm trying to monitor /dev using the FileSystemWatcher however my app
> > seems to hang at the point when i call "watcher.IncludeSubdirectories
> > = true" without that line the code runs fine. Monitoring /tmp with
> > that option turned on does work...
> >
> > Also if i try running the code with "MONO_MANAGED_WATCHER=1" then I
> > get the following error message continuously appearing:
> >
> > ** Message: Unknown errno: Too many levels of symbolic links
>
> The message is probably harmless. It gets emitted because
> ELOOP has no Win32 error code.
>
> Robert
It might be harmless but mono seems to be stuck in a loop emitting
that message continuously which can't be right.
From miguel at ximian.com Tue Oct 3 18:52:17 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Tue, 03 Oct 2006 18:52:17 -0400
Subject: [Mono-list] possible bug with FileSystemWatcher
In-Reply-To: <1b420d380610031251p646c64fbvb0312a7fc3ad7ea0@mail.gmail.com>
References: <1b420d380610031251p646c64fbvb0312a7fc3ad7ea0@mail.gmail.com>
Message-ID: <1159915937.19796.72.camel@erandi.dom>
Hello,
> I'm trying to monitor /dev using the FileSystemWatcher however my app
> seems to hang at the point when i call "watcher.IncludeSubdirectories
> = true" without that line the code runs fine. Monitoring /tmp with
> that option turned on does work...
>
> Also if i try running the code with "MONO_MANAGED_WATCHER=1" then I
> get the following error message continuously appearing:
One of the problems that we ran into while trying to debug this problem
is that it seems that /dev/fd/6 is a symlink that points to a
non-existant file called "inotify"
The file is special in that if you access /dev/fd/6 you get a valid file
handle, reporting that its a directory, but if you try to follow the
symlink you get a failure (because "inotify" does not exist).
We are quite puzzled about this, not sure quite what to do, because Mono
determines that we have a directory, and when we look for it, it tells
us that its not a directory.
Miguel.
From wberrier at novell.com Wed Oct 4 00:45:36 2006
From: wberrier at novell.com (Wade Berrier)
Date: Tue, 03 Oct 2006 22:45:36 -0600
Subject: [Mono-list] Downloads on mono-project.com
Message-ID: <1159937136.9458.1.camel@berrier.site>
Hi,
Downloads have been renamed a bit.
Previously:
stable -> 1.1.13.8
latest -> 1.1.17.1
Now:
maintenance -> 1.1.13.8
stable -> 1.1.17.1
Wade
From lots.of.mailing.lists at gmail.com Wed Oct 4 04:51:29 2006
From: lots.of.mailing.lists at gmail.com (Alex Mac)
Date: Wed, 4 Oct 2006 09:51:29 +0100
Subject: [Mono-list] possible bug with FileSystemWatcher
In-Reply-To: <1159915937.19796.72.camel@erandi.dom>
References: <1b420d380610031251p646c64fbvb0312a7fc3ad7ea0@mail.gmail.com>
<1159915937.19796.72.camel@erandi.dom>
Message-ID: <1b420d380610040151i41d5338cwaff35a754fbc980f@mail.gmail.com>
On 03/10/06, Miguel de Icaza wrote:
> Hello,
>
> > I'm trying to monitor /dev using the FileSystemWatcher however my app
> > seems to hang at the point when i call "watcher.IncludeSubdirectories
> > = true" without that line the code runs fine. Monitoring /tmp with
> > that option turned on does work...
> >
> > Also if i try running the code with "MONO_MANAGED_WATCHER=1" then I
> > get the following error message continuously appearing:
>
> One of the problems that we ran into while trying to debug this problem
> is that it seems that /dev/fd/6 is a symlink that points to a
> non-existant file called "inotify"
>
> The file is special in that if you access /dev/fd/6 you get a valid file
> handle, reporting that its a directory, but if you try to follow the
> symlink you get a failure (because "inotify" does not exist).
>
> We are quite puzzled about this, not sure quite what to do, because Mono
> determines that we have a directory, and when we look for it, it tells
> us that its not a directory.
>
> Miguel.
>
I dont have /dev/fd/6 on my system but I guess there must be other
"special" dev files...
Really I'm just interested in monitoring /dev/dvb but since the FSW
cant handle monitoring a directory that might not currently exist I
have to monitor /dev recursively.
I guess I'll have to just use two watchers one for /dev and one for
/dev/dvb when it appears, which is a bit lame.
From lots.of.mailing.lists at gmail.com Wed Oct 4 05:05:15 2006
From: lots.of.mailing.lists at gmail.com (Alex Mac)
Date: Wed, 4 Oct 2006 10:05:15 +0100
Subject: [Mono-list] possible bug with FileSystemWatcher
In-Reply-To: <1b420d380610040151i41d5338cwaff35a754fbc980f@mail.gmail.com>
References: <1b420d380610031251p646c64fbvb0312a7fc3ad7ea0@mail.gmail.com>
<1159915937.19796.72.camel@erandi.dom>
<1b420d380610040151i41d5338cwaff35a754fbc980f@mail.gmail.com>
Message-ID: <1b420d380610040205s1e685096u8612c1da53d71728@mail.gmail.com>
On 04/10/06, Alex Mac wrote:
> On 03/10/06, Miguel de Icaza wrote:
> > Hello,
> >
> > > I'm trying to monitor /dev using the FileSystemWatcher however my app
> > > seems to hang at the point when i call "watcher.IncludeSubdirectories
> > > = true" without that line the code runs fine. Monitoring /tmp with
> > > that option turned on does work...
> > >
> > > Also if i try running the code with "MONO_MANAGED_WATCHER=1" then I
> > > get the following error message continuously appearing:
> >
> > One of the problems that we ran into while trying to debug this problem
> > is that it seems that /dev/fd/6 is a symlink that points to a
> > non-existant file called "inotify"
> >
> > The file is special in that if you access /dev/fd/6 you get a valid file
> > handle, reporting that its a directory, but if you try to follow the
> > symlink you get a failure (because "inotify" does not exist).
> >
> > We are quite puzzled about this, not sure quite what to do, because Mono
> > determines that we have a directory, and when we look for it, it tells
> > us that its not a directory.
> >
> > Miguel.
> >
>
> I dont have /dev/fd/6 on my system but I guess there must be other
> "special" dev files...
>
> Really I'm just interested in monitoring /dev/dvb but since the FSW
> cant handle monitoring a directory that might not currently exist I
> have to monitor /dev recursively.
>
> I guess I'll have to just use two watchers one for /dev and one for
> /dev/dvb when it appears, which is a bit lame.
Hmm, although that does work I guess there's no guarantee that the
second FSW will be created in time to catch the first events to come
from /dev/dvb
Monitoring /dev recursively would be preferable
From miguel at ximian.com Wed Oct 4 06:32:09 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Wed, 04 Oct 2006 06:32:09 -0400
Subject: [Mono-list] possible bug with FileSystemWatcher
In-Reply-To: <1b420d380610040151i41d5338cwaff35a754fbc980f@mail.gmail.com>
References: <1b420d380610031251p646c64fbvb0312a7fc3ad7ea0@mail.gmail.com>
<1159915937.19796.72.camel@erandi.dom>
<1b420d380610040151i41d5338cwaff35a754fbc980f@mail.gmail.com>
Message-ID: <1159957929.5098.3.camel@erandi.dom>
Hello,
> I dont have /dev/fd/6 on my system but I guess there must be other
> "special" dev files...
The file only exists during the time that inotify is being setup
on /dev/fd, thats why you have not seen it.
From miguel at ximian.com Wed Oct 4 08:25:41 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Wed, 04 Oct 2006 08:25:41 -0400
Subject: [Mono-list] Mono Foundation?
Message-ID: <1159964741.5098.47.camel@erandi.dom>
Hello,
Over the past few years, people have suggested that we should create
a foundation to further develop Mono. The idea in general is good, it
has worked fairly well for Gnome, and has worked fairly well for
Apache.
This comes at a time when some third parties would like to see Mono
developed in a particular direction and the process that we have at
Novell for getting paid for Mono is not optimal (which is to say, today
the best thing you can do to fund Mono is buy SUSE, which is not a very
direct way of funding Mono).
But am not sure that everyone has the same idea about what a Mono
foundation would do, I would like such a foundation to be a mechanism to
funnel more money into the development of Mono and its ecosystem.
A foundation might have other uses, as it does in Gnome and Apache
cases (defining release schedules, promotion, opening up the decision
making process), but I think that fundamentally it should aim to have a
budget that it can use to hire developers to work on particular areas
that need to be developed.
I think this is a topic that is worth discussing at the upcoming
Mono Meeting: are there enough companies that would be willing to fund a
non-profit to develop open source software for this particular purpose?
A few months ago, just when someone had brought up the idea about a
Mono Foundation, I happened to run into Greg Stein from Apache at a
conference. He had a few comments: setting up a foundation is a lot of
work (I agree); it might be best to reuse an existing foundation (I
agree as well); The Apache Foundation *might* be a host for our
activities, but does not have a mechanism for paying/funding any
activities (which is what I would personally like to see happen).
Miguel.
From miguel at ximian.com Wed Oct 4 08:54:31 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Wed, 04 Oct 2006 08:54:31 -0400
Subject: [Mono-list] Life after Mono 1.2
Message-ID: <1159966471.5098.75.camel@erandi.dom>
Hello,
Mono 1.2 is quickly approaching as the bug count in Mono's
Windows.Forms is closing. But we are aware that there will be likely
bugs in the Winforms implementation that we are not aware of, and that
we will be shipping a series of 1.2.1, 1.2.2 releases to address the
issues as people use it on larger settings and larger applications.
For the next couple of months after Mono 1.2 is released, we will
likely not do a forked branch of Mono because this would increase our
maintenance overhead. I would like to do the same thing that the
kernel folks are doing for a while: keep the "trunk" as stable as
possible and issue the 1.2.xx releases from trunk and not from a 1-2
branch for a few releases, probably two or three (which in Mono-terms
means 3 to 4 months).
This means that for 3-4 months after Mono 1.2 we would not land any
of the large refactoring work into the main branch (in particular am
thinking of the new linear-il branch, and the new register allocator).
I know that this is a little bit painful, but it means that we will have
a more solid set of 1.2 releases (by not having to backport every change
we do).
We will branch though, but it will likely have to be done in
February.
Miguel.
From cdlaforc at centurytel.net Wed Oct 4 14:09:14 2006
From: cdlaforc at centurytel.net (cdlaforc)
Date: Wed, 4 Oct 2006 11:09:14 -0700 (PDT)
Subject: [Mono-list] mod_mono Permissions Error
Message-ID: <6644996.post@talk.nabble.com>
I have recently installed all the mono packages from
http://go-mono.com/download-stable/fedora-5-i386/ and have been trying to
look at some of the example. I have gotten the xsp server working to view
the example, but in my attempts to get the mod_mono apache module to work I
am receiving 503 service errors. Here are the lines from my error_log:
/usr/lib/pkgconfig/../../bin/mod-mono-server: line 2: /usr/bin/mono:
Permission denied
/usr/lib/pkgconfig/../../bin/mod-mono-server: line 2: exec: /usr/bin/mono:
cannot execute: Permission denied
I tried to remove the /tmp/.wapi dir as said in another post I have seen and
I restarted httpd but it didn't work. Let me know if you can offer me any
help on that.
Thank,
Chris.
--
View this message in context: http://www.nabble.com/mod_mono-Permissions-Error-tf2384014.html#a6644996
Sent from the Mono - General mailing list archive at Nabble.com.
From lists at ophion.org Thu Oct 5 00:16:12 2006
From: lists at ophion.org (Rafael Ferreira)
Date: Wed, 04 Oct 2006 21:16:12 -0700
Subject: [Mono-list] Mono Foundation?
In-Reply-To: <1159964741.5098.47.camel@erandi.dom>
References: <1159964741.5098.47.camel@erandi.dom>
Message-ID: <1160021772.7492.8.camel@stan.ophion.org>
I don't particularly think that my vote carries much weight.. but I
would personally like the apache name behind Mono and historically the
apache foundation has done a good job of not getting in the way. With
regards to paying for development, I don't see the apache foundation as
being a hindrance; hard to implement tasks will still require an
interested party to finance the development.I don't know of any
non-profits out there (maybe the eclipse foundation) that are paying for
hard core dev work.
my 2 cents,
- raf
On Wed, 2006-10-04 at 08:25 -0400, Miguel de Icaza wrote:
> Hello,
>
> Over the past few years, people have suggested that we should create
> a foundation to further develop Mono. The idea in general is good, it
> has worked fairly well for Gnome, and has worked fairly well for
> Apache.
>
> This comes at a time when some third parties would like to see Mono
> developed in a particular direction and the process that we have at
> Novell for getting paid for Mono is not optimal (which is to say, today
> the best thing you can do to fund Mono is buy SUSE, which is not a very
> direct way of funding Mono).
>
> But am not sure that everyone has the same idea about what a Mono
> foundation would do, I would like such a foundation to be a mechanism to
> funnel more money into the development of Mono and its ecosystem.
>
> A foundation might have other uses, as it does in Gnome and Apache
> cases (defining release schedules, promotion, opening up the decision
> making process), but I think that fundamentally it should aim to have a
> budget that it can use to hire developers to work on particular areas
> that need to be developed.
>
> I think this is a topic that is worth discussing at the upcoming
> Mono Meeting: are there enough companies that would be willing to fund a
> non-profit to develop open source software for this particular purpose?
>
> A few months ago, just when someone had brought up the idea about a
> Mono Foundation, I happened to run into Greg Stein from Apache at a
> conference. He had a few comments: setting up a foundation is a lot of
> work (I agree); it might be best to reuse an existing foundation (I
> agree as well); The Apache Foundation *might* be a host for our
> activities, but does not have a mechanism for paying/funding any
> activities (which is what I would personally like to see happen).
>
> Miguel.
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
From twostepted at yahoo.com Thu Oct 5 01:28:27 2006
From: twostepted at yahoo.com (Travis Staloch)
Date: Wed, 4 Oct 2006 22:28:27 -0700 (PDT)
Subject: [Mono-list] mkbundle on windows
Message-ID: <20061005052827.25791.qmail@web30608.mail.mud.yahoo.com>
Does anyone have any idea what this mono error message means on my Fedora 5 box?
>Corlib not in sync with this runtime: expected corlib version 49, found 54.
I see the message when I try running an app I mkbundled on the same box.
At one time, I had a previous version of mono installed (1.13 I think) and then reinstalled by compiling from 1.1.17 source.
Thanks for any advice,
--Travis
Travis Staloch wrote: Robert,
Thanks again for your help. mkbundle was able to complete on my linux box, creating an .out file which I renamed to .exe and tried to run it. I get an error relating to the expected mscorlib version. Here it is
> ./MyInstallerBundle.exe
Corlib not in sync with this runtime: expected corlib version 49, found 54.
Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.
Any ideas?
--Travis
Robert Jordan wrote: Hi Travis,
I'm not sure whether any non-critical (critical as in security,
data loss, etc.) patches will be accepted for the stable (1.1.13)
branch, but I'll try to get them in.
Robert
Travis Staloch wrote:
> Thanks alot Robert. I was wondering if I should use that one. BTW,
> did you mention when that version of mkbundle.exe will be applied to
> the current stable mono branch?
>
> --Travis
>
> Robert Jordan wrote: Hi Travis,
>
> That's the same problem like in Windows. Copy mkbundle.exe I sent you
> in the folder with the assemblies you want to bundle and call it like
> this:
>
> mono mkbundle.exe ...
>
> Robert
>
> Travis Staloch wrote:
>> Hey Robert,
>>
>> I've been trying to use mkbundle now on my linux FC5 box and seem
>> to be getting an error with it. The app itself runs fine on linux
>> after making some changes to the dllmap entries in
>> /usr/local/etc/mono/config. However when I use try to run the
>> mkbundle command below, I get the error listed below. (The error
>> says that it can't seem to find my InstallerCommon.dll which is in
>> the same directory as MyInstaller.exe).
>>
>> Thanks for any advice.
>>
>> --Travis
>>
>>
>>> mono /usr/local/lib/mono/1.0/mkbundle.exe -z --deps --config-dir
>>> . MyInstaller.exe
>> (BTW, I've tried leaving off the '--config-dir .' switch too).
>>
>> Unhandled Exception: System.IO.FileNotFoundException:
>> InstallerCommon, Version=1.0.2336.677, Culture=neutral :
>> InstallerCommon, Version=1.0.2336.677, Culture=neutral at <0x00000>
>> at (wrapper managed-to-native) System.AppDomain:LoadAssembly
>> (string,System.Security.Policy.Evidence,bool) at
>> System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef,
>> System.Security.Policy.Evidence assemblySecurity) [0x00000] at
>> (wrapper remoting-invoke-with-check) System.AppDomain:Load
>> (System.Reflection.AssemblyName,System.Security.Policy.Evidence) at
>> System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef)
>> [0x00000] at (wrapper remoting-invoke-with-check)
>> System.AppDomain:Load (System.Reflection.AssemblyName) at
>> System.Reflection.Assembly.Load (System.Reflection.AssemblyName
>> assemblyRef) [0x00000] at MakeBundle.QueueAssembly
>> (System.Collections.ArrayList files, System.String codebase)
>> [0x00000] at MakeBundle.Main (System.String[] args) [0x00000]
>>
>>
>> Robert Jordan wrote: Hi,
>>
>> If you bundle you app on a Linux 2.4 system, the binary should work
>> an all systems.
>>
>> The problem on Linux are the native dependencies (GLib, GTK) that
>> you have to deliver. I can't help you with that, because I never
>> did it myself.
>>
>> You may try to put them in the private "lib" dir of your
>> application and change LD_LIBRARY_PATH from inside of a launcher
>> script to point to this lib dir.
>>
>> Robert
>>
>> --------------------------------- Get your own web address for just
>> $1.99/1st yr. We'll help. Yahoo! Small Business.
>
>
>
> --------------------------------- Talk is cheap. Use Yahoo!
> Messenger to make PC-to-Phone calls. Great rates starting at 1???/min.
---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail.
---------------------------------
All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061004/05868a94/attachment-0001.html
From robertj at gmx.net Thu Oct 5 04:05:10 2006
From: robertj at gmx.net (Robert Jordan)
Date: Thu, 05 Oct 2006 10:05:10 +0200
Subject: [Mono-list] mkbundle on windows
In-Reply-To: <20061005052827.25791.qmail@web30608.mail.mud.yahoo.com>
References: <20061005052827.25791.qmail@web30608.mail.mud.yahoo.com>
Message-ID:
Hi,
Your bundled application seems to load libmono.so of 1.1.13.
Assure that the old Mono is not in the way (by setting LD_LIBRARY_PATH
or uninstalling it).
Robert
Travis Staloch wrote:
> Does anyone have any idea what this mono error message means on my
> Fedora 5 box?
>> Corlib not in sync with this runtime: expected corlib version 49,
>> found 54.
>
> I see the message when I try running an app I mkbundled on the same
> box.
>
> At one time, I had a previous version of mono installed (1.13 I
> think) and then reinstalled by compiling from 1.1.17 source.
>
> Thanks for any advice,
>
> --Travis
>
>
> Travis Staloch wrote: Robert,
>
> Thanks again for your help. mkbundle was able to complete on my
> linux box, creating an .out file which I renamed to .exe and tried to
> run it. I get an error relating to the expected mscorlib version.
> Here it is
>> ./MyInstallerBundle.exe
> Corlib not in sync with this runtime: expected corlib version 49,
> found 54. Download a newer corlib or a newer runtime at
> http://www.go-mono.com/daily.
>
> Any ideas?
>
> --Travis
>
> Robert Jordan wrote: Hi Travis,
>
> I'm not sure whether any non-critical (critical as in security, data
> loss, etc.) patches will be accepted for the stable (1.1.13) branch,
> but I'll try to get them in.
>
> Robert
>
> Travis Staloch wrote:
>> Thanks alot Robert. I was wondering if I should use that one.
>> BTW, did you mention when that version of mkbundle.exe will be
>> applied to the current stable mono branch?
>>
>> --Travis
>>
>> Robert Jordan wrote: Hi Travis,
>>
>> That's the same problem like in Windows. Copy mkbundle.exe I sent
>> you in the folder with the assemblies you want to bundle and call
>> it like this:
>>
>> mono mkbundle.exe ...
>>
>> Robert
>>
>> Travis Staloch wrote:
>>> Hey Robert,
>>>
>>> I've been trying to use mkbundle now on my linux FC5 box and seem
>>> to be getting an error with it. The app itself runs fine on
>>> linux after making some changes to the dllmap entries in
>>> /usr/local/etc/mono/config. However when I use try to run the
>>> mkbundle command below, I get the error listed below. (The error
>>> says that it can't seem to find my InstallerCommon.dll which is
>>> in the same directory as MyInstaller.exe).
>>>
>>> Thanks for any advice.
>>>
>>> --Travis
>>>
>>>
>>>> mono /usr/local/lib/mono/1.0/mkbundle.exe -z --deps
>>>> --config-dir . MyInstaller.exe
>>> (BTW, I've tried leaving off the '--config-dir .' switch too).
>>>
>>> Unhandled Exception: System.IO.FileNotFoundException:
>>> InstallerCommon, Version=1.0.2336.677, Culture=neutral :
>>> InstallerCommon, Version=1.0.2336.677, Culture=neutral at
>>> <0x00000> at (wrapper managed-to-native)
>>> System.AppDomain:LoadAssembly
>>> (string,System.Security.Policy.Evidence,bool) at
>>> System.AppDomain.Load (System.Reflection.AssemblyName
>>> assemblyRef, System.Security.Policy.Evidence assemblySecurity)
>>> [0x00000] at (wrapper remoting-invoke-with-check)
>>> System.AppDomain:Load
>>> (System.Reflection.AssemblyName,System.Security.Policy.Evidence)
>>> at System.AppDomain.Load (System.Reflection.AssemblyName
>>> assemblyRef) [0x00000] at (wrapper remoting-invoke-with-check)
>>> System.AppDomain:Load (System.Reflection.AssemblyName) at
>>> System.Reflection.Assembly.Load (System.Reflection.AssemblyName
>>> assemblyRef) [0x00000] at MakeBundle.QueueAssembly
>>> (System.Collections.ArrayList files, System.String codebase)
>>> [0x00000] at MakeBundle.Main (System.String[] args) [0x00000]
>>>
>>>
>>> Robert Jordan wrote: Hi,
>>>
>>> If you bundle you app on a Linux 2.4 system, the binary should
>>> work an all systems.
>>>
>>> The problem on Linux are the native dependencies (GLib, GTK) that
>>> you have to deliver. I can't help you with that, because I never
>>> did it myself.
>>>
>>> You may try to put them in the private "lib" dir of your
>>> application and change LD_LIBRARY_PATH from inside of a launcher
>>> script to point to this lib dir.
>>>
>>> Robert
>>>
>>> --------------------------------- Get your own web address for
>>> just $1.99/1st yr. We'll help. Yahoo! Small Business.
>>
>>
>> --------------------------------- Talk is cheap. Use Yahoo!
>> Messenger to make PC-to-Phone calls. Great rates starting at
>> 1???/min.
>
>
>
> --------------------------------- Do you Yahoo!? Get on board. You're
> invited to try the new Yahoo! Mail.
>
> --------------------------------- All-new Yahoo! Mail - Fire up a
> more powerful email and get things done faster.
>
>
> ------------------------------------------------------------------------
>
>
> _______________________________________________ Mono-list maillist -
> Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
From cdlaforc at centurytel.net Wed Oct 4 14:09:14 2006
From: cdlaforc at centurytel.net (cdlaforc)
Date: Wed, 4 Oct 2006 11:09:14 -0700 (PDT)
Subject: [Mono-list] mod_mono Permissions Error
Message-ID: <6644996.post@talk.nabble.com>
I have recently installed all the mono packages from
http://go-mono.com/download-stable/fedora-5-i386/ and have been trying to
look at some of the example. I have gotten the xsp server working to view
the example, but in my attempts to get the mod_mono apache module to work I
am receiving 503 service errors. Here are the lines from my error_log:
/usr/lib/pkgconfig/../../bin/mod-mono-server: line 2: /usr/bin/mono:
Permission denied
/usr/lib/pkgconfig/../../bin/mod-mono-server: line 2: exec: /usr/bin/mono:
cannot execute: Permission denied
I tried to remove the /tmp/.wapi dir as said in another post I have seen and
I restarted httpd but it didn't work. Let me know if you can offer me any
help on that.
Thank,
Chris.
--
View this message in context: http://www.nabble.com/mod_mono-Permissions-Error-tf2384014.html#a6644996
Sent from the Mono - General mailing list archive at Nabble.com.
From twostepted at yahoo.com Thu Oct 5 06:56:08 2006
From: twostepted at yahoo.com (Travis Staloch)
Date: Thu, 5 Oct 2006 03:56:08 -0700 (PDT)
Subject: [Mono-list] mkbundle on windows
Message-ID: <20061005105608.22628.qmail@web30605.mail.mud.yahoo.com>
Robert,
I've created a shell script to set the LD_LIBRARY_PATH
environment var before running my bundled app. Here's
how I set LD_LIBRARY_PATH:
#!/bin/sh
LD_LIBRARY_PATH=/usr/lib/mono/1.0
export LD_LIBRARY_PATH
...
I also tried to make another shell script which similarly
sets LD_LIBRARY_PATH before mkbundling.
In both cases, I'm still getting the same error message
reported. I guess I'll try to verify that the 1.13
version is uninstalled.
Thanks,
--Travis
Robert Jordan
robertj at gmx.net
Thu Oct 5 04:05:10 EDT 2006
Hi,
Your bundled application seems to load libmono.so of 1.1.13.
Assure that the old Mono is not in the way (by setting LD_LIBRARY_PATH
or uninstalling it).
Robert
Travis Staloch wrote: Does anyone have any idea what this mono error message means on my Fedora 5 box?
>Corlib not in sync with this runtime: expected corlib version 49, found 54.
I see the message when I try running an app I mkbundled on the same box.
At one time, I had a previous version of mono installed (1.13 I think) and then reinstalled by compiling from 1.1.17 source.
Thanks for any advice,
--Travis
Travis Staloch wrote: Robert,
Thanks again for your help. mkbundle was able to complete on my linux box, creating an .out file which I renamed to .exe and tried to run it. I get an error relating to the expected mscorlib version. Here it is
> ./MyInstallerBundle.exe
Corlib not in sync with this runtime: expected corlib version 49, found 54.
Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.
Any ideas?
--Travis
Robert Jordan wrote: Hi Travis,
I'm not sure whether any non-critical (critical as in security,
data loss, etc.) patches will be accepted for the stable (1.1.13)
branch, but I'll try to get them in.
Robert
Travis Staloch wrote:
> Thanks alot Robert. I was wondering if I should use that one. BTW,
> did you mention when that version of mkbundle.exe will be applied to
> the current stable mono branch?
>
> --Travis
>
> Robert Jordan wrote: Hi Travis,
>
> That's the same problem like in Windows. Copy mkbundle.exe I sent you
> in the folder with the assemblies you want to bundle and call it like
> this:
>
> mono mkbundle.exe ...
>
> Robert
>
> Travis Staloch wrote:
>> Hey Robert,
>>
>> I've been trying to use mkbundle now on my linux FC5 box and seem
>> to be getting an error with it. The app itself runs fine on linux
>> after making some changes to the dllmap entries in
>> /usr/local/etc/mono/config. However when I use try to run the
>> mkbundle command below, I get the error listed below. (The error
>> says that it can't seem to find my InstallerCommon.dll which is in
>> the same directory as MyInstaller.exe).
>>
>> Thanks for any advice.
>>
>> --Travis
>>
>>
>>> mono /usr/local/lib/mono/1.0/mkbundle.exe -z --deps --config-dir
>>> . MyInstaller.exe
>> (BTW, I've tried leaving off the '--config-dir .' switch too).
>>
>> Unhandled Exception: System.IO.FileNotFoundException:
>> InstallerCommon, Version=1.0.2336.677, Culture=neutral :
>> InstallerCommon, Version=1.0.2336.677, Culture=neutral at <0x00000>
>> at (wrapper managed-to-native) System.AppDomain:LoadAssembly
>> (string,System.Security.Policy.Evidence,bool) at
>> System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef,
>> System.Security.Policy.Evidence assemblySecurity) [0x00000] at
>> (wrapper remoting-invoke-with-check) System.AppDomain:Load
>> (System.Reflection.AssemblyName,System.Security.Policy.Evidence) at
>> System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef)
>> [0x00000] at (wrapper remoting-invoke-with-check)
>> System.AppDomain:Load (System.Reflection.AssemblyName) at
>> System.Reflection.Assembly.Load (System.Reflection.AssemblyName
>> assemblyRef) [0x00000] at MakeBundle.QueueAssembly
>> (System.Collections.ArrayList files, System.String codebase)
>> [0x00000] at MakeBundle.Main (System.String[] args) [0x00000]
>>
>>
>> Robert Jordan wrote: Hi,
>>
>> If you bundle you app on a Linux 2.4 system, the binary should work
>> an all systems.
>>
>> The problem on Linux are the native dependencies (GLib, GTK) that
>> you have to deliver. I can't help you with that, because I never
>> did it myself.
>>
>> You may try to put them in the private "lib" dir of your
>> application and change LD_LIBRARY_PATH from inside of a launcher
>> script to point to this lib dir.
>>
>> Robert
>>
>> --------------------------------- Get your own web address for just
>> $1.99/1st yr. We'll help. Yahoo! Small Business.
>
>
>
> --------------------------------- Talk is cheap. Use Yahoo!
> Messenger to make PC-to-Phone calls. Great rates starting at 1???/min.
---------------------------------
Do you Yahoo!?
Get on board. You're invited to try the new Yahoo! Mail.
---------------------------------
All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
---------------------------------
Get your email and more, right on the new Yahoo.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061005/af6ca7e1/attachment.html
From robertj at gmx.net Thu Oct 5 07:15:28 2006
From: robertj at gmx.net (Robert Jordan)
Date: Thu, 05 Oct 2006 13:15:28 +0200
Subject: [Mono-list] mkbundle on windows
In-Reply-To: <20061005105608.22628.qmail@web30605.mail.mud.yahoo.com>
References: <20061005105608.22628.qmail@web30605.mail.mud.yahoo.com>
Message-ID:
Hi Travis,
LD_LIBRARY_PATH=/usr/lib/mono/1.0 is wrong. It should
be $prefix/lib of your 1.1.17 installation, probably
/usr/lib.
Robert
Travis Staloch wrote:
> Robert,
>
> I've created a shell script to set the LD_LIBRARY_PATH
> environment var before running my bundled app. Here's
> how I set LD_LIBRARY_PATH:
>
> #!/bin/sh
> LD_LIBRARY_PATH=/usr/lib/mono/1.0
> export LD_LIBRARY_PATH
> ...
>
> I also tried to make another shell script which similarly
> sets LD_LIBRARY_PATH before mkbundling.
>
> In both cases, I'm still getting the same error message
> reported. I guess I'll try to verify that the 1.13
> version is uninstalled.
>
> Thanks,
>
> --Travis
>
>
> Robert Jordan
> robertj at gmx.net
> Thu Oct 5 04:05:10 EDT 2006
>
> Hi,
>
> Your bundled application seems to load libmono.so of 1.1.13.
> Assure that the old Mono is not in the way (by setting LD_LIBRARY_PATH
> or uninstalling it).
>
> Robert
>
>
> Travis Staloch wrote: Does anyone have any idea what this mono error message means on my Fedora 5 box?
>> Corlib not in sync with this runtime: expected corlib version 49, found 54.
>
> I see the message when I try running an app I mkbundled on the same box.
>
> At one time, I had a previous version of mono installed (1.13 I think) and then reinstalled by compiling from 1.1.17 source.
>
> Thanks for any advice,
>
> --Travis
>
>
> Travis Staloch wrote: Robert,
>
> Thanks again for your help. mkbundle was able to complete on my linux box, creating an .out file which I renamed to .exe and tried to run it. I get an error relating to the expected mscorlib version. Here it is
>> ./MyInstallerBundle.exe
> Corlib not in sync with this runtime: expected corlib version 49, found 54.
> Download a newer corlib or a newer runtime at http://www.go-mono.com/daily.
>
> Any ideas?
>
> --Travis
>
> Robert Jordan wrote: Hi Travis,
>
> I'm not sure whether any non-critical (critical as in security,
> data loss, etc.) patches will be accepted for the stable (1.1.13)
> branch, but I'll try to get them in.
>
> Robert
>
> Travis Staloch wrote:
>> Thanks alot Robert. I was wondering if I should use that one. BTW,
>> did you mention when that version of mkbundle.exe will be applied to
>> the current stable mono branch?
>>
>> --Travis
>>
>> Robert Jordan wrote: Hi Travis,
>>
>> That's the same problem like in Windows. Copy mkbundle.exe I sent you
>> in the folder with the assemblies you want to bundle and call it like
>> this:
>>
>> mono mkbundle.exe ...
>>
>> Robert
>>
>> Travis Staloch wrote:
>>> Hey Robert,
>>>
>>> I've been trying to use mkbundle now on my linux FC5 box and seem
>>> to be getting an error with it. The app itself runs fine on linux
>>> after making some changes to the dllmap entries in
>>> /usr/local/etc/mono/config. However when I use try to run the
>>> mkbundle command below, I get the error listed below. (The error
>>> says that it can't seem to find my InstallerCommon.dll which is in
>>> the same directory as MyInstaller.exe).
>>>
>>> Thanks for any advice.
>>>
>>> --Travis
>>>
>>>
>>>> mono /usr/local/lib/mono/1.0/mkbundle.exe -z --deps --config-dir
>>>> . MyInstaller.exe
>>> (BTW, I've tried leaving off the '--config-dir .' switch too).
>>>
>>> Unhandled Exception: System.IO.FileNotFoundException:
>>> InstallerCommon, Version=1.0.2336.677, Culture=neutral :
>>> InstallerCommon, Version=1.0.2336.677, Culture=neutral at <0x00000>
>>> at (wrapper managed-to-native) System.AppDomain:LoadAssembly
>>> (string,System.Security.Policy.Evidence,bool) at
>>> System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef,
>>> System.Security.Policy.Evidence assemblySecurity) [0x00000] at
>>> (wrapper remoting-invoke-with-check) System.AppDomain:Load
>>> (System.Reflection.AssemblyName,System.Security.Policy.Evidence) at
>>> System.AppDomain.Load (System.Reflection.AssemblyName assemblyRef)
>>> [0x00000] at (wrapper remoting-invoke-with-check)
>>> System.AppDomain:Load (System.Reflection.AssemblyName) at
>>> System.Reflection.Assembly.Load (System.Reflection.AssemblyName
>>> assemblyRef) [0x00000] at MakeBundle.QueueAssembly
>>> (System.Collections.ArrayList files, System.String codebase)
>>> [0x00000] at MakeBundle.Main (System.String[] args) [0x00000]
>>>
>>>
>>> Robert Jordan wrote: Hi,
>>>
>>> If you bundle you app on a Linux 2.4 system, the binary should work
>>> an all systems.
>>>
>>> The problem on Linux are the native dependencies (GLib, GTK) that
>>> you have to deliver. I can't help you with that, because I never
>>> did it myself.
>>>
>>> You may try to put them in the private "lib" dir of your
>>> application and change LD_LIBRARY_PATH from inside of a launcher
>>> script to point to this lib dir.
>>>
>>> Robert
>>>
>>> --------------------------------- Get your own web address for just
>>> $1.99/1st yr. We'll help. Yahoo! Small Business.
>>
>>
>> --------------------------------- Talk is cheap. Use Yahoo!
>> Messenger to make PC-to-Phone calls. Great rates starting at 1???/min.
>
>
>
> ---------------------------------
> Do you Yahoo!?
> Get on board. You're invited to try the new Yahoo! Mail.
>
>
> ---------------------------------
> All-new Yahoo! Mail - Fire up a more powerful email and get things done faster.
>
>
> ---------------------------------
> Get your email and more, right on the new Yahoo.com
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
From gonzalo at novell.com Thu Oct 5 08:10:59 2006
From: gonzalo at novell.com (Gonzalo Paniagua Javier)
Date: Thu, 05 Oct 2006 08:10:59 -0400
Subject: [Mono-list] mod_mono Permissions Error
In-Reply-To: <6644996.post@talk.nabble.com>
References: <6644996.post@talk.nabble.com>
Message-ID: <1160050260.4039.11.camel@lalo.micasa>
On Wed, 2006-10-04 at 11:09 -0700, cdlaforc wrote:
> I have recently installed all the mono packages from
> http://go-mono.com/download-stable/fedora-5-i386/ and have been trying to
> look at some of the example. I have gotten the xsp server working to view
> the example, but in my attempts to get the mod_mono apache module to work I
> am receiving 503 service errors. Here are the lines from my error_log:
>
> /usr/lib/pkgconfig/../../bin/mod-mono-server: line 2: /usr/bin/mono:
> Permission denied
> /usr/lib/pkgconfig/../../bin/mod-mono-server: line 2: exec: /usr/bin/mono:
> cannot execute: Permission denied
>
> I tried to remove the /tmp/.wapi dir as said in another post I have seen and
> I restarted httpd but it didn't work. Let me know if you can offer me any
> help on that.
Looks like the package for mod_mono has not been updated.
-Gonzalo
From cdlaforc at centurytel.net Thu Oct 5 09:35:58 2006
From: cdlaforc at centurytel.net (cdlaforc)
Date: Thu, 5 Oct 2006 06:35:58 -0700 (PDT)
Subject: [Mono-list] mod_mono Permissions Error
In-Reply-To: <1160050260.4039.11.camel@lalo.micasa>
References: <6644996.post@talk.nabble.com>
<1160050260.4039.11.camel@lalo.micasa>
Message-ID: <6658648.post@talk.nabble.com>
Gonzalo Paniagua Javier-4 wrote:
>
> On Wed, 2006-10-04 at 11:09 -0700, cdlaforc wrote:
>> I have recently installed all the mono packages from
>> http://go-mono.com/download-stable/fedora-5-i386/ and have been trying to
>> look at some of the example. I have gotten the xsp server working to
>> view
>> the example, but in my attempts to get the mod_mono apache module to work
>> I
>> am receiving 503 service errors. Here are the lines from my error_log:
>>
>> /usr/lib/pkgconfig/../../bin/mod-mono-server: line 2: /usr/bin/mono:
>> Permission denied
>> /usr/lib/pkgconfig/../../bin/mod-mono-server: line 2: exec:
>> /usr/bin/mono:
>> cannot execute: Permission denied
>>
>> I tried to remove the /tmp/.wapi dir as said in another post I have seen
>> and
>> I restarted httpd but it didn't work. Let me know if you can offer me
>> any
>> help on that.
>
> Looks like the package for mod_mono has not been updated.
>
> -Gonzalo
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
I think I had gotten that update yesterday. I ran the update this morning
just to make sure, but mod_mono was not one of the packages and I am having
the same problems. Any other ideas? Could this be Selinux causing
problems?
Thanks,
Chris.
--
View this message in context: http://www.nabble.com/mod_mono-Permissions-Error-tf2384014.html#a6658648
Sent from the Mono - General mailing list archive at Nabble.com.
From cdlaforc at centurytel.net Thu Oct 5 09:44:25 2006
From: cdlaforc at centurytel.net (cdlaforc)
Date: Thu, 5 Oct 2006 06:44:25 -0700 (PDT)
Subject: [Mono-list] mod_mono Permissions Error
In-Reply-To: <6658648.post@talk.nabble.com>
References: <6644996.post@talk.nabble.com>
<1160050260.4039.11.camel@lalo.micasa>
<6658648.post@talk.nabble.com>
Message-ID: <6658794.post@talk.nabble.com>
cdlaforc wrote:
>
>
>
> Gonzalo Paniagua Javier-4 wrote:
>>
>> On Wed, 2006-10-04 at 11:09 -0700, cdlaforc wrote:
>>> I have recently installed all the mono packages from
>>> http://go-mono.com/download-stable/fedora-5-i386/ and have been trying
>>> to
>>> look at some of the example. I have gotten the xsp server working to
>>> view
>>> the example, but in my attempts to get the mod_mono apache module to
>>> work I
>>> am receiving 503 service errors. Here are the lines from my error_log:
>>>
>>> /usr/lib/pkgconfig/../../bin/mod-mono-server: line 2: /usr/bin/mono:
>>> Permission denied
>>> /usr/lib/pkgconfig/../../bin/mod-mono-server: line 2: exec:
>>> /usr/bin/mono:
>>> cannot execute: Permission denied
>>>
>>> I tried to remove the /tmp/.wapi dir as said in another post I have seen
>>> and
>>> I restarted httpd but it didn't work. Let me know if you can offer me
>>> any
>>> help on that.
>>
>> Looks like the package for mod_mono has not been updated.
>>
>> -Gonzalo
>>
>>
>> _______________________________________________
>> Mono-list maillist - Mono-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-list
>>
>>
>
> I think I had gotten that update yesterday. I ran the update this morning
> just to make sure, but mod_mono was not one of the packages and I am
> having the same problems. Any other ideas? Could this be Selinux causing
> problems?
> Thanks,
>
> Chris.
>
>
So I stayed with my selinux thought and found this line to disable selinux
for the httpd dameon:
setsebool -P httpd_disable_trans 1
and restarted httpd
service restart httpd
and now it works fine. I don't know if this is the best solution, but let
me know if anyone has anything better.
Thanks,
Chris.
--
View this message in context: http://www.nabble.com/mod_mono-Permissions-Error-tf2384014.html#a6658794
Sent from the Mono - General mailing list archive at Nabble.com.
From monodanmorg at yahoo.com Thu Oct 5 15:21:47 2006
From: monodanmorg at yahoo.com (Daniel Morgan)
Date: Thu, 5 Oct 2006 12:21:47 -0700 (PDT)
Subject: [Mono-list] Portability Layer and MonoDevelop
Message-ID: <20061005192147.75237.qmail@web30808.mail.mud.yahoo.com>
After reading monologue, I noticed it mention many
Windows programmers fail to use the portability code
for paths.
I wanted to mention that many Linux programmers do
this too with Mono. They hard-code paths such as
"\usr\local\bin\somefile" when this does not exist on
Windows unless they are running the application under
cygwin. Good example of this is MonoDevelop. Good
thing Tak cleaned this up.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
From lots.of.mailing.lists at gmail.com Thu Oct 5 18:01:26 2006
From: lots.of.mailing.lists at gmail.com (Alex Mac)
Date: Thu, 5 Oct 2006 23:01:26 +0100
Subject: [Mono-list] Summer of Code / gstreamer bindings
Message-ID: <1b420d380610051501w3f788ed7wdc02bbf39ec15553@mail.gmail.com>
Not sure if this has been asked before but what state are the
gstreamer bindings in that were being developed for one of the SoC
projects. I'd hate to see them stagnate like the last attempt at .net
bindings for gstreamer.
Are they going to be in a state for release anytime soon?
(Not nagging, just keen to play with them :)
From xeno at eskimo.com Thu Oct 5 18:39:00 2006
From: xeno at eskimo.com (Xeno Campanoli)
Date: Thu, 05 Oct 2006 15:39:00 -0700
Subject: [Mono-list] Unable to compile Stack variable on mcs on
Ubuntu: Help Please
Message-ID: <45258984.2010509@eskimo.com>
I get the following diagnostic trying to compile code I cite at the
bottom of this message:
xeno at radioflyer:~/study/puzz/cs$ mcs -debug try003.cs
?try003.cs(22,15): error CS8025: Parsing error
?Compilation failed: 1 error(s), 0 warnings
xeno at radioflyer:~/study/puzz/cs$
You can also see I have the Generic using line commented out because it
yields the following diagnostic when line 22 is commented out:
xeno at radioflyer:~/study/puzz/cs$ mcs -debug try003.cs
?try003.cs(5,7): error CS0234: The type or namespace name `Generics'
does not exist in the namespace `System.Collections'. Are you missing an
assembly reference?
try003.cs(5,1): error CS0246: The type or namespace name
`System.Collections.Generics' could not be found. Are you missing a
using directive or an assembly reference?
?Compilation failed: 2 error(s), 0 warnings
xeno at radioflyer:~/study/puzz/cs$
Here is the source file:
-----------------------------------------------------------------------
// BTreeTry
using System;
using System.Collections;
//using System.Collections.Generics;
using System.Text;
namespace BTreeTrySpace {
public class BTreeNode
{
public BTreeNode Left;
public BTreeNode Right;
public string VALUE;
}
public class BTreeUtil
{
// Everything else is at the class level, so same here to be consistent.
public const int MAXDEPTH = 32;
//public Stack sFlagStack;
public stack intStack = new Stack(); // line 22
// public static BTreeNode sNodeStack[];
// public static int sNodeDepth;
}
class BTreeTry {
static void Main()
{
// Use the system console object
System.Console.WriteLine("Hello, Java!");
}
}
}
// end of BTreeTry
-----------------------------------------------------------------------------------------------------
--
Support Instant Runoff Voting! YES ON 3:
1. Cut off Mudslinging Politics!
2. Bring back real Democracy!
From joncham at gmail.com Thu Oct 5 19:44:32 2006
From: joncham at gmail.com (Jon Chambers)
Date: Thu, 5 Oct 2006 19:44:32 -0400
Subject: [Mono-list] Unable to compile Stack variable on mcs on
Ubuntu: Help Please
In-Reply-To: <45258984.2010509@eskimo.com>
References: <45258984.2010509@eskimo.com>
Message-ID: <17c2d80b0610051644u7cb75209p7cb714ae78d9be2f@mail.gmail.com>
You need to compile using gmcs, not mcs in order to use 2.0 features. Try:
gmcs try003.cs
Thanks,
Jonathan
On 10/5/06, Xeno Campanoli wrote:
>
> I get the following diagnostic trying to compile code I cite at the
> bottom of this message:
>
> xeno at radioflyer:~/study/puzz/cs$ mcs -debug try003.cs
> try003.cs(22,15): error CS8025: Parsing error
> Compilation failed: 1 error(s), 0 warnings
> xeno at radioflyer:~/study/puzz/cs$
>
> You can also see I have the Generic using line commented out because it
> yields the following diagnostic when line 22 is commented out:
>
> xeno at radioflyer:~/study/puzz/cs$ mcs -debug try003.cs
> try003.cs(5,7): error CS0234: The type or namespace name `Generics'
> does not exist in the namespace `System.Collections'. Are you missing an
> assembly reference?
> try003.cs(5,1): error CS0246: The type or namespace name
> `System.Collections.Generics' could not be found. Are you missing a
> using directive or an assembly reference?
> Compilation failed: 2 error(s), 0 warnings
> xeno at radioflyer:~/study/puzz/cs$
>
> Here is the source file:
> -----------------------------------------------------------------------
> // BTreeTry
>
> using System;
> using System.Collections;
> //using System.Collections.Generics;
> using System.Text;
>
> namespace BTreeTrySpace {
>
> public class BTreeNode
> {
> public BTreeNode Left;
> public BTreeNode Right;
> public string VALUE;
> }
>
> public class BTreeUtil
> {
> // Everything else is at the class level, so same here to be consistent.
> public const int MAXDEPTH = 32;
> //public Stack sFlagStack;
> public stack intStack = new Stack(); // line 22
> // public static BTreeNode sNodeStack[];
> // public static int sNodeDepth;
>
> }
>
> class BTreeTry {
> static void Main()
> {
> // Use the system console object
> System.Console.WriteLine("Hello, Java!");
> }
> }
> }
> // end of BTreeTry
>
> -----------------------------------------------------------------------------------------------------
>
> --
> Support Instant Runoff Voting! YES ON 3:
> 1. Cut off Mudslinging Politics!
> 2. Bring back real Democracy!
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061005/ab3c39a6/attachment.html
From xeno at eskimo.com Thu Oct 5 19:51:15 2006
From: xeno at eskimo.com (Xeno Campanoli)
Date: Thu, 05 Oct 2006 16:51:15 -0700
Subject: [Mono-list] Unable to compile Stack variable on mcs on
Ubuntu: Help Please
In-Reply-To: <17c2d80b0610051644u7cb75209p7cb714ae78d9be2f@mail.gmail.com>
References: <45258984.2010509@eskimo.com>
<17c2d80b0610051644u7cb75209p7cb714ae78d9be2f@mail.gmail.com>
Message-ID: <45259A73.10301@eskimo.com>
Jon Chambers wrote:
> You need to compile using gmcs, not mcs in order to use 2.0 features. Try:
>
> gmcs try003.cs
Here's the results of my try (It did compile and work when I commented
out the "using System.Collections.Generics;" line):
xeno at radioflyer:~/study/puzz/cs$ gmcs -debug try003.cs
?try003.cs(5,7): error CS0234: The type or namespace name `Generics'
does not exist in the namespace `System.Collections'. Are you missing an
assembly reference?
try003.cs(5,1): error CS0246: The type or namespace name
`Collections.Generics' could not be found. Are you missing a using
directive or an assembly reference?
?Compilation failed: 2 error(s), 0 warnings
xeno at radioflyer:~/study/puzz/cs$
>
> Thanks,
> Jonathan
>
> On 10/5/06, *Xeno Campanoli* < xeno at eskimo.com
> > wrote:
>
> I get the following diagnostic trying to compile code I cite at the
> bottom of this message:
>
> xeno at radioflyer:~/study/puzz/cs$ mcs -debug try003.cs
> try003.cs(22,15): error CS8025: Parsing error
> Compilation failed: 1 error(s), 0 warnings
> xeno at radioflyer:~/study/puzz/cs$
>
> You can also see I have the Generic using line commented out
> because it
> yields the following diagnostic when line 22 is commented out:
>
> xeno at radioflyer:~/study/puzz/cs$ mcs -debug try003.cs
> try003.cs(5,7): error CS0234: The type or namespace name `Generics'
> does not exist in the namespace `System.Collections'. Are you
> missing an
> assembly reference?
> try003.cs(5,1): error CS0246: The type or namespace name
> `System.Collections.Generics' could not be found. Are you missing a
> using directive or an assembly reference?
> Compilation failed: 2 error(s), 0 warnings
> xeno at radioflyer:~/study/puzz/cs$
>
> Here is the source file:
> -----------------------------------------------------------------------
>
> // BTreeTry
>
> using System;
> using System.Collections;
> //using System.Collections.Generics;
> using System.Text;
>
> namespace BTreeTrySpace {
>
> public class BTreeNode
> {
> public BTreeNode Left;
> public BTreeNode Right;
> public string VALUE;
> }
>
> public class BTreeUtil
> {
> // Everything else is at the class level, so same here to be
> consistent.
> public const int MAXDEPTH = 32;
> //public Stack sFlagStack;
> public stack intStack = new Stack(); // line 22
> // public static BTreeNode sNodeStack[];
> // public static int sNodeDepth;
>
> }
>
> class BTreeTry {
> static void Main()
> {
> // Use the system console object
> System.Console.WriteLine("Hello, Java!");
> }
> }
> }
> // end of BTreeTry
> -----------------------------------------------------------------------------------------------------
>
>
> --
> Support Instant Runoff Voting! YES ON 3:
> 1. Cut off Mudslinging Politics!
> 2. Bring back real Democracy!
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
>
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
--
Support Instant Runoff Voting! YES ON 3:
1. Cut off Mudslinging Politics!
2. Bring back real Democracy!
From joncham at gmail.com Thu Oct 5 19:55:04 2006
From: joncham at gmail.com (Jon Chambers)
Date: Thu, 5 Oct 2006 19:55:04 -0400
Subject: [Mono-list] Unable to compile Stack variable on mcs on
Ubuntu: Help Please
In-Reply-To: <45259A73.10301@eskimo.com>
References: <45258984.2010509@eskimo.com>
<17c2d80b0610051644u7cb75209p7cb714ae78d9be2f@mail.gmail.com>
<45259A73.10301@eskimo.com>
Message-ID: <17c2d80b0610051655s633226acv75682af898c8c864@mail.gmail.com>
That should be System.Collections.Generic:
http://msdn2.microsoft.com/en-us/library/system.collections.generic.aspx
On 10/5/06, Xeno Campanoli wrote:
>
> Jon Chambers wrote:
> > You need to compile using gmcs, not mcs in order to use 2.0 features.
> Try:
> >
> > gmcs try003.cs
> Here's the results of my try (It did compile and work when I commented
> out the "using System.Collections.Generics;" line):
>
> xeno at radioflyer:~/study/puzz/cs$ gmcs -debug try003.cs
> try003.cs(5,7): error CS0234: The type or namespace name `Generics'
> does not exist in the namespace `System.Collections'. Are you missing an
> assembly reference?
> try003.cs(5,1): error CS0246: The type or namespace name
> `Collections.Generics' could not be found. Are you missing a using
> directive or an assembly reference?
> Compilation failed: 2 error(s), 0 warnings
> xeno at radioflyer:~/study/puzz/cs$
>
>
> >
> > Thanks,
> > Jonathan
> >
> > On 10/5/06, *Xeno Campanoli* < xeno at eskimo.com
> > > wrote:
> >
> > I get the following diagnostic trying to compile code I cite at the
> > bottom of this message:
> >
> > xeno at radioflyer:~/study/puzz/cs$ mcs -debug try003.cs
> > try003.cs(22,15): error CS8025: Parsing error
> > Compilation failed: 1 error(s), 0 warnings
> > xeno at radioflyer:~/study/puzz/cs$
> >
> > You can also see I have the Generic using line commented out
> > because it
> > yields the following diagnostic when line 22 is commented out:
> >
> > xeno at radioflyer:~/study/puzz/cs$ mcs -debug try003.cs
> > try003.cs(5,7): error CS0234: The type or namespace name `Generics'
> > does not exist in the namespace `System.Collections'. Are you
> > missing an
> > assembly reference?
> > try003.cs(5,1): error CS0246: The type or namespace name
> > `System.Collections.Generics' could not be found. Are you missing a
> > using directive or an assembly reference?
> > Compilation failed: 2 error(s), 0 warnings
> > xeno at radioflyer:~/study/puzz/cs$
> >
> > Here is the source file:
> >
> -----------------------------------------------------------------------
> >
> > // BTreeTry
> >
> > using System;
> > using System.Collections;
> > //using System.Collections.Generics;
> > using System.Text;
> >
> > namespace BTreeTrySpace {
> >
> > public class BTreeNode
> > {
> > public BTreeNode Left;
> > public BTreeNode Right;
> > public string VALUE;
> > }
> >
> > public class BTreeUtil
> > {
> > // Everything else is at the class level, so same here to be
> > consistent.
> > public const int MAXDEPTH = 32;
> > //public Stack sFlagStack;
> > public stack intStack = new Stack(); // line 22
> > // public static BTreeNode sNodeStack[];
> > // public static int sNodeDepth;
> >
> > }
> >
> > class BTreeTry {
> > static void Main()
> > {
> > // Use the system console object
> > System.Console.WriteLine("Hello, Java!");
> > }
> > }
> > }
> > // end of BTreeTry
> >
> -----------------------------------------------------------------------------------------------------
> >
> >
> > --
> > Support Instant Runoff Voting! YES ON 3:
> > 1. Cut off Mudslinging Politics!
> > 2. Bring back real Democracy!
> >
> > _______________________________________________
> > Mono-list maillist - Mono-list at lists.ximian.com
> >
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> >
>
>
> --
> Support Instant Runoff Voting! YES ON 3:
> 1. Cut off Mudslinging Politics!
> 2. Bring back real Democracy!
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061005/c19b0f51/attachment.html
From carlosble at shidix.com Fri Oct 6 04:19:04 2006
From: carlosble at shidix.com (Carlos Ble)
Date: Fri, 06 Oct 2006 09:19:04 +0100
Subject: [Mono-list] Mono Foundation?
In-Reply-To: <1159964741.5098.47.camel@erandi.dom>
References: <1159964741.5098.47.camel@erandi.dom>
Message-ID: <1160122744.5438.21.camel@laptop1>
Hi!
I think that this is a big step.
Maybe the best way to fund Mono is to involve major corporations in it.
It is difficult because a lot of them just think in .Net/Java rather
than Mono, so a Mono Foundation might be a big step promoting Mono.
With good free software projects into the Mono Foundation many companies
might be interested in Mono. To talk with "N*" project maintainers like
NLog, NHibernate... to welcome them to the Mono Foundation might be a
hit.
I think that using the Apache Foundation as the host is not a good idea
because people thinks in Java when they read "Apache Foundation" but I
don't know how much cost to setup up a new foundation.
Im a volunteer to help in the Mono Foundation :-)
Regards
El mi?, 04-10-2006 a las 08:25 -0400, Miguel de Icaza escribi?:
> Hello,
>
> Over the past few years, people have suggested that we should create
> a foundation to further develop Mono. The idea in general is good, it
> has worked fairly well for Gnome, and has worked fairly well for
> Apache.
>
> This comes at a time when some third parties would like to see Mono
> developed in a particular direction and the process that we have at
> Novell for getting paid for Mono is not optimal (which is to say, today
> the best thing you can do to fund Mono is buy SUSE, which is not a very
> direct way of funding Mono).
>
> But am not sure that everyone has the same idea about what a Mono
> foundation would do, I would like such a foundation to be a mechanism to
> funnel more money into the development of Mono and its ecosystem.
>
> A foundation might have other uses, as it does in Gnome and Apache
> cases (defining release schedules, promotion, opening up the decision
> making process), but I think that fundamentally it should aim to have a
> budget that it can use to hire developers to work on particular areas
> that need to be developed.
>
> I think this is a topic that is worth discussing at the upcoming
> Mono Meeting: are there enough companies that would be willing to fund a
> non-profit to develop open source software for this particular purpose?
>
> A few months ago, just when someone had brought up the idea about a
> Mono Foundation, I happened to run into Greg Stein from Apache at a
> conference. He had a few comments: setting up a foundation is a lot of
> work (I agree); it might be best to reuse an existing foundation (I
> agree as well); The Apache Foundation *might* be a host for our
> activities, but does not have a mechanism for paying/funding any
> activities (which is what I would personally like to see happen).
>
> Miguel.
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
--
Carlos Ble
Shidix Technologies
www.shidix.com/carlosble
From alan.mcgovern at gmail.com Fri Oct 6 04:37:05 2006
From: alan.mcgovern at gmail.com (Alan McGovern)
Date: Fri, 6 Oct 2006 09:37:05 +0100
Subject: [Mono-list] Unable to compile Stack variable on mcs on
Ubuntu: Help Please
In-Reply-To: <17c2d80b0610051655s633226acv75682af898c8c864@mail.gmail.com>
References: <45258984.2010509@eskimo.com>
<17c2d80b0610051644u7cb75209p7cb714ae78d9be2f@mail.gmail.com>
<45259A73.10301@eskimo.com>
<17c2d80b0610051655s633226acv75682af898c8c864@mail.gmail.com>
Message-ID: <117799f00610060137k5483a60aif1c780e6d6f90d9@mail.gmail.com>
You need to uncomment the line: 'using System.Collections.Generics;'
On 10/6/06, Jon Chambers wrote:
>
> That should be System.Collections.Generic:
>
> http://msdn2.microsoft.com/en-us/library/system.collections.generic.aspx
>
> On 10/5/06, Xeno Campanoli wrote:
> >
> > Jon Chambers wrote:
> > > You need to compile using gmcs, not mcs in order to use 2.0 features.
> > Try:
> > >
> > > gmcs try003.cs
> > Here's the results of my try (It did compile and work when I commented
> > out the "using System.Collections.Generics;" line):
> >
> > xeno at radioflyer:~/study/puzz/cs$ gmcs -debug try003.cs
> > try003.cs(5,7): error CS0234: The type or namespace name `Generics'
> > does not exist in the namespace `System.Collections'. Are you missing an
> >
> > assembly reference?
> > try003.cs(5,1): error CS0246: The type or namespace name
> > `Collections.Generics' could not be found. Are you missing a using
> > directive or an assembly reference?
> > Compilation failed: 2 error(s), 0 warnings
> > xeno at radioflyer:~/study/puzz/cs$
> >
> >
> > >
> > > Thanks,
> > > Jonathan
> > >
> > > On 10/5/06, *Xeno Campanoli* < xeno at eskimo.com
> > > > wrote:
> > >
> > > I get the following diagnostic trying to compile code I cite at
> > the
> > > bottom of this message:
> > >
> > > xeno at radioflyer:~/study/puzz/cs$ mcs -debug try003.cs
> > > try003.cs(22,15): error CS8025: Parsing error
> > > Compilation failed: 1 error(s), 0 warnings
> > > xeno at radioflyer:~/study/puzz/cs$
> > >
> > > You can also see I have the Generic using line commented out
> > > because it
> > > yields the following diagnostic when line 22 is commented out:
> > >
> > > xeno at radioflyer:~/study/puzz/cs$ mcs -debug try003.cs
> > > try003.cs(5,7): error CS0234: The type or namespace name
> > `Generics'
> > > does not exist in the namespace `System.Collections'. Are you
> > > missing an
> > > assembly reference?
> > > try003.cs(5,1): error CS0246: The type or namespace name
> > > `System.Collections.Generics' could not be found. Are you missing
> > a
> > > using directive or an assembly reference?
> > > Compilation failed: 2 error(s), 0 warnings
> > > xeno at radioflyer:~/study/puzz/cs$
> > >
> > > Here is the source file:
> > >
> > -----------------------------------------------------------------------
> > >
> > > // BTreeTry
> > >
> > > using System;
> > > using System.Collections;
> > > //using System.Collections.Generics;
> > > using System.Text;
> > >
> > > namespace BTreeTrySpace {
> > >
> > > public class BTreeNode
> > > {
> > > public BTreeNode Left;
> > > public BTreeNode Right;
> > > public string VALUE;
> > > }
> > >
> > > public class BTreeUtil
> > > {
> > > // Everything else is at the class level, so same here to be
> > > consistent.
> > > public const int MAXDEPTH = 32;
> > > //public Stack sFlagStack;
> > > public stack intStack = new Stack(); // line 22
> > > // public static BTreeNode sNodeStack[];
> > > // public static int sNodeDepth;
> > >
> > > }
> > >
> > > class BTreeTry {
> > > static void Main()
> > > {
> > > // Use the system console object
> > > System.Console.WriteLine("Hello, Java!");
> > > }
> > > }
> > > }
> > > // end of BTreeTry
> > >
> > -----------------------------------------------------------------------------------------------------
> >
> > >
> > >
> > > --
> > > Support Instant Runoff Voting! YES ON 3:
> > > 1. Cut off Mudslinging Politics!
> > > 2. Bring back real Democracy!
> > >
> > > _______________________________________________
> > > Mono-list maillist - Mono-list at lists.ximian.com
> > >
> > > http://lists.ximian.com/mailman/listinfo/mono-list
> > >
> > >
> >
> >
> > --
> > Support Instant Runoff Voting! YES ON 3:
> > 1. Cut off Mudslinging Politics!
> > 2. Bring back real Democracy!
> >
> > _______________________________________________
> > Mono-list maillist - Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061006/c8548d9c/attachment-0001.html
From xeno at eskimo.com Fri Oct 6 12:38:02 2006
From: xeno at eskimo.com (Xeno Campanoli)
Date: Fri, 06 Oct 2006 09:38:02 -0700
Subject: [Mono-list] I cannot seem to find a definitive list of standard C#
exceptions
Message-ID: <4526866A.3070600@eskimo.com>
Sorry if this should be obvious, but isn't there a URL somewhere where I
can find a list of 20 or so standard exceptions, just like exists for Java?
Thank you for any feedback.
xc
--
Support Instant Runoff Voting! YES ON 3:
1. Cut off Mudslinging Politics!
2. Bring back real Democracy!
From mhinks at gmail.com Fri Oct 6 12:41:21 2006
From: mhinks at gmail.com (Martin Hinks)
Date: Fri, 6 Oct 2006 17:41:21 +0100
Subject: [Mono-list] I cannot seem to find a definitive list of standard
C# exceptions
In-Reply-To: <4526866A.3070600@eskimo.com>
References: <4526866A.3070600@eskimo.com>
Message-ID: <7fb639590610060941m682799ecue7150dea114dc36b@mail.gmail.com>
Well, as the point of the Exception class is extendable there is
really no "standard" set, but the MSDN reference for each class will
tell you what each method will throw.
On 10/6/06, Xeno Campanoli wrote:
> Sorry if this should be obvious, but isn't there a URL somewhere where I
> can find a list of 20 or so standard exceptions, just like exists for Java?
>
> Thank you for any feedback.
>
> xc
>
> --
> Support Instant Runoff Voting! YES ON 3:
> 1. Cut off Mudslinging Politics!
> 2. Bring back real Democracy!
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
--
Martin Hinks
http://www.m-s-d.net
From fmoex06 at student.vxu.se Fri Oct 6 16:42:17 2006
From: fmoex06 at student.vxu.se (Francisco Modesto)
Date: Fri, 06 Oct 2006 22:42:17 +0200
Subject: [Mono-list] Problems with XMLSerializer
Message-ID: <200610062242.17932.fmoex06@student.vxu.se>
Hi!
It's possible to send an object serialized with XMLSerializer using a
NetworkStream without closing the stream? The problem is I need to close the
stream after sending, because XMLSerializer.Deserialize(Stream st) waits
until the stream close.
Thanks
From xeno at eskimo.com Fri Oct 6 17:29:49 2006
From: xeno at eskimo.com (Xeno Campanoli)
Date: Fri, 06 Oct 2006 14:29:49 -0700
Subject: [Mono-list] An object reference is required?
Message-ID: <4526CACD.20206@eskimo.com>
I'm sorry if this should be obvious, but i'm not finding how to make
such an object reference. It's probably staring me right in the face.
I've got an object variable
private DoubleLinkedList StartNode;
which presumably I'd use a & on in C++,
and I want to assign a value to it from a variable that received the
results of a new instantiation. The diagnostic is:
?BuildAndTraverseDLL.cs(58,6): error CS0120: `StartNode': An object
reference is required for the nonstatic field, method or property
BuildAndTraverseDLL.cs(58,6): error CS0131: Left hand of an assignment
must be a variable, a property or an indexer
from the compile, of course.
--
Support Instant Runoff Voting! YES ON 3:
1. Cut off Mudslinging Politics!
2. Bring back real Democracy!
From andreas.faerber at web.de Fri Oct 6 17:39:06 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Fri, 6 Oct 2006 23:39:06 +0200
Subject: [Mono-list] An object reference is required?
In-Reply-To: <4526CACD.20206@eskimo.com>
References: <4526CACD.20206@eskimo.com>
Message-ID:
Am 06.10.2006 um 23:29 schrieb Xeno Campanoli:
> I'm sorry if this should be obvious, but i'm not finding how to make
> such an object reference. It's probably staring me right in the face.
> I've got an object variable
>
> private DoubleLinkedList StartNode;
>
> which presumably I'd use a & on in C++,
>
> and I want to assign a value to it from a variable that received the
> results of a new instantiation. The diagnostic is:
>
> BuildAndTraverseDLL.cs(58,6): error CS0120: `StartNode': An object
> reference is required for the nonstatic field, method or property
> BuildAndTraverseDLL.cs(58,6): error CS0131: Left hand of an assignment
> must be a variable, a property or an indexer
>
> from the compile, of course.
Most likely you are assigning within a static method - then you need
a static field as opposed to an instance field.
Andreas
From tracker1_lists at theroughnecks.com Fri Oct 6 21:45:21 2006
From: tracker1_lists at theroughnecks.com (Michael J. Ryan)
Date: Fri, 06 Oct 2006 18:45:21 -0700
Subject: [Mono-list] Mono Foundation?
In-Reply-To: <1159964741.5098.47.camel@erandi.dom>
References: <1159964741.5098.47.camel@erandi.dom>
Message-ID: <452706B1.50009@theroughnecks.com>
Miguel de Icaza wrote:
> Over the past few years, people have suggested that we should create
> a foundation to further develop Mono. The idea in general is good, it
> has worked fairly well for Gnome, and has worked fairly well for
> Apache.
I think it would be a very good idea. Especially as applications that rely
on the mono and gtk# framework become more common in the various Linux
distributions. The ties to Novell/SuSE imho somewhat limit funding from other
companies (such as Canonical) who are coming to include F-Spot, Beagle and
other apps which are written on top of the framework.
I'm not sure, and seriously hope that it wouldn't drive a wedge between said
Mono organization, and Novell corporation.
This is just my own input on the issue.
--
Michael J. Ryan - tracker1(at)theroughnecks(dot)com - www.theroughnecks.net
icq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email)
From tracker1_lists at theroughnecks.com Fri Oct 6 22:01:36 2006
From: tracker1_lists at theroughnecks.com (Michael J. Ryan)
Date: Fri, 06 Oct 2006 19:01:36 -0700
Subject: [Mono-list] I cannot seem to find a definitive list of standard
C# exceptions
In-Reply-To: <4526866A.3070600@eskimo.com>
References: <4526866A.3070600@eskimo.com>
Message-ID: <45270A80.8060506@theroughnecks.com>
Xeno Campanoli wrote:
> Sorry if this should be obvious, but isn't there a URL somewhere where I
> can find a list of 20 or so standard exceptions, just like exists for Java?
>
> Thank you for any feedback.
In C# you don't need to handle *EVERY* type of exception that a class *might*
throw, like Java. For the most part, setup generic handlers at *least* for
System.ApplicationException, and possibly System.Exception (depending on your
usage, I've had to do this for stuff in windows a few times).
From there, if you are dealing with databases, add in handling for the
*Exception within your client's namespace. There is generally a base
Exception class for a given section of the namespace structure.
If you are dealing with threading, System.Threading.ThreadAbortException
should be checked for... it really just depends on what you are working with..
3rd party components will vary though, but the above is a general practice.
NOTE: When creating your own project/namespace, you should consider creating a
generic exception class for that project/namespace that inherits the
System.ApplicationException (for projects/applications)
Or System.Exception class when raising exceptions caused from platform
libraries (ie P/Invoke) that should probably not allow the application to
continue..
--
Michael J. Ryan - tracker1(at)theroughnecks(dot)com - www.theroughnecks.net
icq: 4935386 - AIM/AOL: azTracker1 - Y!: azTracker1 - MSN/Win: (email)
From miguel at novell.com Sat Oct 7 12:09:28 2006
From: miguel at novell.com (Miguel de Icaza)
Date: Sat, 07 Oct 2006 12:09:28 -0400
Subject: [Mono-list] SPAM-LOW: [Mono-dev] Talks at Mono Meeting.
In-Reply-To: <000d01c6e80e$29cd62b0$6401a8c0@FERRARI>
References: <000d01c6e80e$29cd62b0$6401a8c0@FERRARI>
Message-ID: <1160237368.18016.55.camel@erandi.dom>
Hey,
> I'd be happy to talk a bit about NUnit and where it is in terms of
> running on Mono out of the box. It wouldn't be a deep-tech talk, just
> an experience report of what kinds of things we ran into, what we're
> doing about them and what might help us move it along.
That would be great, I will add you to the schedule.
Miguel.
From andreas.faerber at web.de Sun Oct 8 09:55:28 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Sun, 8 Oct 2006 15:55:28 +0200
Subject: [Mono-list] mcs/gmcs crash
Message-ID: <40C429CE-9834-4B34-B7C7-3EE29C6089F8@web.de>
Hello,
When I compile the following code:
public class test {
public static void Main() {
hjk;
}
}
in Mono 1.1.17.1 on OS X (both ppc and i386) using "[g]mcs test.cs [-
out:...]" then both mcs and gmcs emit an appropriate error message
and exit, but on the console I see that mono crashed, apparently
performing an illegal memory access.
If I leave out the semicolon in the faulty line (leading to a
different error) then there is no crash.
Is this a known issue, or should I file a ticket?
Andreas
From robertj at gmx.net Sun Oct 8 16:11:36 2006
From: robertj at gmx.net (Robert Jordan)
Date: Sun, 08 Oct 2006 22:11:36 +0200
Subject: [Mono-list] mcs/gmcs crash
In-Reply-To: <40C429CE-9834-4B34-B7C7-3EE29C6089F8@web.de>
References: <40C429CE-9834-4B34-B7C7-3EE29C6089F8@web.de>
Message-ID:
Andreas F?rber wrote:
> Hello,
>
> When I compile the following code:
>
> public class test {
> public static void Main() {
> hjk;
> }
> }
>
> in Mono 1.1.17.1 on OS X (both ppc and i386) using "[g]mcs test.cs [-
> out:...]" then both mcs and gmcs emit an appropriate error message
> and exit, but on the console I see that mono crashed, apparently
> performing an illegal memory access.
>
> If I leave out the semicolon in the faulty line (leading to a
> different error) then there is no crash.
>
> Is this a known issue, or should I file a ticket?
That's not a mcs crash, see
http://bugzilla.ximian.com/show_bug.cgi?id=74869
Disable the dumb Crash Reporter or apply the patch.
Robert
From andreas.faerber at web.de Sun Oct 8 16:39:45 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Sun, 8 Oct 2006 22:39:45 +0200
Subject: [Mono-list] mcs/gmcs crash
In-Reply-To:
References: <40C429CE-9834-4B34-B7C7-3EE29C6089F8@web.de>
Message-ID:
Am 08.10.2006 um 22:11 schrieb Robert Jordan:
> Andreas F?rber wrote:
>> When I compile the following code:
>>
>> public class test {
>> public static void Main() {
>> hjk;
>> }
>> }
>>
>> in Mono 1.1.17.1 on OS X (both ppc and i386) using "[g]mcs test.cs [-
>> out:...]" then both mcs and gmcs emit an appropriate error message
>> and exit, but on the console I see that mono crashed, apparently
>> performing an illegal memory access.
>>
>> If I leave out the semicolon in the faulty line (leading to a
>> different error) then there is no crash.
>>
>> Is this a known issue, or should I file a ticket?
>
> That's not a mcs crash, see
>
> http://bugzilla.ximian.com/show_bug.cgi?id=74869
>
> Disable the dumb Crash Reporter or apply the patch.
Are you certain about the workaround? Such Mach code was part of
Cocoa# earlier this year and did not fix NullPointerExceptions for me
back then, I even wrote an NUnit test case to show that.
I am working on a managed Xcode plugin, so patching my own local Mono
is no solution.
Andreas
From robertj at gmx.net Sun Oct 8 17:36:10 2006
From: robertj at gmx.net (Robert Jordan)
Date: Sun, 08 Oct 2006 23:36:10 +0200
Subject: [Mono-list] mcs/gmcs crash
In-Reply-To:
References: <40C429CE-9834-4B34-B7C7-3EE29C6089F8@web.de>
Message-ID:
Andreas F?rber wrote:
> Am 08.10.2006 um 22:11 schrieb Robert Jordan:
>
>> Andreas F?rber wrote:
>>> When I compile the following code:
>>>
>>> public class test {
>>> public static void Main() {
>>> hjk;
>>> }
>>> }
>>>
>>> in Mono 1.1.17.1 on OS X (both ppc and i386) using "[g]mcs test.cs [-
>>> out:...]" then both mcs and gmcs emit an appropriate error message
>>> and exit, but on the console I see that mono crashed, apparently
>>> performing an illegal memory access.
>>>
>>> If I leave out the semicolon in the faulty line (leading to a
>>> different error) then there is no crash.
>>>
>>> Is this a known issue, or should I file a ticket?
>> That's not a mcs crash, see
>>
>> http://bugzilla.ximian.com/show_bug.cgi?id=74869
>>
>> Disable the dumb Crash Reporter or apply the patch.
>
> Are you certain about the workaround? Such Mach code was part of
> Cocoa# earlier this year and did not fix NullPointerExceptions for me
> back then, I even wrote an NUnit test case to show that.
I meant the last "mini.diff" patch against the runtime.
> I am working on a managed Xcode plugin, so patching my own local Mono
> is no solution.
You could try out the patch, especially on x86, and post a follow
up to the bug entry. Or build a dylib (derived from the patch's code)
and pinvoke it, because I'm not sure if patch will be ever accepted.
Robert
From xiii29 at free.fr Mon Oct 9 08:18:58 2006
From: xiii29 at free.fr (xiii29 at free.fr)
Date: Mon, 09 Oct 2006 14:18:58 +0200
Subject: [Mono-list] [HS] SVN politics
Message-ID: <1160396338.452a3e3246a5f@imp7-g19.free.fr>
Hi,
I'm wondering if there is somewhere a place where I can find the SVN politics of
Mono ?
That is to say : How are you using SVN and how do you manage version with it !
Thanks in advance
From s.scarciglia at hyperphar.com Mon Oct 9 10:22:14 2006
From: s.scarciglia at hyperphar.com (Salvatore Scarciglia)
Date: Mon, 9 Oct 2006 16:22:14 +0200
Subject: [Mono-list] [MonoDevelop] where to find a useful list about mono
In-Reply-To: <452A5AD2.9070807@libero.it>
References: <452A5AD2.9070807@libero.it>
Message-ID: <20061009162214.64fefc5d@localhost>
On Mon, 09 Oct 2006 16:21:06 +0200
enzo wrote:
> Someone know if there is a list about mono, where can I find some help
> about use and configure mono tools .
>
> Regards, Enzo
Ciao Enzo,
http://lists.ximian.com/mailman/listinfo/mono-list
official mono list
Bye
Salvatore
--
LAAS --------------------------<|
http://laas.altervista.org ----<|
From carlosble at shidix.com Mon Oct 9 10:48:34 2006
From: carlosble at shidix.com (Carlos Ble)
Date: Mon, 09 Oct 2006 15:48:34 +0100
Subject: [Mono-list] [HS] SVN politics
In-Reply-To: <1160396338.452a3e3246a5f@imp7-g19.free.fr>
References: <1160396338.452a3e3246a5f@imp7-g19.free.fr>
Message-ID: <1160405314.5457.21.camel@laptop1>
http://mono-project.com/SVN
El lun, 09-10-2006 a las 14:18 +0200, xiii29 at free.fr escribi?:
> Hi,
>
> I'm wondering if there is somewhere a place where I can find the SVN politics of
> Mono ?
>
> That is to say : How are you using SVN and how do you manage version with it !
>
> Thanks in advance
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
--
Carlos Ble
Shidix Technologies
www.shidix.com/carlosble
From andreas.faerber at web.de Mon Oct 9 17:33:46 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Mon, 9 Oct 2006 23:33:46 +0200
Subject: [Mono-list] Mono embedding issue
Message-ID:
Hello,
When embedding Mono 1.1.17.1 on OS X i386, I get an assertion failure
in mono_jit_init:
** ERROR **: file threads.c: line 420 (mono_thread_attach): assertion
failed: (thread_handle)
aborting...
It goes on to mention SIGABRT and includes an empty stacktrace.
The same code, compiled against the corresponding ppc Mono.framework,
works great on PPC. I've looked at the beforementioned source file in
SVN head and found no clue.
The http://www.mono-project.com/Embedding_Mono Wiki page mentioned
including a gc.h before pthread.h but such an include file is not
distributed together with Mono, some other include paths on the page
might need updating as well (mono/jit/jit.h instead of mono/mini/
jit.h). However, I am not spawning any threads myself, thus not using
pthread.h, just calling the mono_jit_init function within my library
method.
Any ideas?
Andreas
From miguel at ximian.com Mon Oct 9 19:10:27 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Mon, 09 Oct 2006 19:10:27 -0400
Subject: [Mono-list] mcs/gmcs crash
In-Reply-To:
References: <40C429CE-9834-4B34-B7C7-3EE29C6089F8@web.de>
Message-ID: <1160435427.4966.10.camel@erandi.dom>
Hey,
> I meant the last "mini.diff" patch against the runtime.
>
> > I am working on a managed Xcode plugin, so patching my own local Mono
> > is no solution.
>
> You could try out the patch, especially on x86, and post a follow
> up to the bug entry. Or build a dylib (derived from the patch's code)
> and pinvoke it, because I'm not sure if patch will be ever accepted.
I just commited the patch, but I would love to get some feedback from
those using MacOS X.
From miguel at ximian.com Mon Oct 9 19:11:55 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Mon, 09 Oct 2006 19:11:55 -0400
Subject: [Mono-list] Mono embedding issue
In-Reply-To:
References:
Message-ID: <1160435515.4966.12.camel@erandi.dom>
Hello,
> When embedding Mono 1.1.17.1 on OS X i386, I get an assertion failure
> in mono_jit_init:
> ** ERROR **: file threads.c: line 420 (mono_thread_attach): assertion
> failed: (thread_handle)
> aborting...
> It goes on to mention SIGABRT and includes an empty stacktrace.
>
> The same code, compiled against the corresponding ppc Mono.framework,
> works great on PPC. I've looked at the beforementioned source file in
> SVN head and found no clue.
Is this thread registered with Mono? Mono requires that all threads
that will have access to Mono are registered with the GC.
From robertj at gmx.net Mon Oct 9 21:19:20 2006
From: robertj at gmx.net (Robert Jordan)
Date: Tue, 10 Oct 2006 03:19:20 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To:
References:
Message-ID:
Andreas F?rber wrote:
> Hello,
>
> When embedding Mono 1.1.17.1 on OS X i386, I get an assertion failure
> in mono_jit_init:
> ** ERROR **: file threads.c: line 420 (mono_thread_attach): assertion
> failed: (thread_handle)
> aborting...
This basically means that io-layer's GetCurrentThread returned
NULL, which is completely nonsense because it always returns
a constant value != NULL.
I suppose MacOS has its own GetCurrentThread function which gets
linked and called instead Mono's:
http://bugzilla.ximian.com/show_bug.cgi?id=77324
Robert
From andreas.faerber at web.de Tue Oct 10 05:24:19 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Tue, 10 Oct 2006 11:24:19 +0200
Subject: [Mono-list] mcs/gmcs crash
In-Reply-To: <1160435427.4966.10.camel@erandi.dom>
References: <40C429CE-9834-4B34-B7C7-3EE29C6089F8@web.de>
<1160435427.4966.10.camel@erandi.dom>
Message-ID:
Hi Miguel,
>> I meant the last "mini.diff" patch against the runtime.
>>
>>> I am working on a managed Xcode plugin, so patching my own local
>>> Mono
>>> is no solution.
>>
>> You could try out the patch, especially on x86, and post a follow
>> up to the bug entry. Or build a dylib (derived from the patch's code)
>> and pinvoke it, because I'm not sure if patch will be ever accepted.
>
> I just commited the patch, but I would love to get some feedback from
> those using MacOS X.
If you could provide me with a ppc binary and instructions for
updating my installation (I guess I'll be updating to 1.1.17.2 first,
wasn't aware) I'd be happy to test it and report back.
Andreas
From andreas.faerber at web.de Tue Oct 10 06:29:14 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Tue, 10 Oct 2006 12:29:14 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To:
References:
Message-ID: <1A8C3489-07CE-4D34-BC4D-63FCECC22889@web.de>
Hello Robert,
Thanks for your quick replies!
>> When embedding Mono 1.1.17.1 on OS X i386, I get an assertion failure
>> in mono_jit_init:
>> ** ERROR **: file threads.c: line 420 (mono_thread_attach): assertion
>> failed: (thread_handle)
>> aborting...
>
> This basically means that io-layer's GetCurrentThread returned
> NULL, which is completely nonsense because it always returns
> a constant value != NULL.
>
> I suppose MacOS has its own GetCurrentThread function which gets
> linked and called instead Mono's:
>
> http://bugzilla.ximian.com/show_bug.cgi?id=77324
I already read that bug report. It refers to _GetCurrentProcess as
opposed to GetCurrentThread.
I do get a linker warning only for the _GetCurrentProcess symbol, as
mentioned in #77324; my workaround is to add -undefined
dynamic_lookup to the linker flags in Xcode, which also eliminates
the error for the _environ symbol. The only remaining warning then
was Mono.framework not being Universal, which I can safely ignore as
I am recompiling on both platforms against the native one installed.
Please do note that my code works on ppc, so it's unlikely to be a
general OS X API problem.
I would of course appreciate some solution to the name conflict,
possibly as outlined in the bug comments by Paolo in April.
My native code is a Cocoa bundle, linked to Cocoa.framework,
DevToolsCore.framework and Mono.framework. The other
_GetCurrentProcess seems to originate somewhere from the
Cocoa.framework, which is the basis for all object-oriented bundles
on OS X.
My method calling mono_jit_init is a regular (non-initialize)
Objective-C class method. Since yesterday that is to be exact -
before that I had the Mono embedding in a separate library's
initialization routine, spawning a pthread to avoid deadlock,
yielding virtually identical results (ppc worked, i386 didn't).
One machine is a Dual Core PowerPC G5, the other an Intel Core Duo,
so both dual-core. The only difference I just noticed is OS X v10.4.8
on ppc and v10.4.7 on i386, but both are running Xcode 2.4. Will
check on that but I'm not too optimistic...
Andreas
From andreas.faerber at web.de Tue Oct 10 08:32:37 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Tue, 10 Oct 2006 14:32:37 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To: <1A8C3489-07CE-4D34-BC4D-63FCECC22889@web.de>
References:
<1A8C3489-07CE-4D34-BC4D-63FCECC22889@web.de>
Message-ID:
Am 10.10.2006 um 12:29 schrieb Andreas F?rber:
>
>>> When embedding Mono 1.1.17.1 on OS X i386, I get an assertion
>>> failure
>>> in mono_jit_init:
>>> ** ERROR **: file threads.c: line 420 (mono_thread_attach):
>>> assertion
>>> failed: (thread_handle)
>>> aborting...
>>
>> This basically means that io-layer's GetCurrentThread returned
>> NULL, which is completely nonsense because it always returns
>> a constant value != NULL.
>>
>> I suppose MacOS has its own GetCurrentThread function which gets
>> linked and called instead Mono's:
>>
>> http://bugzilla.ximian.com/show_bug.cgi?id=77324
>
> I already read that bug report. It refers to _GetCurrentProcess as
> opposed to [_]GetCurrentThread.
>
> I do get a linker warning only for the _GetCurrentProcess symbol, as
> mentioned in #77324; my workaround is to add -undefined
> dynamic_lookup to the linker flags in Xcode, which also eliminates
> the error for the _environ symbol. The only remaining warning then
> was Mono.framework not being Universal, which I can safely ignore as
> I am recompiling on both platforms against the native one installed.
>
> Please do note that my code works on ppc, so it's unlikely to be a
> general OS X API problem.
>
> I would of course appreciate some solution to the name conflict,
> possibly as outlined in the bug comments by Paolo in April.
> My native code is a Cocoa bundle, linked to Cocoa.framework,
> DevToolsCore.framework and Mono.framework. The other
> _GetCurrentProcess seems to originate somewhere from the
> Cocoa.framework, which is the basis for all object-oriented bundles
> on OS X.
>
> My method calling mono_jit_init is a regular (non-initialize)
> Objective-C class method. Since yesterday that is to be exact -
> before that I had the Mono embedding in a separate library's
> initialization routine, spawning a pthread to avoid deadlock,
> yielding virtually identical results (ppc worked, i386 didn't).
>
> One machine is a Dual Core PowerPC G5, the other an Intel Core Duo,
> so both dual-core. The only difference I just noticed is OS X v10.4.8
> on ppc and v10.4.7 on i386, but both are running Xcode 2.4. Will
> check on that but I'm not too optimistic...
Same problem on Intel on OS X v10.4.8, and with Mono 1.1.17.2.
The link to the 1.1.17.2 release notes raises a 403 error btw.
Andreas
From robertj at gmx.net Tue Oct 10 09:00:45 2006
From: robertj at gmx.net (Robert Jordan)
Date: Tue, 10 Oct 2006 15:00:45 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To: <1A8C3489-07CE-4D34-BC4D-63FCECC22889@web.de>
References:
<1A8C3489-07CE-4D34-BC4D-63FCECC22889@web.de>
Message-ID:
Hi Andreas,
Andreas F?rber wrote:
>>> When embedding Mono 1.1.17.1 on OS X i386, I get an assertion failure
>>> in mono_jit_init:
>>> ** ERROR **: file threads.c: line 420 (mono_thread_attach): assertion
>>> failed: (thread_handle)
>>> aborting...
>> This basically means that io-layer's GetCurrentThread returned
>> NULL, which is completely nonsense because it always returns
>> a constant value != NULL.
>>
>> I suppose MacOS has its own GetCurrentThread function which gets
>> linked and called instead Mono's:
>>
>> http://bugzilla.ximian.com/show_bug.cgi?id=77324
>
> I already read that bug report. It refers to _GetCurrentProcess as
> opposed to GetCurrentThread.
Like GetCurrentProcess, GetCurrentThread is actually a Carbon function:
http://developer.apple.com/documentation/Carbon/Reference/Process_Manager/Reference/reference.html#//apple_ref/c/func/GetCurrentProcess
http://developer.apple.com/documentation/Carbon/Reference/Thread_Manager/Reference/reference.html#//apple_ref/c/func/GetCurrentThread
The proof by induction about why GetCurrentThread could fail as well,
is left as an exercise for the reader :-)
As suggested by bug #77324 (2006-03-10 16:38), you could try to
reference the Mono framework before Carbon:
gcc foo.c -framework Mono -framework Carbon -o ...
Robert
From andreas.faerber at web.de Tue Oct 10 11:18:15 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Tue, 10 Oct 2006 17:18:15 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To:
References:
<1A8C3489-07CE-4D34-BC4D-63FCECC22889@web.de>
Message-ID: <580C1C7F-C4B9-4DEB-A5B9-D12505D4C8CE@web.de>
Hi Robert,
>>>> When embedding Mono 1.1.17.1 on OS X i386, I get an assertion
>>>> failure
>>>> in mono_jit_init:
>>>> ** ERROR **: file threads.c: line 420 (mono_thread_attach):
>>>> assertion
>>>> failed: (thread_handle)
>>>> aborting...
>>> This basically means that io-layer's GetCurrentThread returned
>>> NULL, which is completely nonsense because it always returns
>>> a constant value != NULL.
>>>
>>> I suppose MacOS has its own GetCurrentThread function which gets
>>> linked and called instead Mono's:
>>>
>>> http://bugzilla.ximian.com/show_bug.cgi?id=77324
>>
>> I already read that bug report. It refers to _GetCurrentProcess as
>> opposed to GetCurrentThread.
>
> Like GetCurrentProcess, GetCurrentThread is actually a Carbon
> function:
>
> http://developer.apple.com/documentation/Carbon/Reference/
> Process_Manager/Reference/reference.html#//apple_ref/c/func/
> GetCurrentProcess
> http://developer.apple.com/documentation/Carbon/Reference/
> Thread_Manager/Reference/reference.html#//apple_ref/c/func/
> GetCurrentThread
I don't doubt that, as they don't sound like Cocoa functions.
> The proof by induction about why GetCurrentThread could fail as well,
> is left as an exercise for the reader :-)
Bad luck you mentioned this to a student doing lots of proofs by
induction in his lectures... ;-) Proof by induction is only valid on
an inductive set, which are defined to include the element 1 and for
each element a an element a+1 ... I don't see how this would apply to
symbolic export names which are more like |F2^n. Anyway, this depends
highly on the precondition of whether the underlying linker emits
warnings for each conflicting symbol or only for one. In the latter
case it is possible. ;-)
With dozens of warnings emitted by Xcode at times I figured I should
get a complete list of conflicting symbols just as in the case of
missing glibconfig.h include file etc. Might've been wrong there.
> As suggested by bug #77324 (2006-03-10 16:38), you could try to
> reference the Mono framework before Carbon:
>
> gcc foo.c -framework Mono -framework Carbon -o ...
>
>
I don't reference Carbon directly at all, I've added an explicit -
framework Mono flag before -framework Foundation and reordered the
frameworks, no change.
If it were a question of link order, then shouldn't it fail on ppc, too?
Anyway, I can't recompile my host application, which might or might
not be using certain Carbon functions before loading my code
dynamically... (which as a Universal binary it should do consistently
on both platforms, no?)
Is the -undefined dynamic_lookup the problem, can it be replaced by
something better? I needed it to get past the _environ symbol error I
mentioned earlier.
Andreas
From andreas.faerber at web.de Tue Oct 10 12:00:52 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Tue, 10 Oct 2006 18:00:52 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To: <1160435515.4966.12.camel@erandi.dom>
References:
<1160435515.4966.12.camel@erandi.dom>
Message-ID:
Hi Miguel,
>> When embedding Mono 1.1.17.1 on OS X i386, I get an assertion failure
>> in mono_jit_init:
>> ** ERROR **: file threads.c: line 420 (mono_thread_attach): assertion
>> failed: (thread_handle)
>> aborting...
>> It goes on to mention SIGABRT and includes an empty stacktrace.
>>
>> The same code, compiled against the corresponding ppc Mono.framework,
>> works great on PPC. I've looked at the beforementioned source file in
>> SVN head and found no clue.
>
> Is this thread registered with Mono? Mono requires that all threads
> that will have access to Mono are registered with the GC.
The thread is the thread that I am being called on and am
subsequently attempting to initialize the JIT on, so it was not
registered with Mono before.
However, earlier this year we talked about a bug I reported (http://
bugzilla.ximian.com/show_bug.cgi?id=77354 - comments in #77638),
which to my understanding led to the change of native threads being
automatically registered with the Mono runtime, making my Cocoa based
applications happy since 1.1.17 or .16.
Andreas
From enzo.arlati at libero.it Mon Oct 9 16:00:00 2006
From: enzo.arlati at libero.it (enzo)
Date: Mon, 09 Oct 2006 22:00:00 +0200
Subject: [Mono-list] monodevelop on FC5 doesn't find assembly gtk-sharp]
Message-ID: <452AAA40.3030608@libero.it>
Altough my question is about monodevelop, I post the question also on
this mono list, because I suppose the problem I got is somewhere due to
configuration problem.
I' m a newby on mono and I tried to install monodevelop to ease the
learning process but I think there is something wrong inside the
configuration, mybe there should be some old assembly somewhere, which I
should not be able to find.
I'm trying to use monodevelop 0.12 on FC5 .
The installation where performed using yum, all dependencies are
resolved properly but when I run monodevelop I got this error:
enzo at enzo5 tmp]$ monodevelop
** (./MonoDevelop.exe:5401): WARNING **: The following assembly
referenced from /usr/lib/monodevelop/bin/gnome-sharp.dll could not be
loaded:
Assembly: gtk-sharp (assemblyref_index=2)
Version: 2.0.0.0
Public Key: 35e10195dab3c99f
The assembly was not found in the Global Assembly Cache, a path listed
in the MONO_PATH environment variable, or in the location of the
executing assembly (/usr/lib/monodevelop/bin).
** (./MonoDevelop.exe:5401): WARNING **: Could not load file or assembly
'gtk-sharp, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f' or one of its dependencies.
2006-10-06 22:33:00,418 [-1209149760] ERROR
MonoDevelop.Core.ILoggingService [(null)] - Add-in failed to load:
MonoDevelop.Core.Gui
2006-10-06 22:33:00,477 [-1209149760] ERROR
MonoDevelop.Core.ILoggingService [(null)] -
System.Reflection.ReflectionTypeLoadException: The classes in the module
cannot be loaded.
at <0x00000>
at (wrapper managed-to-native) System.Reflection.Assembly:GetTypes (bool)
at System.Reflection.Assembly.GetTypes () [0x00000]
at MonoDevelop.Core.AddIns.DefaultAddInTree.LoadCodonsAndConditions
(System.Reflection.Assembly assembly) [0x00000]
.........................
the libraries gtk-sharp and gnome-sharp , which seems to cause the
problem are installed in GAC, tough I have revisions 1.0 and 2.8 while
monodevelop seems to require the revision 2.0.
[enzo at enzo5 varie]$ gacutil -l | grep -i gtk-sharp
gtk-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
gtk-sharp, Version=2.8.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
[enzo at enzo5 varie]$ gacutil -l | grep -i gnome-sharp
gnome-sharp, Version=1.0.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
gnome-sharp, Version=2.8.0.0, Culture=neutral,
PublicKeyToken=35e10195dab3c99f
Does someone give me more hints on how to solve or better investigate on
such problem ?
Regards, Enzo
============================================================================
REPLY TO: perl -e 'print qq^VVCWCQJUVD00YQVWKVBPG^^qq^3898m08970Yp584299l93^ '
SKYPE username: earlati
============================================================================
trusted computing, who is it ? --> http://www.p2pforum.it/counter/click.php?id=21
============================================================================
From andriy.tkach at stu-electronics.com Wed Oct 11 06:07:45 2006
From: andriy.tkach at stu-electronics.com (Andrey Tkach)
Date: Wed, 11 Oct 2006 13:07:45 +0300
Subject: [Mono-list] web + remoting while load testing causes
mod_mono_server crash
Message-ID: <000001c6ed1d$19469b50$3c6ea8c0@stu.km>
Hi,
Testing our ported to mono application that uses mono web + remoting, I
discovered next trouble:
While flooding the application with requests mod-mono-server stops
responding very soon. The same application works well under much more
massive load on windows/.net without any problems.
I've reported this as a bug:
http://bugzilla.ximian.com/show_bug.cgi?id=79642
In this bug you can see more detailed description with attached code &
screenshots.
Does anyone else faced with this stuff too?
--
Sincerely yours,
Andriy Tkach
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061011/05a80fde/attachment-0001.html
From robertj at gmx.net Wed Oct 11 06:32:21 2006
From: robertj at gmx.net (Robert Jordan)
Date: Wed, 11 Oct 2006 12:32:21 +0200
Subject: [Mono-list] web + remoting while load testing causes
mod_mono_server crash
In-Reply-To: <000001c6ed1d$19469b50$3c6ea8c0@stu.km>
References: <000001c6ed1d$19469b50$3c6ea8c0@stu.km>
Message-ID:
Andrey Tkach wrote:
> Hi,
>
> Testing our ported to mono application that uses mono web + remoting, I
> discovered next trouble:
>
> While flooding the application with requests mod-mono-server stops
> responding very soon. The same application works well under much more
> massive load on windows/.net without any problems.
> I've reported this as a bug:
> http://bugzilla.ximian.com/show_bug.cgi?id=79642
>
> In this bug you can see more detailed description with attached code &
> screenshots.
>
> Does anyone else faced with this stuff too?
What happens if you run the tests on XSP standalone?
Do you encounter the same problems?
Robert
From andriy.tkach at stu-electronics.com Wed Oct 11 09:13:08 2006
From: andriy.tkach at stu-electronics.com (Andrey Tkach)
Date: Wed, 11 Oct 2006 16:13:08 +0300
Subject: [Mono-list] FW: web + remoting while load testing
causesmod_mono_server crash
Message-ID: <001901c6ed36$ff082aa0$3c6ea8c0@stu.km>
Hi,
Just checked, my test application on standalone XSP works well. Graph is
no as smooth as in Win2003, XSP consumes more CPU, but no lost requests
were registered.
See MS ACT screenshot.
http://bugzilla.ximian.com/showattachment.cgi?attach_id=17834
Sincerely yours,
Andriy Tkach
> -----Original Message-----
> From: mono-list-bounces at lists.ximian.com [mailto:mono-list-
> bounces at lists.ximian.com] On Behalf Of Robert Jordan
> Sent: Wednesday, October 11, 2006 1:32 PM
> To: Mono-list at lists.ximian.com
> Subject: Re: [Mono-list] web + remoting while load testing
> causesmod_mono_server crash
>
> Andrey Tkach wrote:
> > Hi,
> >
> > Testing our ported to mono application that uses mono web +
remoting, I
> > discovered next trouble:
> >
> > While flooding the application with requests mod-mono-server stops
> > responding very soon. The same application works well under much
more
> > massive load on windows/.net without any problems.
> > I've reported this as a bug:
> > http://bugzilla.ximian.com/show_bug.cgi?id=79642
> >
> > In this bug you can see more detailed description with attached code
&
> > screenshots.
> >
> > Does anyone else faced with this stuff too?
>
> What happens if you run the tests on XSP standalone?
> Do you encounter the same problems?
>
> Robert
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
From alp at atoker.com Wed Oct 11 10:07:30 2006
From: alp at atoker.com (Alp Toker)
Date: Wed, 11 Oct 2006 15:07:30 +0100
Subject: [Mono-list] [Fwd: Managed D-Bus 0.1: An alternative D-Bus
implementation]
Message-ID: <452CFAA2.8090308@atoker.com>
Thought this might be relevant to mono-list too.
-------------- next part --------------
An embedded message was scrubbed...
From: Alp Toker
Subject: Managed D-Bus 0.1: An alternative D-Bus implementation
Date: Wed, 11 Oct 2006 14:01:40 +0100
Size: 7096
Url: http://lists.ximian.com/pipermail/mono-list/attachments/20061011/f8bafef7/attachment.mht
From russell.kay at realtimeworlds.com Wed Oct 11 13:05:13 2006
From: russell.kay at realtimeworlds.com (russell.kay at realtimeworlds.com)
Date: Wed, 11 Oct 2006 18:05:13 +0100
Subject: [Mono-list] ExecuteReader problem
Message-ID: <591BEE7C98CA7F48A7079C8221CC012F013E32B8@CHICAGO.dundee.realtimeworlds.com>
All,
I'm trying out ODBC on MAC OSX and I'm getting an exception every time I
try to do an ExecuteReader call
The exception output is....
Unhandled Exception: System.ArgumentOutOfRangeException: ArgRange_Array
Parameter name: count
at System.Text.ASCIIEncoding.GetString (System.Byte[] bytes, Int32
index, Int32 count) [0x00000]
at System.Data.Odbc.OdbcDataReader.GetColumnAttributeStr (Int32
column, FieldIdentifier fieldId) [0x00000]
at System.Data.Odbc.OdbcDataReader.GetSchemaTable () [0x00000]
at System.Data.Odbc.OdbcDataReader..ctor (System.Data.Odbc.OdbcCommand
command, CommandBehavior behavior) [0x00000]
at System.Data.Odbc.OdbcDataReader..ctor (System.Data.Odbc.OdbcCommand
command, CommandBehavior behavior, Int32 recordAffected) [0x00000]
at (wrapper remoting-invoke-with-check)
System.Data.Odbc.OdbcDataReader:.ctor
(System.Data.Odbc.OdbcCommand,System.Data.CommandBehavior,int)
at System.Data.Odbc.OdbcCommand.ExecuteReader (CommandBehavior
behavior) [0x00000]
at System.Data.Odbc.OdbcCommand.ExecuteDbDataReader (CommandBehavior
behavior) [0x00000]
at System.Data.Common.DbCommand.ExecuteReader () [0x00000]
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader
() [0x00000]
at DatabaseTest.Program.Main (System.String[] args) [0x00000]
The code I am executing is
class Program
{
static void Main(string[] args)
{
//connect to the database at
//IDbConnection conn = new OdbcConnection(
"DSN=RealTrading;USER=root;PASSWORD=root;" );
IDbConnection conn = new OdbcConnection("DRIVER={MySQL ODBC
3.51
Driver};SERVER=;DATABASE=;USER=;PASSWORD
=;OPTION=3;");
Console.WriteLine("Connecting to database....");
conn.Open();
Stopwatch sw = new Stopwatch();
IDbCommand dbcmd = conn.CreateCommand();
dbcmd.CommandText = "SELECT * FROM table WHERE NumLines>10";
Console.WriteLine( "Executing SQL" );
sw.Start();
IDataReader reader = dbcmd.ExecuteReader();
sw.Stop();
Console.WriteLine("Elapsed Time = {0}", sw.Elapsed);
int n = 0;
while( reader.Read() && (n<20) ) {
Console.WriteLine( "Sector {0} TOID {1} NumLines {2}
Date {3}", reader["Sector"], reader["TOID"], reader["NumLines"],
reader["Date"] );
++n;
} // end while
reader.Close();
reader = null;
dbcmd.Dispose();
dbcmd = null;
conn.Close();
conn = null;
}
}
Any Ideas????
Russell
From andreas.faerber at web.de Wed Oct 11 17:49:50 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Wed, 11 Oct 2006 23:49:50 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To: <1160435515.4966.12.camel@erandi.dom>
References:
<1160435515.4966.12.camel@erandi.dom>
Message-ID: <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de>
Hey,
>> When embedding Mono 1.1.17.1 on OS X i386, I get an assertion failure
>> in mono_jit_init:
>> ** ERROR **: file threads.c: line 420 (mono_thread_attach): assertion
>> failed: (thread_handle)
>> aborting...
>> It goes on to mention SIGABRT and includes an empty stacktrace.
>>
>> The same code, compiled against the corresponding ppc Mono.framework,
>> works great on PPC. I've looked at the beforementioned source file in
>> SVN head and found no clue.
>
> Is this thread registered with Mono? Mono requires that all threads
> that will have access to Mono are registered with the GC.
I've re-read the mini.c and threads.c source - the failing assertion
is directly after a call to GetCurrentThread() inside
mono_thread_attach (which is being called as the last step of
mini_init and mono_jit_init). Still it works on ppc, which puzzles me.
What do you propose me to do about the issue?
A colleague of mine, long-time Mac user, has just discovered the
pleasures of "Microsoft-created" C# and the Mono runtime - based on
this I believe a "cute" graphical integration of Mono with Xcode as
the standard IDE would be beneficial for the developer outreach of
Mono on that platform, and if staff uses it at our university this
may well lead to students getting to know C# and Mono in addition to
the unfortunately wide-spread and dominant Java. From the available
non-official Xcode documentation and some managed Objective-C
reflection code of my own I've discovered a way of writing a bundle
where the only native code is the execution of an assembly included
within the bundle; the managed code in turn uses my Cocoa bridge to
provide the classes doing the actual work, accessing Mono's rich
libraries and avoiding the need to re-write such code in Objective-C.
It is my assumption that if we resolve this embedding issue then not
only Xcode plugins but also widgets and other non-application parts
of OS X can be written using managed code!
So, should I try to prepare a patch for the runtime with the renaming
Paolo proposed in #77324 as a solution? Or could it be related to the
non-specified x86 thread attaching issues mentioned by Paolo in #77638?
So far I have only tried to compile Mono under Cygwin on Windows,
where I had instructions from the Wiki, including specific
instructions and a script for the dependencies; if anyone would tell
me how to go about it on OS X without ruining my existing Mono
installation I'd be willing to give it a try.
Andreas
From miguel at ximian.com Wed Oct 11 17:54:01 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Wed, 11 Oct 2006 17:54:01 -0400
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To: <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de>
References:
<1160435515.4966.12.camel@erandi.dom>
<4601115D-3A39-442B-9A7C-1E2D89E26740@web.de>
Message-ID: <1160603641.4828.51.camel@erandi.dom>
Hello,
> So, should I try to prepare a patch for the runtime with the renaming
> Paolo proposed in #77324 as a solution? Or could it be related to the
> non-specified x86 thread attaching issues mentioned by Paolo in #77638?
One thing that I would like to check with Dick about his personal
preference on how to go around this.
One option is to introduce something like:
#define OpenFile __mono_OpenFile
And include this in all of Mono, but this has the disadvantage that we
would be looking at a method called "OpenFile" and not be able to set a
breakpoint ("is this broken?")
Another option is to replace all the call sites with monoOpenFile for
example as well as all the function definitions and provide a define
only on Windows to map to the real names. This is uglier and lengthier
in the source code, but it would not have any hidden surprises.
Another option is to only do the above hacks with the two conflicting
routines.
Miguel.
From alesv at fbl.cz Wed Oct 11 18:00:05 2006
From: alesv at fbl.cz (Ales Vojacek)
Date: Thu, 12 Oct 2006 00:00:05 +0200
Subject: [Mono-list] XMPP protokol
Message-ID: <452D6965.9090901@fbl.cz>
Hi all,
is there some live project which implements XMPP protocol for mono.
Regards Ales
From alesv at fbl.cz Wed Oct 11 18:04:02 2006
From: alesv at fbl.cz (Ales Vojacek)
Date: Thu, 12 Oct 2006 00:04:02 +0200
Subject: [Mono-list] XMPP protocol
Message-ID: <452D6A52.9060004@fbl.cz>
Hi all,
is there some live project which implements XMPP protocol for mono.
Regards Ales
From alesv at fbl.cz Wed Oct 11 18:24:20 2006
From: alesv at fbl.cz (Ales Vojacek)
Date: Thu, 12 Oct 2006 00:24:20 +0200
Subject: [Mono-list] XMPP protocol
In-Reply-To: <452D6A52.9060004@fbl.cz>
References: <452D6A52.9060004@fbl.cz>
Message-ID: <452D6F14.9060602@fbl.cz>
Bu it seem to be dead project there are no changes for a long time.
Regards Ales
Ales Vojacek wrote:
> Hi all,
> is there some live project which implements XMPP protocol for mono.
> Regards Ales
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
From antonello at deveel.com Wed Oct 11 18:27:05 2006
From: antonello at deveel.com (Antonello Provenzano)
Date: Thu, 12 Oct 2006 00:27:05 +0200
Subject: [Mono-list] XMPP protocol
In-Reply-To: <452D6F14.9060602@fbl.cz>
References: <452D6A52.9060004@fbl.cz> <452D6F14.9060602@fbl.cz>
Message-ID:
For what I know is the only Jabber project supporting .NET and Mono
around, although it is inactive.
On 10/12/06, Ales Vojacek wrote:
> Bu it seem to be dead project there are no changes for a long time.
> Regards Ales
>
> Ales Vojacek wrote:
> > Hi all,
> > is there some live project which implements XMPP protocol for mono.
> > Regards Ales
> > _______________________________________________
> > Mono-list maillist - Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
From doza at sztorm.net Wed Oct 11 18:27:13 2006
From: doza at sztorm.net (Dominik Zablotny)
Date: Thu, 12 Oct 2006 00:27:13 +0200
Subject: [Mono-list] XMPP protocol
In-Reply-To: <452D6A52.9060004@fbl.cz>
References: <452D6A52.9060004@fbl.cz>
Message-ID: <1160605633.13141.2.camel@doza-desktop>
Dnia 12-10-2006, czw o godzinie 00:04 +0200, Ales Vojacek napisa?:
> Hi all,
> is there some live project which implements XMPP protocol for mono.
Ahoj!
Depends on what you mean by live ;) I'm maintaining simple library
Piorun.Xmpp, but not much developed recently - http://piorun.sztorm.net
--
Dominik Zablotny
xmpp:doza at sztorm.net
From antonello at deveel.com Wed Oct 11 18:31:34 2006
From: antonello at deveel.com (Antonello Provenzano)
Date: Thu, 12 Oct 2006 00:31:34 +0200
Subject: [Mono-list] XMPP protocol
In-Reply-To: <452D6F14.9060602@fbl.cz>
References: <452D6A52.9060004@fbl.cz> <452D6F14.9060602@fbl.cz>
Message-ID:
For what I know is the only Jabber project supporting .NET and Mono
around, although it is inactive.
Cheers
On 10/12/06, Ales Vojacek wrote:
> Bu it seem to be dead project there are no changes for a long time.
> Regards Ales
>
> Ales Vojacek wrote:
> > Hi all,
> > is there some live project which implements XMPP protocol for mono.
> > Regards Ales
> > _______________________________________________
> > Mono-list maillist - Mono-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/mono-list
> >
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
From lee at datatrakpos.com Wed Oct 11 18:55:43 2006
From: lee at datatrakpos.com (Lee)
Date: Wed, 11 Oct 2006 18:55:43 -0400
Subject: [Mono-list] ASP.NET 2.0 as binaries?
Message-ID: <20061011225548.HHFD17329.ibm64aec.bellsouth.net@YOUR588B4A13EA>
Hi all,
I am about to start a asp.net 2.0 project and I was wondering if mono
supports delivering websites as binary assemblies instead of distributing
the actual .aspx files with code behind?
I'm asking because this is a commercial application and I would like to use
obfustication with it.
There will not be that many concurrent users (20 or less at peak) so I was
thinking about using XSP.
Thanks for any suggestions or guidance.
---
Lee
From gstark at electrorent.com Wed Oct 11 20:21:55 2006
From: gstark at electrorent.com (Greg Stark)
Date: Wed, 11 Oct 2006 17:21:55 -0700
Subject: [Mono-list] DNN for Mono
Message-ID: <004401c6ed94$6fb910e0$8506800a@cp1.electrorent.com>
I am aware of the mojoPortal project. Has anyone gotten DNN 4 to run?
Greg
From miguel at ximian.com Wed Oct 11 22:28:29 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Wed, 11 Oct 2006 22:28:29 -0400
Subject: [Mono-list] ASP.NET 2.0 as binaries?
In-Reply-To: <20061011225548.HHFD17329.ibm64aec.bellsouth.net@YOUR588B4A13EA>
References: <20061011225548.HHFD17329.ibm64aec.bellsouth.net@YOUR588B4A13EA>
Message-ID: <1160620109.27491.2.camel@erandi.dom>
> I am about to start a asp.net 2.0 project and I was wondering if mono
> supports delivering websites as binary assemblies instead of distributing
> the actual .aspx files with code behind?
This is a 2.0 feature and it is still an area we are working on, its not
done yet.
Miguel
From massi at ximian.com Thu Oct 12 02:03:16 2006
From: massi at ximian.com (Massimiliano Mantione)
Date: Thu, 12 Oct 2006 08:03:16 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To: <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de>
References:
<1160435515.4966.12.camel@erandi.dom>
<4601115D-3A39-442B-9A7C-1E2D89E26740@web.de>
Message-ID: <1160632996.4102.18.camel@matrix.ximian.com>
On Wed, 2006-10-11 at 23:49 +0200, Andreas F?rber wrote:
> So far I have only tried to compile Mono under Cygwin on Windows,
> where I had instructions from the Wiki, including specific
> instructions and a script for the dependencies; if anyone would tell
> me how to go about it on OS X without ruining my existing Mono
> installation I'd be willing to give it a try.
I have never used OS X, but the standard way of hacking Mono without
touching the official Mono installation is choosing a custom prefix.
I mean, you download the sources, and when running ./configure (or
./autogen.sh if you work from svn) specify the --prefix option.
The choice of prefix is arbitrary, as long as it does not overlap
the officially installed one. I prefer working with prefixes on my
own home (like "/home/massi/mono") so I never need root permissions
to install the custom mono, and therefore I have no chances to mess
things up.
Then, to use your custom Mono, set the following:
export PATH=$PREFIX/bin:$PATH
export LD_LIBRARY_PATH=$PREFIX/lib:$LD_LIBRARY_PATH
export PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
The "PKG_CONFIG_PATH" thing is needed so that if you compile other
libraries/applications, their configure stage will see the new Mono
instead of the system provided one.
The idea is: if you run those three commands, you live in a world
where Mono is your hacked one, otherwise you live in the "default"
world.
Hope this helps,
Massi
From andreas.faerber at web.de Thu Oct 12 07:13:12 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Thu, 12 Oct 2006 13:13:12 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To: <1160632996.4102.18.camel@matrix.ximian.com>
References:
<1160435515.4966.12.camel@erandi.dom>
<4601115D-3A39-442B-9A7C-1E2D89E26740@web.de>
<1160632996.4102.18.camel@matrix.ximian.com>
Message-ID: <88CC9C0A-3F82-4DC6-B493-9E99ABD61D11@web.de>
Am 12.10.2006 um 08:03 schrieb Massimiliano Mantione:
>
> On Wed, 2006-10-11 at 23:49 +0200, Andreas F?rber wrote:
>> So far I have only tried to compile Mono under Cygwin on Windows,
>> where I had instructions from the Wiki, including specific
>> instructions and a script for the dependencies; if anyone would tell
>> me how to go about it on OS X without ruining my existing Mono
>> installation I'd be willing to give it a try.
>
> I have never used OS X, but the standard way of hacking Mono without
> touching the official Mono installation is choosing a custom prefix.
>
> I mean, you download the sources, and when running ./configure (or
> ./autogen.sh if you work from svn) specify the --prefix option.
> The choice of prefix is arbitrary, as long as it does not overlap
> the officially installed one. I prefer working with prefixes on my
> own home (like "/home/massi/mono") so I never need root permissions
> to install the custom mono, and therefore I have no chances to mess
> things up.
That's a great hint! Using a user-specific prefix it won't be able to
access /usr/bin.
What about Mono's dependencies? Is it sufficient to have Mono
installed, or do I need additional glib and pkg-config stuff? Any
other command line arguments or environment variables necessary for
it to find the headers and libraries?
Andreas
From robertj at gmx.net Thu Oct 12 07:32:19 2006
From: robertj at gmx.net (Robert Jordan)
Date: Thu, 12 Oct 2006 13:32:19 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To: <88CC9C0A-3F82-4DC6-B493-9E99ABD61D11@web.de>
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160632996.4102.18.camel@matrix.ximian.com>
<88CC9C0A-3F82-4DC6-B493-9E99ABD61D11@web.de>
Message-ID:
Andreas F?rber wrote:
> Am 12.10.2006 um 08:03 schrieb Massimiliano Mantione:
>
>> On Wed, 2006-10-11 at 23:49 +0200, Andreas F?rber wrote:
>>> So far I have only tried to compile Mono under Cygwin on Windows,
>>> where I had instructions from the Wiki, including specific
>>> instructions and a script for the dependencies; if anyone would tell
>>> me how to go about it on OS X without ruining my existing Mono
>>> installation I'd be willing to give it a try.
>> I have never used OS X, but the standard way of hacking Mono without
>> touching the official Mono installation is choosing a custom prefix.
>>
>> I mean, you download the sources, and when running ./configure (or
>> ./autogen.sh if you work from svn) specify the --prefix option.
>> The choice of prefix is arbitrary, as long as it does not overlap
>> the officially installed one. I prefer working with prefixes on my
>> own home (like "/home/massi/mono") so I never need root permissions
>> to install the custom mono, and therefore I have no chances to mess
>> things up.
>
> That's a great hint! Using a user-specific prefix it won't be able to
> access /usr/bin.
>
> What about Mono's dependencies? Is it sufficient to have Mono
> installed, or do I need additional glib and pkg-config stuff? Any
> other command line arguments or environment variables necessary for
> it to find the headers and libraries?
Supposing your new Mono prefix will be ~/mono:
mkdir ~/mono
cp -rp /Library/Frameworks/Mono.framework/Libraries ~/mono/lib
After that adjust the "prefix" entry of all ~/mono/lib/pkgconfig/*.pc
files and configure the Mono sources you (optimally) got from SVN with:
PKG_CONFIG_PATH=~/mono/lib/pkgconfig ./configure --prefix=~/mono
Robert
From andreas.faerber at web.de Thu Oct 12 08:11:28 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Thu, 12 Oct 2006 14:11:28 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To:
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160632996.4102.18.camel@matrix.ximian.com>
<88CC9C0A-3F82-4DC6-B493-9E99ABD61D11@web.de>
Message-ID:
Am 12.10.2006 um 13:32 schrieb Robert Jordan:
> Supposing your new Mono prefix will be ~/mono:
>
> mkdir ~/mono
> cp -rp /Library/Frameworks/Mono.framework/Libraries ~/mono/lib
>
> After that adjust the "prefix" entry of all ~/mono/lib/pkgconfig/*.pc
> files and configure the Mono sources you (optimally) got from SVN
> with:
>
> PKG_CONFIG_PATH=~/mono/lib/pkgconfig ./configure --prefix=~/mono
Thanks. When I do
PKG_CONFIG_PATH=... ./autogen.sh --prefix=...
I get:
...
checking for pkg-config... /usr/bin/pkg-config
./configure: line 22241: syntax error near unexpected token
`BASE_DEPENDENCIES,'
./configure: line 22241: ` PKG_CHECK_MODULES(BASE_DEPENDENCIES,
glib-2.0 >= $GLIB_REQUIRED_VERSION)'
Prefix has been set in all .pc files as instructed, including
glib-2.0.pc.
I'm at revision 66592.
Andreas
From robertj at gmx.net Thu Oct 12 08:34:49 2006
From: robertj at gmx.net (Robert Jordan)
Date: Thu, 12 Oct 2006 14:34:49 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To:
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160632996.4102.18.camel@matrix.ximian.com> <88CC9C0A-3F82-4DC6-B493-9E99ABD61D11@web.de>
Message-ID:
Andreas F?rber wrote:
> Am 12.10.2006 um 13:32 schrieb Robert Jordan:
>
>> Supposing your new Mono prefix will be ~/mono:
>>
>> mkdir ~/mono
>> cp -rp /Library/Frameworks/Mono.framework/Libraries ~/mono/lib
>>
>> After that adjust the "prefix" entry of all ~/mono/lib/pkgconfig/*.pc
>> files and configure the Mono sources you (optimally) got from SVN
>> with:
>>
>> PKG_CONFIG_PATH=~/mono/lib/pkgconfig ./configure --prefix=~/mono
>
> Thanks. When I do
> PKG_CONFIG_PATH=... ./autogen.sh --prefix=...
> I get:
> ...
> checking for pkg-config... /usr/bin/pkg-config
> ./configure: line 22241: syntax error near unexpected token
> `BASE_DEPENDENCIES,'
> ./configure: line 22241: ` PKG_CHECK_MODULES(BASE_DEPENDENCIES,
> glib-2.0 >= $GLIB_REQUIRED_VERSION)'
>
> Prefix has been set in all .pc files as instructed, including
> glib-2.0.pc.
> I'm at revision 66592.
What's the output of this line?
PKG_CONFIG_PATH=~/mono/lib/pkgconfig pkg-config --libs glib-2.0
Robert
From andreas.faerber at web.de Thu Oct 12 08:44:36 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Thu, 12 Oct 2006 14:44:36 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To:
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160632996.4102.18.camel@matrix.ximian.com> <88CC9C0A-3F82-4DC6-B493-9E99ABD61D11@web.de>
Message-ID: <280AA5D1-9A55-4F4E-AF5B-1A5EFD53AE3F@web.de>
Am 12.10.2006 um 14:34 schrieb Robert Jordan:
>> When I do
>> PKG_CONFIG_PATH=... ./autogen.sh --prefix=...
>> I get:
>> ...
>> checking for pkg-config... /usr/bin/pkg-config
>> ./configure: line 22241: syntax error near unexpected token
>> `BASE_DEPENDENCIES,'
>> ./configure: line 22241: ` PKG_CHECK_MODULES(BASE_DEPENDENCIES,
>> glib-2.0 >= $GLIB_REQUIRED_VERSION)'
>>
>> Prefix has been set in all .pc files as instructed, including
>> glib-2.0.pc.
>> I'm at revision 66592.
>
> What's the output of this line?
>
> PKG_CONFIG_PATH=~/mono/lib/pkgconfig pkg-config --libs glib-2.0
-L/Users/andreas/Mono/latest/lib -lglib-2.0 -lintl -liconv
Andreas
From robertj at gmx.net Thu Oct 12 09:40:40 2006
From: robertj at gmx.net (Robert Jordan)
Date: Thu, 12 Oct 2006 15:40:40 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To: <280AA5D1-9A55-4F4E-AF5B-1A5EFD53AE3F@web.de>
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160632996.4102.18.camel@matrix.ximian.com> <88CC9C0A-3F82-4DC6-B493-9E99ABD61D11@web.de>
<280AA5D1-9A55-4F4E-AF5B-1A5EFD53AE3F@web.de>
Message-ID:
Andreas F?rber wrote:
> Am 12.10.2006 um 14:34 schrieb Robert Jordan:
>
>>> When I do
>>> PKG_CONFIG_PATH=... ./autogen.sh --prefix=...
>>> I get:
>>> ...
>>> checking for pkg-config... /usr/bin/pkg-config
>>> ./configure: line 22241: syntax error near unexpected token
>>> `BASE_DEPENDENCIES,'
>>> ./configure: line 22241: ` PKG_CHECK_MODULES(BASE_DEPENDENCIES,
>>> glib-2.0 >= $GLIB_REQUIRED_VERSION)'
>>>
>>> Prefix has been set in all .pc files as instructed, including
>>> glib-2.0.pc.
>>> I'm at revision 66592.
>> What's the output of this line?
>>
>> PKG_CONFIG_PATH=~/mono/lib/pkgconfig pkg-config --libs glib-2.0
>
> -L/Users/andreas/Mono/latest/lib -lglib-2.0 -lintl -liconv
It seems to be an autotools problem. I don't know how to proceed
from here. Plan B would be: delete ~/mono/lib and configure
using the settings of the official Mono version:
PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Libraries/pkgconfig
./autogen.sh --prefix=...
Robert
From dick at ximian.com Thu Oct 12 10:14:45 2006
From: dick at ximian.com (Dick Porter)
Date: Thu, 12 Oct 2006 15:14:45 +0100
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To: <1160603641.4828.51.camel@erandi.dom>
References:
<1160435515.4966.12.camel@erandi.dom>
<4601115D-3A39-442B-9A7C-1E2D89E26740@web.de>
<1160603641.4828.51.camel@erandi.dom>
Message-ID: <1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk>
On Wed, 2006-10-11 at 17:54 -0400, Miguel de Icaza wrote:
> Hello,
>
> > So, should I try to prepare a patch for the runtime with the renaming
> > Paolo proposed in #77324 as a solution? Or could it be related to the
> > non-specified x86 thread attaching issues mentioned by Paolo in #77638?
>
> One thing that I would like to check with Dick about his personal
> preference on how to go around this.
I'd rather limit any renaming to the specific platform that requires it.
In bug 77324 it's mentioned that we don't use a linker script on macosx;
that should be the first part to be fixed imho.
- Dick
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20061012/be3709e5/attachment.bin
From massi at ximian.com Thu Oct 12 10:33:21 2006
From: massi at ximian.com (Massimiliano Mantione)
Date: Thu, 12 Oct 2006 16:33:21 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To: <88CC9C0A-3F82-4DC6-B493-9E99ABD61D11@web.de>
References:
<1160435515.4966.12.camel@erandi.dom>
<4601115D-3A39-442B-9A7C-1E2D89E26740@web.de>
<1160632996.4102.18.camel@matrix.ximian.com>
<88CC9C0A-3F82-4DC6-B493-9E99ABD61D11@web.de>
Message-ID: <1160663601.4086.18.camel@matrix.ximian.com>
On Thu, 2006-10-12 at 13:13 +0200, Andreas F?rber wrote:
> That's a great hint! Using a user-specific prefix it won't be able to
> access /usr/bin.
You meant "damage": it can _access_ /usr just fine, and it will happily
use the libraries under /usr/lib...
> What about Mono's dependencies? Is it sufficient to have Mono
> installed, or do I need additional glib and pkg-config stuff? Any
> other command line arguments or environment variables necessary for
> it to find the headers and libraries?
...and this is why you do not need to duplicate the dependencies.
Your new Mono will use your existing glib and pkg-config.
However, I strongly suggest you to update all the three env vars
(PATH, LD_LIBRARY_PATH and PKG_CONFIG_PATH) when you use your own
custom Mono, as I described in the previous message.
In particular, setting PKG_CONFIG_PATH will allow other components
that need Mono to be built against the custom one.
For instance, if you need gtk-sharp, you should rebuild it (and
reinstall it) using the custom prefix, and in an environment with
the three paths updated.
This will still use the "standard" gtk+ libraries in your system
(as "standard" as gtk+ can be on OS X, but you get the idea), but
the Mono assemblies will be built with the new Mono, and installed
in its GAC in the custom prefix, so that every app using the custom
Mono will find them.
This (correctly installing in the custom prefix) should be done for
each assembly/library/component you need that _depends_ on Mono.
The three env vars make sure that the custom paths have precedence
over the standard ones.
I hope I clarified how the system should work...
Ciao,
Massi
From andreas.faerber at web.de Thu Oct 12 16:15:57 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Thu, 12 Oct 2006 22:15:57 +0200
Subject: [Mono-list] Mono embedding issue
In-Reply-To:
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160632996.4102.18.camel@matrix.ximian.com> <88CC9C0A-3F82-4DC6-B493-9E99ABD61D11@web.de>
<280AA5D1-9A55-4F4E-AF5B-1A5EFD53AE3F@web.de>
Message-ID:
Am 12.10.2006 um 15:40 schrieb Robert Jordan:
> Andreas F?rber wrote:
>> Am 12.10.2006 um 14:34 schrieb Robert Jordan:
>>
>>>> When I do
>>>> PKG_CONFIG_PATH=... ./autogen.sh --prefix=...
>>>> I get:
>>>> ...
>>>> checking for pkg-config... /usr/bin/pkg-config
>>>> ./configure: line 22241: syntax error near unexpected token
>>>> `BASE_DEPENDENCIES,'
>>>> ./configure: line 22241: ` PKG_CHECK_MODULES(BASE_DEPENDENCIES,
>>>> glib-2.0 >= $GLIB_REQUIRED_VERSION)'
>>>>
>>>> Prefix has been set in all .pc files as instructed, including
>>>> glib-2.0.pc.
>>>> I'm at revision 66592.
>>> What's the output of this line?
>>>
>>> PKG_CONFIG_PATH=~/mono/lib/pkgconfig pkg-config --libs glib-2.0
>>
>> -L/Users/andreas/Mono/latest/lib -lglib-2.0 -lintl -liconv
>
> It seems to be an autotools problem. I don't know how to proceed
> from here. Plan B would be: delete ~/mono/lib and configure
> using the settings of the official Mono version:
>
> PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Libraries/pkgconfig
> ./autogen.sh --prefix=...
Unfortunately this fails with the same message...
pkg-config is 0.15.0
GNU autoconf 2.59
GNU automake 1.6.3
Anyway ... I have reverted to using my locally copied lib and I added
the variable ACLOCAL_FLAGS, which I remembered had been necessary for
Cocoa#, and now autogen.sh works!
It still reports a number of warnings, with autoheader complaining
about acconfig.h et al. being deprecated and at another place a net/
if.h compilation problem is asked to be reported to some list.
make fails...
gcc 4 complains about an unrecognized option -pthreads
mono-hash.c doesn't find glib.h, resulting in dozens of warnings and
errors.
I guess I'll just need to specify where to find them - how?
Andreas
From damien.churchill at ukplc.net Fri Oct 13 04:49:11 2006
From: damien.churchill at ukplc.net (Damien Churchill)
Date: Fri, 13 Oct 2006 09:49:11 +0100
Subject: [Mono-list] GridView
Message-ID:
I can't seem to add styles to a gridview control. Has anyone else had
this problem?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061013/df1347c1/attachment-0001.html
From slava at z.org.ua Fri Oct 13 10:06:51 2006
From: slava at z.org.ua (Slava Petrenko)
Date: Fri, 13 Oct 2006 17:06:51 +0300
Subject: [Mono-list] Are any implementations of IChannel available?
Message-ID: <452F9D7B.7050707@z.org.ua>
Hello!
Trying use Mono Remoting the same way as remoting for MS Framework I
have missed to find any implementations
of System.Runtime.Remoting.Channels.IChannel
Perhaps someone heard about an implementation of it or have an example
how to use remoting in Mono.
Thanks!
----------------------
Slava.
From robertj at gmx.net Fri Oct 13 10:26:36 2006
From: robertj at gmx.net (Robert Jordan)
Date: Fri, 13 Oct 2006 16:26:36 +0200
Subject: [Mono-list] Are any implementations of IChannel available?
In-Reply-To: <452F9D7B.7050707@z.org.ua>
References: <452F9D7B.7050707@z.org.ua>
Message-ID:
Slava Petrenko wrote:
> Hello!
>
> Trying use Mono Remoting the same way as remoting for MS Framework I
> have missed to find any implementations
> of System.Runtime.Remoting.Channels.IChannel
This interface is implemented since ages.
> Perhaps someone heard about an implementation of it or have an example
> how to use remoting in Mono.
Remoting is exactly implemented like in MS.NET 1.1.
Robert
From lupus at ximian.com Fri Oct 13 12:14:23 2006
From: lupus at ximian.com (Paolo Molaro)
Date: Fri, 13 Oct 2006 18:14:23 +0200
Subject: [Mono-list] [Mono-dev] Are any implementations of IChannel
available?
In-Reply-To: <452F9D7B.7050707@z.org.ua>
References: <452F9D7B.7050707@z.org.ua>
Message-ID: <20061013161423.GH17989@debian.org>
On 10/13/06 Slava Petrenko wrote:
> Trying use Mono Remoting the same way as remoting for MS Framework I
> have missed to find any implementations
> of System.Runtime.Remoting.Channels.IChannel
>
> Perhaps someone heard about an implementation of it or have an example
> how to use remoting in Mono.
Compile with:
mcs -r:System.Runtime.Remoting ...
lupus
--
-----------------------------------------------------------------
lupus at debian.org debian/rules
lupus at ximian.com Monkeys do it better
From miguel at ximian.com Fri Oct 13 12:57:39 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Fri, 13 Oct 2006 12:57:39 -0400
Subject: [Mono-list] [Mono-dev] Are any implementations of
IChannel available?
In-Reply-To: <20061013161423.GH17989@debian.org>
References: <452F9D7B.7050707@z.org.ua> <20061013161423.GH17989@debian.org>
Message-ID: <1160758659.10050.52.camel@erandi.dom>
Hello,
> > Trying use Mono Remoting the same way as remoting for MS Framework I
> > have missed to find any implementations
> > of System.Runtime.Remoting.Channels.IChannel
> >
> > Perhaps someone heard about an implementation of it or have an example
> > how to use remoting in Mono.
>
> Compile with:
>
> mcs -r:System.Runtime.Remoting ...
Or you can also use:
mcs -pkg:dotnet ...
Which brings all the default .NET assemblies to the compile line.
Miguel
From kornelpal at gmail.com Fri Oct 13 13:15:36 2006
From: kornelpal at gmail.com (=?iso-8859-1?B?S29ybulsIFDhbA==?=)
Date: Fri, 13 Oct 2006 19:15:36 +0200
Subject: [Mono-list] [Mono-dev] Are any implementations of
IChannelavailable?
References: <452F9D7B.7050707@z.org.ua>
<20061013161423.GH17989@debian.org><1160758659.10050.52.camel@erandi.dom>
Message-ID: <001301c6eeeb$37360450$0100a8c0@kornelpal.hu>
> IChannel is part of corlib, so he must be having either
> more trivial or more complex problems than referencing
> assemblies.
To ensure that nothing is wrong with compilation, compile the program using
csc.exe then try it on MS.NET and if everyting is fine after that try it on
Mono. If this solves the problem the code is compiled incorrectly with mcs
(most likely the users fault). Otherwise something is wrong with the Mono
installation.
BTW I think that it should be advertised on www.mono-project.com on some
highly visited place that Mono is able to execute binaries compiled using
MS.NET because a lot of people don't know this and the compile and eved
distribute different binaries for Mono and MS.NET altough they only differ
in the compiler used (csc or mcs).
Korn?l
From miguel at ximian.com Fri Oct 13 13:36:56 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Fri, 13 Oct 2006 13:36:56 -0400
Subject: [Mono-list] [Mono-dev] Are any implementations
of IChannelavailable?
In-Reply-To: <001301c6eeeb$37360450$0100a8c0@kornelpal.hu>
References: <452F9D7B.7050707@z.org.ua> <20061013161423.GH17989@debian.org>
<1160758659.10050.52.camel@erandi.dom>
<001301c6eeeb$37360450$0100a8c0@kornelpal.hu>
Message-ID: <1160761016.10050.60.camel@erandi.dom>
> BTW I think that it should be advertised on www.mono-project.com on some
> highly visited place that Mono is able to execute binaries compiled using
> MS.NET because a lot of people don't know this and the compile and eved
> distribute different binaries for Mono and MS.NET altough they only differ
> in the compiler used (csc or mcs).
It is right there, on the main page.
I would add a blinking banner, but I would get killed; Any artistic
ideas and logo suggestions would be fine ;-)
Miguel.
From kornelpal at gmail.com Fri Oct 13 15:20:14 2006
From: kornelpal at gmail.com (=?iso-8859-2?B?S29ybulsIFDhbA==?=)
Date: Fri, 13 Oct 2006 21:20:14 +0200
Subject: [Mono-list] [Mono-dev] Are any implementations
ofIChannelavailable?
References: <452F9D7B.7050707@z.org.ua> <20061013161423.GH17989@debian.org>
<1160758659.10050.52.camel@erandi.dom>
<001301c6eeeb$37360450$0100a8c0@kornelpal.hu>
<1160761016.10050.60.camel@erandi.dom>
Message-ID: <006c01c6eefc$a35edbf0$0100a8c0@kornelpal.hu>
>> BTW I think that it should be advertised on www.mono-project.com on some
>> highly visited place that Mono is able to execute binaries compiled using
>> MS.NET because a lot of people don't know this and the compile and eved
>> distribute different binaries for Mono and MS.NET altough they only
>> differ
>> in the compiler used (csc or mcs).
>
> It is right there, on the main page.
My bad, I never noticed that but telling the truth I read the current "What
is Mono?" section today for the first time. Maybe because I already knew
what Mono is.:)
> I would add a blinking banner, but I would get killed; Any artistic
> ideas and logo suggestions would be fine ;-)
I believe that FAQ is written for people who don't read the FAQ, and the
same seems to be true for the Main Page.:)
I think this would be more informative (some additions to the current
version):
"Mono allows your existing .NET binaries compiled on Windows to run on Linux
with copy-deployment."
People probably would notice a blinking banner but a nice green box (like in
the "Mono in the Real World" section) with bold text would be just as fine
and less intrusive for this "advertisement".
Having the same on Downloads page would increase the probability of reading
this notice.
I may be too pessimistic so the above solution is only a suggestion but as I
see most Mono users believe that they have to recompile their code using mcs
in order to function under Mono.
Korn?l
From zsolt at softmonsters.com Fri Oct 13 17:38:18 2006
From: zsolt at softmonsters.com (Zsolt Barat)
Date: Fri, 13 Oct 2006 23:38:18 +0200
Subject: [Mono-list] monapps crashing
Message-ID: <4530074A.30104@softmonsters.com>
hi list,
since im updated to gcc-4.1.1 and recompiled mono all monoapps crashing
with following backtrace (here tomboy but for f-spot it's the same):
=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Stacktrace:
at Tomboy.Application.Initialize (string,string,string,string[])
<0xffffffff>
at Tomboy.Application.Initialize (string,string,string,string[]) <0x0002d>
at Tomboy.Tomboy.Main (string[]) <0x00064>
at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[]
(object,intptr,intptr,intptr) <0xffffffff>
Native stacktrace:
mono(mono_handle_native_sigsegv+0xe7) [0x8154a67]
mono [0x81219c8]
[0xb7f2d440]
/usr/lib/libcrypto.so.0.9.8 [0xb6468222]
/usr/lib/libcrypto.so.0.9.8 [0xb63926a5]
/lib/ld-linux.so.2 [0xb7f3bb85]
/lib/ld-linux.so.2 [0xb7f3bc91]
/lib/ld-linux.so.2 [0xb7f3f88b]
/lib/ld-linux.so.2 [0xb7f3b7d2]
/lib/ld-linux.so.2 [0xb7f3f179]
/lib/libdl.so.2 [0xb7f05e3d]
/lib/ld-linux.so.2 [0xb7f3b7d2]
/lib/libdl.so.2 [0xb7f062dc]
/lib/libdl.so.2(dlopen+0x41) [0xb7f05d71]
/usr/lib/libgmodule-2.0.so.0(g_module_open+0x167) [0xb7f0a627]
mono(mono_lookup_pinvoke_call+0x1f8) [0x80e9f68]
mono(mono_marshal_get_native_wrapper+0x4ed) [0x80beb0d]
mono [0x8137310]
mono [0x813f6bb]
mono [0x8140f1e]
mono(mono_magic_trampoline+0x1a) [0x807f65a]
[0xb7be0032]
[0xb7993925]
[0xb79937c3]
mono(mono_runtime_exec_main+0x60) [0x80992a0]
mono(mono_runtime_run_main+0x1b3) [0x8099583]
mono(mono_main+0xe54) [0x805d3f4]
mono [0x805c0c2]
/lib/libc.so.6(__libc_start_main+0xd8) [0xb7d18838]
mono [0x805c011]
does anyone have an idea whats going on here? where does it crashing? in
glib?
im running on linux
glibc-2.5
mono-1.1.17.1
tomboy is 0.4.1 but version or app doesn't matter.
thanks
zsolt
From andreas.faerber at web.de Fri Oct 13 18:27:35 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Sat, 14 Oct 2006 00:27:35 +0200
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To: <1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk>
References:
<1160435515.4966.12.camel@erandi.dom>
<4601115D-3A39-442B-9A7C-1E2D89E26740@web.de>
<1160603641.4828.51.camel@erandi.dom>
<1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk>
Message-ID: <492E833B-557A-405D-AEE5-BF05BABDE453@web.de>
Hello,
Am 12.10.2006 um 16:14 schrieb Dick Porter:
> I'd rather limit any renaming to the specific platform that
> requires it.
> In bug 77324 it's mentioned that we don't use a linker script on
> macosx;
> that should be the first part to be fixed imho.
Apart from not yet getting Mono to compile for any local experiments
whatsoever, I do know C but have no idea what a linker script is
supposed to be... Obviously some part of the existing auto* jungle
already leads to a linker being invoked. Sorry for my ignorance ...
so would that be an additional shell script or simply Makefile
changes or what? What does "we don't use a linker script on macosx"
mean in cleartext?
And is this not by any chance related to the patched build scripts
already proposed by Bryan for Universal builds some weeks ago?
In Visual C++ on Windows I used to have explicit export definition
files for DLLs listing the symbols to be exported - is there no such
easy way on other platforms to limit the exported symbols to those
potentially invoked by developers embedding Mono?
Andreas
From robertj at gmx.net Sat Oct 14 11:41:48 2006
From: robertj at gmx.net (Robert Jordan)
Date: Sat, 14 Oct 2006 17:41:48 +0200
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To: <492E833B-557A-405D-AEE5-BF05BABDE453@web.de>
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160603641.4828.51.camel@erandi.dom> <1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk>
<492E833B-557A-405D-AEE5-BF05BABDE453@web.de>
Message-ID:
Andreas F?rber wrote:
>> I'd rather limit any renaming to the specific platform that
>> requires it.
>> In bug 77324 it's mentioned that we don't use a linker script on
>> macosx;
>> that should be the first part to be fixed imho.
>
> Apart from not yet getting Mono to compile for any local experiments
> whatsoever, I do know C but have no idea what a linker script is
> supposed to be... Obviously some part of the existing auto* jungle
> already leads to a linker being invoked. Sorry for my ignorance ...
> so would that be an additional shell script or simply Makefile
> changes or what? What does "we don't use a linker script on macosx"
> mean in cleartext?
Linker script == script for the linker. Mono provides
a GNU ld script:
http://svn.myrealbox.com/viewcvs/trunk/mono/mono/mini/ldscript?view=markup
but no Mac OS X script, because Apple's ld doesn't support
scripts. It only support full lists of symbols (like MS LINK)
with the option '-exported_symbols_list '
or suppressing lists with '-unexported_symbols_list '.
The latter would be suitable to suppress the problematic
WAPI symbols. Am looking at this.
Regarding your Mono build problems: comment out the PKG_CHECK_MODULES
line from Mono's configure.in and rerun autogen.sh:
PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Libraries/pkgconfig
./autogen.sh --prefix=...
Robert
From robertj at gmx.net Sat Oct 14 12:29:02 2006
From: robertj at gmx.net (Robert Jordan)
Date: Sat, 14 Oct 2006 18:29:02 +0200
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To:
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160603641.4828.51.camel@erandi.dom> <1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk> <492E833B-557A-405D-AEE5-BF05BABDE453@web.de>
Message-ID:
Robert Jordan wrote:
> Andreas F?rber wrote:
>> What does "we don't use a linker script on macosx"
>> mean in cleartext?
>
> Linker script == script for the linker. Mono provides
> a GNU ld script:
>
> http://svn.myrealbox.com/viewcvs/trunk/mono/mono/mini/ldscript?view=markup
>
> but no Mac OS X script, because Apple's ld doesn't support
> scripts. It only support full lists of symbols (like MS LINK)
> with the option '-exported_symbols_list '
> or suppressing lists with '-unexported_symbols_list '.
> The latter would be suitable to suppress the problematic
> WAPI symbols. Am looking at this.
Oops, WAPI is a global public API, so undefining its symbols
is not an option.
Robert
From andreas.faerber at web.de Sat Oct 14 13:01:24 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Sat, 14 Oct 2006 19:01:24 +0200
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To:
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160603641.4828.51.camel@erandi.dom> <1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk> <492E833B-557A-405D-AEE5-BF05BABDE453@web.de>
Message-ID:
Am 14.10.2006 um 18:29 schrieb Robert Jordan:
> Robert Jordan wrote:
>> Andreas F?rber wrote:
>>> What does "we don't use a linker script on macosx"
>>> mean in cleartext?
>>
>> Linker script == script for the linker. Mono provides
>> a GNU ld script:
>>
>> http://svn.myrealbox.com/viewcvs/trunk/mono/mono/mini/ldscript?
>> view=markup
>>
>> but no Mac OS X script, because Apple's ld doesn't support
>> scripts. It only support full lists of symbols (like MS LINK)
>> with the option '-exported_symbols_list '
>> or suppressing lists with '-unexported_symbols_list '.
>> The latter would be suitable to suppress the problematic
>> WAPI symbols. Am looking at this.
>
> Oops, WAPI is a global public API, so undefining its symbols
> is not an option.
Well, to my understanding the GNU ld linker script above does mark
them local, not global!
Andreas
From robertj at gmx.net Sat Oct 14 13:22:43 2006
From: robertj at gmx.net (Robert Jordan)
Date: Sat, 14 Oct 2006 19:22:43 +0200
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To:
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160603641.4828.51.camel@erandi.dom> <1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk> <492E833B-557A-405D-AEE5-BF05BABDE453@web.de>
Message-ID:
Andreas F?rber wrote:
> Am 14.10.2006 um 18:29 schrieb Robert Jordan:
>
>> Robert Jordan wrote:
>>> Andreas F?rber wrote:
>>>> What does "we don't use a linker script on macosx"
>>>> mean in cleartext?
>>> Linker script == script for the linker. Mono provides
>>> a GNU ld script:
>>>
>>> http://svn.myrealbox.com/viewcvs/trunk/mono/mono/mini/ldscript?
>>> view=markup
>>>
>>> but no Mac OS X script, because Apple's ld doesn't support
>>> scripts. It only support full lists of symbols (like MS LINK)
>>> with the option '-exported_symbols_list '
>>> or suppressing lists with '-unexported_symbols_list '.
>>> The latter would be suitable to suppress the problematic
>>> WAPI symbols. Am looking at this.
>> Oops, WAPI is a global public API, so undefining its symbols
>> is not an option.
>
> Well, to my understanding the GNU ld linker script above does mark
> them local, not global!
Sorry, yeah, because Mono's linker script is actually specifying
the version of the symbols:
http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/gnu-linker/version.html
It doesn't deal with the visibility of the symbols. This is
achieved with the GCC visibility attribute.
Still, WAPI is public and Mac OS X ld '-unexported_symbols_list'
can't be used.
I'll send you a patch that renames the symbols later tonight.
Robert
From robertj at gmx.net Sat Oct 14 13:33:33 2006
From: robertj at gmx.net (Robert Jordan)
Date: Sat, 14 Oct 2006 19:33:33 +0200
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To:
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160603641.4828.51.camel@erandi.dom> <1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk> <492E833B-557A-405D-AEE5-BF05BABDE453@web.de>
Message-ID:
Robert Jordan wrote:
> Andreas F?rber wrote:
>> Am 14.10.2006 um 18:29 schrieb Robert Jordan:
>>
>>> Robert Jordan wrote:
>>>> Andreas F?rber wrote:
>>>>> What does "we don't use a linker script on macosx"
>>>>> mean in cleartext?
>>>> Linker script == script for the linker. Mono provides
>>>> a GNU ld script:
>>>>
>>>> http://svn.myrealbox.com/viewcvs/trunk/mono/mono/mini/ldscript?
>>>> view=markup
>>>>
>>>> but no Mac OS X script, because Apple's ld doesn't support
>>>> scripts. It only support full lists of symbols (like MS LINK)
>>>> with the option '-exported_symbols_list '
>>>> or suppressing lists with '-unexported_symbols_list '.
>>>> The latter would be suitable to suppress the problematic
>>>> WAPI symbols. Am looking at this.
>>> Oops, WAPI is a global public API, so undefining its symbols
>>> is not an option.
>> Well, to my understanding the GNU ld linker script above does mark
>> them local, not global!
>
> Sorry, yeah, because Mono's linker script is actually specifying
> the version of the symbols:
>
> http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/gnu-linker/version.html
>
> It doesn't deal with the visibility of the symbols. This is
> achieved with the GCC visibility attribute.
>
> Still, WAPI is public and Mac OS X ld '-unexported_symbols_list'
> can't be used.
>
> I'll send you a patch that renames the symbols later tonight.
1. copy symbols.h into mono/io-layer/
2. apply the wapi-symbols.diff patch
Robert
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: symbols.h
Url: http://lists.ximian.com/pipermail/mono-list/attachments/20061014/68fb026c/attachment.h
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: wapi-symbols.diff
Url: http://lists.ximian.com/pipermail/mono-list/attachments/20061014/68fb026c/attachment.pl
From rubenvive at gmail.com Sat Oct 14 23:09:25 2006
From: rubenvive at gmail.com (Ruben Guinez)
Date: Sun, 15 Oct 2006 00:09:25 -0300
Subject: [Mono-list] Failed running /usr/lib/mono/1.0/mod-mono-server.exe
.........: Reason: Exec format error
Message-ID:
Hi everybody!!!
I have this error (Failed running
/usr/lib/mono/1.0/mod-mono-server.exe.........: Reason: Exec format
error
)
I just installed mono 1.1.18, and now my ASP.NET + APACHE2 not work. I'm
working with openSuse 10.1 64 bits.
The message I saw within /var/log/apache2/error_log, and when I start my app
into browser I get : Error 503.
Any Idea about it? Please !!!!
Thanks in advance...
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061015/4522f007/attachment.html
From rubenvive at gmail.com Sat Oct 14 23:19:43 2006
From: rubenvive at gmail.com (Ruben Guinez)
Date: Sun, 15 Oct 2006 00:19:43 -0300
Subject: [Mono-list] Failed running /usr/lib/mono/1.0/mod-mono-server.exe
.........: Reason: Exec format error
Message-ID:
(I'm sorry about two mail about the same thing. I'm mistake. :( )
Hi everybody!!!
I have this error (Failed running
/usr/lib/mono/1.0/mod-mono-server.exe .........: Reason: Exec format
error)
I just installed mono 1.1.18, and now my ASP.NET + APACHE2 not work.
I'm working with openSuse 10.1 64 bits.
The message I saw within /var/log/apache2/error_log, and when I start
my app into browser I get : Error 503.
Any Idea about it? Please !!!!
Thanks in advance...
--
From gert.driesen at telenet.be Sun Oct 15 02:43:41 2006
From: gert.driesen at telenet.be (Gert Driesen)
Date: Sun, 15 Oct 2006 08:43:41 +0200
Subject: [Mono-list] NAnt 0.85 is released
Message-ID: <000901c6f025$40fa75d0$c2ef6170$@driesen@telenet.be>
Announcing NAnt 0.85.
Binary and source distributions are available for immediate download from:
http://sourceforge.net/project/showfiles.php?group_id=31650
About NAnt:
NAnt is a free .NET build tool, allowing applications to be built targeting
both Microsoft .NET and Mono while supporting both Windows and Linux
platforms.
Release notes and a user manual are available here:
http://nant.sourceforge.net/release/0.85/
Discussion of NAnt occurs on the mailing list at
nant-users at lists.sourceforge.net.
Bugs can be reported using the Bug Tracker at
http://sourceforge.net/projects/nant.
Check the NAnt homepage for additional info at http://nant.sourceforge.net.
Enjoy !
Gert
From mosser at polytech.unice.fr Sat Oct 14 05:23:02 2006
From: mosser at polytech.unice.fr (=?ISO-8859-1?Q?S=E9bastien_Mosser?=)
Date: Sat, 14 Oct 2006 11:23:02 +0200
Subject: [Mono-list] Web Services using Mono ?
Message-ID: <7c23a9ae0610140223w6c2685eam7b8950cf495c30fc@mail.gmail.com>
Hello everybody ^_^ .
My name is Sebastian, and I'm a french master student in CS (so,
excuse my english, please ;-) ). I'm working in a research team, and
we're dealing with C# Web Services.
Now, web services are written using Visual Studio, and hosted by IIS.
But it stinks !
We need to have a full control of all the deployment process, and such
a thing is totally impossible using this tools. Moreover, there is too
few web server running IIS on the internet, and we have to proove that
our work will be able to run on huge networks.
I find Mono, and mod_mono for Apache2 on the internet. Sounds Great.
Really. I wrote little console applications, my first ASP.Net page
(using XSP to begin), ...
but I don't find any tutorial about : "How to create a Web Service
using Mono". I think there is some difference between a web service
and an ASP.Net page (asmx instead of aspx, or even bin/*.pdb instead
of bin/*.dll).
So, have you got any url ??
Thanks a lot, cheers !
--
Sebastian MOSSER
Polytechnic School of Nice / Sophia Antipolis
Templar's Knight Campus, CS Department
From ruben.guinez at surnet.cl Sat Oct 14 22:16:34 2006
From: ruben.guinez at surnet.cl (=?iso-8859-1?Q?Ruben_D._Gu=ED=F1ez_G.?=)
Date: Sat, 14 Oct 2006 23:16:34 -0300
Subject: [Mono-list] Failed running /usr/lib/mono/1.0/mod-mono-server.exe
.........: Reason: Exec format error
Message-ID: <000801c6efff$efe4b540$6b01a8c0@halcon>
Hi everybody!!!
I have this error (Failed running /usr/lib/mono/1.0/mod-mono-server.exe .........: Reason: Exec format error)
I just installed mono 1.1.18, and now my ASP.NET + APACHE2 not work. I'm working with openSuse 10.1 64 bits.
The message I saw within /var/log/apache2/error_log, and when I start my app into browser I get : Error 503.
Any Idea about it? Please !!!!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061014/ffe03f20/attachment.html
From andreas.faerber at web.de Sun Oct 15 05:12:53 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Sun, 15 Oct 2006 11:12:53 +0200
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To:
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160603641.4828.51.camel@erandi.dom> <1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk>
<492E833B-557A-405D-AEE5-BF05BABDE453@web.de>
Message-ID:
Am 14.10.2006 um 17:41 schrieb Robert Jordan:
> Regarding your Mono build problems: comment out the PKG_CHECK_MODULES
> line from Mono's configure.in and rerun autogen.sh:
>
> PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Libraries/pkgconfig
> ./autogen.sh --prefix=...
Checked out on i386 this time, rev. 66680 unpatched, used the above
command, which works, too, but this time the compilation of
System.Xml.dll hangs (left it running over night, a mono process with
4 threads, no CPU, no I/Os. Re-tried with make clean, make
EXTERNAL_MCS=/usr/bin/mcs EXTERNAL_RUNTIME=/usr/bin/mono - no
difference.
If it were a problem of mine then I would expect an error message and
make to exit.
Ctrl+C does not work, I have to kill the mono process via the
activity monitor. This results in this make output:
make[8]: *** [../../class/lib/basic/System.Xml.dll] Interrupt
make[7]: *** [do-all] Interrupt
make[6]: *** [all-recursive] Interrupt
make[5]: *** [all-recursive] Interrupt
make[4]: *** [profile-do--basic--all] Interrupt
make[3]: *** [profiles-do--all] Interrupt
make[2]: *** [all-local] Interrupt
make[1]: *** [all-recursive] Interrupt
make: *** [all] Interrupt
Below is the activity monitor's analysis output, sounds like some
deadlock to me?
Andreas
Analysis of sampling pid 10665 every 10.000000 milliseconds
Call graph:
100 Thread_0f07
100 GC_push_all_stacks
100 GC_push_all_eager
100 GC_push_all_eager
100 Thread_1003
100 _pthread_body
100 GC_start_routine
100 mach_exception_thread
100 mach_msg_trap
100 mach_msg_trap
100 Thread_1103
100 _pthread_body
100 collection_thread
100 mach_wait_until
100 mach_wait_until
100 Thread_1203
100 _pthread_body
100 GC_start_routine
100 thread_start_routine
100 start_wrapper
100 finalizer_thread
100 WaitForSingleObjectEx
100 _wapi_handle_wait_signal_handle
100 _wapi_handle_timedwait_signal_handle
100 timedwait_signal_poll_cond
100 semaphore_wait_signal_trap
100 semaphore_wait_signal_trap
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
GC_push_all_eager 100
mach_msg_trap 100
mach_wait_until 100
semaphore_wait_signal_trap 100
Sample analysis of process 10665 written to file /dev/stdout
Sampling process 10665 each 10 msecs 100 times
From mosser at polytech.unice.fr Sun Oct 15 05:37:52 2006
From: mosser at polytech.unice.fr (=?ISO-8859-1?Q?S=E9bastien_Mosser?=)
Date: Sun, 15 Oct 2006 11:37:52 +0200
Subject: [Mono-list] C# Web Services : bad WSDL generation
Message-ID: <7c23a9ae0610150237r728c0486m119d85718f0dacf7@mail.gmail.com>
Hi everybody.
I'm working on C# web services with my french research team, and I've
got some troubles using gmcs & xsp.
When I run my HelloWorld Web Service in xsp2 (service dll was compiled
using gmcs), I've got the following error printed in the web page
(http://localhost:8080/HelloWorld.asmx) :
This web service does not conform to WS-I Basic Profile v1.0
* R2701: The wsdl:binding element in a DESCRIPTION MUST be
constructed so that its soapbind:binding child element specifies the
transport attribute
o Binding 'HelloWorldHttpGet', in Service Description
'http://petitroll.free.fr/WS/hello'
o Binding 'HelloWorldHttpPost', in Service Description
'http://petitroll.free.fr/WS/hello'
If I try to build a proxy, using wsdl, no problems. using wsdl2, same
error shoot again :'(
petitroll at bartimeus:~$ wsdl2 http://bartimeus:8080/HelloWorld.asmx?WSDL
Web Services Description Language Utility
Mono Framework v2.0.50727.42
There where some warnings while generating the code:
http://bartimeus:8080/HelloWorld.asmx?WSDL
[same text as above, describing R2701 error]
The same problem append on my iBook and on my Kubuntu :'(.
I'm using the following asmx file :
petitroll at bartimeus:~/HelloWs$ cat HelloWorld.asmx
<%@ WebService Language="C#" Class="Rainbow.HelloWorld" %>
petitroll at bartimeus:~/HelloWs$
And the following code-behind file, compiled by :
gmcs -t:library -r:System.Web.Services \
-out:bin/HelloWorld.dll HelloWorld.cs
petitroll at bartimeus:~/HelloWs$ cat HelloWorld.cs
/** My first Web service using Mono
* author : Sebastian Mosser
* institute : Polytech'Sophia / CNRS / I3S / Rainbow Team
* Date : October 2006
*/
using System;
using System.Web.Services;
namespace Rainbow
{
[WebService(Namespace="http://rainbow.essi.fr/isl4ws/sandbox",
Description="My first Mono Web Service ;-) ")]
public class HelloWorld : System.Web.Services.WebService
{
[WebMethod(Description="Say Hello to someone")]
public string SayHello(string who)
{
return String.Format("Hello, {0} !", who);
}
[WebMethod(Description="Say Hello to the World !")]
public string HelloToTheWorld()
{
return SayHello("world");
}
}
}
petitroll at bartimeus:~/HelloWs$
If somebody has an idea ... ^_^
Thanks !
--
Sebastian Mosser
Polytechnic School of Nice / Sophia - Antipolis
Templar's Knights Campus, CS Department
From nigel at nebulus-design.co.uk Sun Oct 15 06:06:59 2006
From: nigel at nebulus-design.co.uk (Nigel Jenkins)
Date: Sun, 15 Oct 2006 11:06:59 +0100
Subject: [Mono-list] Accessing SystemV style shared memory in Mono
Message-ID: <45320843.6020806@nebulus-design.co.uk>
Hi All
I'm looking at porting a graphics cluster application from C++ to C#
using mono, making good progress so far with all the network stuff, but
the original application talks to a couple of external apps using shared
memory (shmget, shmat etc..).
I've not been able to work out if there is a class that already allows
me to do this, and being very new to mono, I'm not sure where I should
be looking.
Any help greatly appreciated!
thanks
Nigel
From robertj at gmx.net Sun Oct 15 06:36:01 2006
From: robertj at gmx.net (Robert Jordan)
Date: Sun, 15 Oct 2006 12:36:01 +0200
Subject: [Mono-list] Failed running
/usr/lib/mono/1.0/mod-mono-server.exe .........: Reason: Exec format error
In-Reply-To: <000801c6efff$efe4b540$6b01a8c0@halcon>
References: <000801c6efff$efe4b540$6b01a8c0@halcon>
Message-ID:
Ruben D. Gu??ez G. wrote:
> Hi everybody!!!
>
> I have this error (Failed running
> /usr/lib/mono/1.0/mod-mono-server.exe .........: Reason: Exec format
> error) I just installed mono 1.1.18, and now my ASP.NET + APACHE2 not
> work. I'm working with openSuse 10.1 64 bits. The message I saw
> within /var/log/apache2/error_log, and when I start my app into
> browser I get : Error 503.
Starting with 1.1.17, mod_mono expects that the config directive
'MonoServerPath' is pointing to a native executable.
Check your Apache config and remove or change MonoServerPath
to point to /usr/bin/mod-mono-server.
Robert
From andreas.faerber at web.de Sun Oct 15 06:45:28 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Sun, 15 Oct 2006 12:45:28 +0200
Subject: [Mono-list] mcs/gmcs crash
In-Reply-To: <1160435427.4966.10.camel@erandi.dom>
References: <40C429CE-9834-4B34-B7C7-3EE29C6089F8@web.de>
<1160435427.4966.10.camel@erandi.dom>
Message-ID: <1A3D9A7C-7F81-425D-938D-AC91C7434772@web.de>
Hey,
>> You could try out the patch, especially on x86, and post a follow
>> up to the bug entry. Or build a dylib (derived from the patch's code)
>> and pinvoke it, because I'm not sure if patch will be ever accepted.
>
> I just commited the patch, but I would love to get some feedback from
> those using MacOS X.
I just installed Mono 1.1.18, which appears to include the patch, and
the issue is no longer reproducable! Mcs exits without any
CrashReporter messages on the console.
I also tried running in parallel my Cocoa-based Mono application,
Xcode embedding Mono and gmcs without problems. (When running
multiple instances of Java apps there were sometimes Mach port
warnings on the console, but apparently not for multiple mono
instances.)
The above was on Tiger; I also tested it on Panther (which I believe
I hadn't before) and I did not observe any issues running my app and
mcs.
Thanks to you and Robert for the workaround.
Andreas
From andreas.faerber at web.de Sun Oct 15 06:52:13 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Sun, 15 Oct 2006 12:52:13 +0200
Subject: [Mono-list] Web Services using Mono ?
In-Reply-To: <7c23a9ae0610140223w6c2685eam7b8950cf495c30fc@mail.gmail.com>
References: <7c23a9ae0610140223w6c2685eam7b8950cf495c30fc@mail.gmail.com>
Message-ID:
Bonjour,
Am 14.10.2006 um 11:23 schrieb S?bastien Mosser:
> I find Mono, and mod_mono for Apache2 on the internet. Sounds Great.
> Really. I wrote little console applications, my first ASP.Net page
> (using XSP to begin), ...
>
> but I don't find any tutorial about : "How to create a Web Service
> using Mono". I think there is some difference between a web service
> and an ASP.Net page (asmx instead of aspx, or even bin/*.pdb instead
> of bin/*.dll).
>
> So, have you got any url ??
Basically this will be the same as on Windows+IIS, so you could check
out the documentation on msdn.microsoft.com if you don't find
anything Mono-specific!
Andreas
P.S. I don't think it's .pdb instead of .dll - aren't .pdb files
debug symbols on Windows?
From andreas.faerber at web.de Sun Oct 15 07:47:37 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Sun, 15 Oct 2006 13:47:37 +0200
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To:
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160603641.4828.51.camel@erandi.dom> <1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk>
<492E833B-557A-405D-AEE5-BF05BABDE453@web.de>
Message-ID:
Am 15.10.2006 um 11:12 schrieb Andreas F?rber:
>
> Am 14.10.2006 um 17:41 schrieb Robert Jordan:
>
>> Regarding your Mono build problems: comment out the PKG_CHECK_MODULES
>> line from Mono's configure.in and rerun autogen.sh:
>>
>> PKG_CONFIG_PATH=/Library/Frameworks/Mono.framework/Libraries/
>> pkgconfig
>> ./autogen.sh --prefix=...
>
> Checked out on i386 this time, rev. 66680 unpatched, used the above
> command, which works, too, but this time the compilation of
> System.Xml.dll hangs (left it running over night, a mono process with
> 4 threads, no CPU, no I/Os. Re-tried with make clean, make
> EXTERNAL_MCS=/usr/bin/mcs EXTERNAL_RUNTIME=/usr/bin/mono - no
> difference.
> If it were a problem of mine then I would expect an error message and
> make to exit.
> Ctrl+C does not work, I have to kill the mono process via the
> activity monitor. This results in this make output:
>
> make[8]: *** [../../class/lib/basic/System.Xml.dll] Interrupt
> make[7]: *** [do-all] Interrupt
> make[6]: *** [all-recursive] Interrupt
> make[5]: *** [all-recursive] Interrupt
> make[4]: *** [profile-do--basic--all] Interrupt
> make[3]: *** [profiles-do--all] Interrupt
> make[2]: *** [all-local] Interrupt
> make[1]: *** [all-recursive] Interrupt
> make: *** [all] Interrupt
Tried updating working copy to rev. 66692 and Mono to 1.1.18 - re-
running autogen.sh and make then results in compilation hanging
already at System.dll.
When I did make clean and then make it compiled System.dll but still
hangs at System.Xml.dll as before.
Any ideas as to what might be the cause of this?
Andreas
From mthaddon at yahoo.com Sun Oct 15 11:24:51 2006
From: mthaddon at yahoo.com (Tom Haddon)
Date: Sun, 15 Oct 2006 16:24:51 +0100
Subject: [Mono-list] Gecko.WebControl Example
Message-ID: <1160925891.17013.9.camel@localhost.localdomain>
Hi Folks,
I'm new to Mono so I apologise if this is a little basic of a query, and
have tried searching for the error on the archives but couldn't find
anything.
I'm trying to develop a web browser application that basically is a set
window size and has two embedded browser controls in it with specified
URLs - I don't need any options for the user in terms of navigation or
whatever, this is just a console for viewing two particular web pages.
I took a look at the example Gecko.WebControl in the documentation and I
can get it to compile okay, but when I run it I get:
$ ./GeckoTest.exe
Unhandled Exception:
System.DllNotFoundException: /usr/lib/firefox/libgtkembedmoz.so
at (wrapper managed-to-native)
Gecko.WebControl:gtk_moz_embed_set_profile_path (string,string)
at Gecko.WebControl..ctor (System.String aPath, System.String aDir)
[0x00000]
at GeckoTest.GeckoTest..ctor () [0x00000]
at GeckoTest.GeckoTest.Main (System.String[] args) [0x00000]
Can anyone explain how to troubleshoot this or point me to some docs
that might explain it?
Thanks, Tom
Tom Haddon
mailto:mthaddon at yahoo.com
A kind of Batman of contemporary letters.
-- Philip Larkin on Anthony Burgess
-----------------
Random quotes courtesy of fortune.
From opgenorth at gmail.com Sun Oct 15 13:02:13 2006
From: opgenorth at gmail.com (Tom Opgenorth)
Date: Sun, 15 Oct 2006 11:02:13 -0600
Subject: [Mono-list] Putting together a Mono presentation
Message-ID: <140160570610151002ue7dcb0cm35b2c6d1334c7326@mail.gmail.com>
Hi all,
I'm hoping to put together a presentation on Mono for my local .NET
users group and my local Linux Users group. Naturally, the exact same
presentation couldn't be used for both (not all the LUG users are
familiar with .NET/Mono).
Anyway, I was wondering if anybody had resources they could share with
me. Both presentations would be delivered the first week of November
2006.
All help is appreciated. TIA.
From zsolt at softmonsters.com Sun Oct 15 13:24:50 2006
From: zsolt at softmonsters.com (Zsolt Barat)
Date: Sun, 15 Oct 2006 19:24:50 +0200
Subject: [Mono-list] monapps crashing
In-Reply-To: <4530074A.30104@softmonsters.com>
References: <4530074A.30104@softmonsters.com>
Message-ID: <45326EE2.1010307@softmonsters.com>
Zsolt Barat schrieb:
> hi list,
> since im updated to gcc-4.1.1 and recompiled mono all monoapps crashing
> with following backtrace (here tomboy but for f-spot it's the same):
ok, it turned out that the problem was most probably a strange
optimization issue with openssl. after recompiling openssl and others
monoapps running fine again.
thanks for your help...
From michael at synthesyssolutions.com Sun Oct 15 14:52:15 2006
From: michael at synthesyssolutions.com (Michael Schurter)
Date: Sun, 15 Oct 2006 13:52:15 -0500
Subject: [Mono-list] [Mono-dev] Web Services using Mono ?
In-Reply-To:
References: <7c23a9ae0610140223w6c2685eam7b8950cf495c30fc@mail.gmail.com>
Message-ID: <4532835F.7000602@synthesyssolutions.com>
Andreas F?rber wrote:
> Am 14.10.2006 um 11:23 schrieb S?bastien Mosser:
>
>> I find Mono, and mod_mono for Apache2 on the internet. Sounds Great.
>> Really. I wrote little console applications, my first ASP.Net page
>> (using XSP to begin), ...
>>
>> but I don't find any tutorial about : "How to create a Web Service
>> using Mono". I think there is some difference between a web service
>> and an ASP.Net page (asmx instead of aspx, or even bin/*.pdb instead
>> of bin/*.dll).
>>
>> So, have you got any url ??
>
> Basically this will be the same as on Windows+IIS, so you could check
> out the documentation on msdn.microsoft.com if you don't find
> anything Mono-specific!
I can vouch for this. At work we wrote a web service in VS 2003
(ASP.NET 1.1) and it runs flawlessly using Mono on Linux. It was a
pretty simple web service: 1 .asmx file with a few supporting .cs files.
Any book, tutorial, etc. on web services in .NET 1.1 should work
identically using Mono and Linux.
> Andreas
>
>
> P.S. I don't think it's .pdb instead of .dll - aren't .pdb files
> debug symbols on Windows?
From Microsoft:
The .PDB extension stands for "program database." It holds the new
format for storing debugging information that was introduced in Visual
C++ version 1.0. In the future, the .PDB file will also hold other
project state information. One of the most important motivations for the
change in format was to allow incremental linking of debug versions of
programs, a change first introduced in Visual C++ version 2.0.
--
Michael Schurter
Synthesys Solutions
From adam at morrison-ind.com Sun Oct 15 18:37:23 2006
From: adam at morrison-ind.com (Adam Williams)
Date: Sun, 15 Oct 2006 18:37:23 -0400
Subject: [Mono-list] Putting together a Mono presentation
In-Reply-To: <140160570610151002ue7dcb0cm35b2c6d1334c7326@mail.gmail.com>
References: <140160570610151002ue7dcb0cm35b2c6d1334c7326@mail.gmail.com>
Message-ID: <1160951843.30933.1.camel@ws01.whitemice.org>
> I'm hoping to put together a presentation on Mono for my local .NET
> users group and my local Linux Users group. Naturally, the exact same
> presentation couldn't be used for both (not all the LUG users are
> familiar with .NET/Mono).
> Anyway, I was wondering if anybody had resources they could share with
> me. Both presentations would be delivered the first week of November
> 2006.
I did a presentation for a LUG awhile ago -
ftp://kalamazoolinux.org/pub/pdf/mono.pdf
I can send you the source (OpenOffice) document off-list if you are
interested.
Note that their FTP server is *f*l*a*k*y* so it make take a couple of
tries to actually get the document
From jonpryor at vt.edu Sun Oct 15 21:24:34 2006
From: jonpryor at vt.edu (Jonathan Pryor)
Date: Sun, 15 Oct 2006 21:24:34 -0400
Subject: [Mono-list] Accessing SystemV style shared memory in Mono
In-Reply-To: <45320843.6020806@nebulus-design.co.uk>
References: <45320843.6020806@nebulus-design.co.uk>
Message-ID: <1160961875.3674.27.camel@melchior.magi>
On Sun, 2006-10-15 at 11:06 +0100, Nigel Jenkins wrote:
> I'm looking at porting a graphics cluster application from C++ to C#
> using mono, making good progress so far with all the network stuff, but
> the original application talks to a couple of external apps using shared
> memory (shmget, shmat etc..).
> I've not been able to work out if there is a class that already allows
> me to do this, and being very new to mono, I'm not sure where I should
> be looking.
Mono.Unix.Native.Syscall *would* be the place for this, but these
methods haven't been wrapped yet.
Thus, you'll have to wrap them manually.
You might find this useful:
http://www.mono-project.com/dllimport
- Jon
From rubenvive at gmail.com Sun Oct 15 23:06:34 2006
From: rubenvive at gmail.com (Ruben Guinez)
Date: Mon, 16 Oct 2006 00:06:34 -0300
Subject: [Mono-list] Failed running
/usr/lib/mono/1.0/mod-mono-server.exe .........: Reason: Exec
format error
In-Reply-To:
References: <000801c6efff$efe4b540$6b01a8c0@halcon>
Message-ID:
Thanks Robert.
Now, all work fine !!!!
On 10/15/06, Robert Jordan wrote:
> Ruben D. Gu??ez G. wrote:
> > Hi everybody!!!
> >
> > I have this error (Failed running
> > /usr/lib/mono/1.0/mod-mono-server.exe .........: Reason: Exec format
> > error) I just installed mono 1.1.18, and now my ASP.NET + APACHE2 not
> > work. I'm working with openSuse 10.1 64 bits. The message I saw
> > within /var/log/apache2/error_log, and when I start my app into
> > browser I get : Error 503.
>
> Starting with 1.1.17, mod_mono expects that the config directive
> 'MonoServerPath' is pointing to a native executable.
>
> Check your Apache config and remove or change MonoServerPath
> to point to /usr/bin/mod-mono-server.
>
> Robert
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
--
Rub?n D. Gu??ez G.
Software Developer
From nigel at nebulus-design.co.uk Mon Oct 16 03:31:52 2006
From: nigel at nebulus-design.co.uk (Nigel Jenkins)
Date: Mon, 16 Oct 2006 08:31:52 +0100
Subject: [Mono-list] Accessing SystemV style shared memory in Mono
In-Reply-To: <1160961875.3674.27.camel@melchior.magi>
References: <45320843.6020806@nebulus-design.co.uk>
<1160961875.3674.27.camel@melchior.magi>
Message-ID: <45333568.7040802@nebulus-design.co.uk>
Hi Jon
Thanks for the info, as I'm so new to mono, I'm a bit wary of diving in
and adding this stuff just right now (crikey I'm struggling to get Tao
to work in monodevelop at the moment!).
Is there a timeline for this stuff getting added or is it up to people
like me to jump in and implement things that are missing?
Nigel
Jonathan Pryor wrote:
> On Sun, 2006-10-15 at 11:06 +0100, Nigel Jenkins wrote:
>> I'm looking at porting a graphics cluster application from C++ to C#
>> using mono, making good progress so far with all the network stuff, but
>> the original application talks to a couple of external apps using shared
>> memory (shmget, shmat etc..).
>> I've not been able to work out if there is a class that already allows
>> me to do this, and being very new to mono, I'm not sure where I should
>> be looking.
>
> Mono.Unix.Native.Syscall *would* be the place for this, but these
> methods haven't been wrapped yet.
>
> Thus, you'll have to wrap them manually.
>
> You might find this useful:
>
> http://www.mono-project.com/dllimport
>
> - Jon
>
>
>
>
>
--
Nigel Jenkins --- Nebulus-Design
nigel at nebulus-design.co.uk
+44 (0) 7811 446 340
From russell.kay at realtimeworlds.com Mon Oct 16 05:12:39 2006
From: russell.kay at realtimeworlds.com (russell.kay at realtimeworlds.com)
Date: Mon, 16 Oct 2006 10:12:39 +0100
Subject: [Mono-list] ExecuteReader problem
In-Reply-To: <591BEE7C98CA7F48A7079C8221CC012F013E32B8@CHICAGO.dundee.realtimeworlds.com>
Message-ID: <591BEE7C98CA7F48A7079C8221CC012F013E3C45@CHICAGO.dundee.realtimeworlds.com>
All,
I've just tried 1.1.18 and it has the same problem on the Mac (PowerPC),
I tried the same code on the PC on Mono and it worked fine, could this
be a PowerPC JIT bug??? It could be an ODBC problem on the MAC (I don't
have a Linux install to try it out).
Any pointers to narrowing the problem any further.
Russell
-----Original Message-----
From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of
russell.kay at realtimeworlds.com
Sent: 11 October 2006 18:05
To: mono-list at lists.ximian.com
Subject: [Mono-list] ExecuteReader problem
All,
I'm trying out ODBC on MAC OSX and I'm getting an exception every time I
try to do an ExecuteReader call
The exception output is....
Unhandled Exception: System.ArgumentOutOfRangeException: ArgRange_Array
Parameter name: count
at System.Text.ASCIIEncoding.GetString (System.Byte[] bytes, Int32
index, Int32 count) [0x00000]
at System.Data.Odbc.OdbcDataReader.GetColumnAttributeStr (Int32
column, FieldIdentifier fieldId) [0x00000]
at System.Data.Odbc.OdbcDataReader.GetSchemaTable () [0x00000]
at System.Data.Odbc.OdbcDataReader..ctor (System.Data.Odbc.OdbcCommand
command, CommandBehavior behavior) [0x00000]
at System.Data.Odbc.OdbcDataReader..ctor (System.Data.Odbc.OdbcCommand
command, CommandBehavior behavior, Int32 recordAffected) [0x00000]
at (wrapper remoting-invoke-with-check)
System.Data.Odbc.OdbcDataReader:.ctor
(System.Data.Odbc.OdbcCommand,System.Data.CommandBehavior,int)
at System.Data.Odbc.OdbcCommand.ExecuteReader (CommandBehavior
behavior) [0x00000]
at System.Data.Odbc.OdbcCommand.ExecuteDbDataReader (CommandBehavior
behavior) [0x00000]
at System.Data.Common.DbCommand.ExecuteReader () [0x00000]
at System.Data.Common.DbCommand.System.Data.IDbCommand.ExecuteReader
() [0x00000]
at DatabaseTest.Program.Main (System.String[] args) [0x00000]
The code I am executing is
class Program
{
static void Main(string[] args)
{
//connect to the database at
//IDbConnection conn = new OdbcConnection(
"DSN=RealTrading;USER=root;PASSWORD=root;" );
IDbConnection conn = new OdbcConnection("DRIVER={MySQL ODBC
3.51
Driver};SERVER=;DATABASE=;USER=;PASSWORD
=;OPTION=3;");
Console.WriteLine("Connecting to database....");
conn.Open();
Stopwatch sw = new Stopwatch();
IDbCommand dbcmd = conn.CreateCommand();
dbcmd.CommandText = "SELECT * FROM table WHERE NumLines>10";
Console.WriteLine( "Executing SQL" );
sw.Start();
IDataReader reader = dbcmd.ExecuteReader();
sw.Stop();
Console.WriteLine("Elapsed Time = {0}", sw.Elapsed);
int n = 0;
while( reader.Read() && (n<20) ) {
Console.WriteLine( "Sector {0} TOID {1} NumLines {2}
Date {3}", reader["Sector"], reader["TOID"], reader["NumLines"],
reader["Date"] );
++n;
} // end while
reader.Close();
reader = null;
dbcmd.Dispose();
dbcmd = null;
conn.Close();
conn = null;
}
}
Any Ideas????
Russell
_______________________________________________
Mono-list maillist - Mono-list at lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list
DISCLAIMER
This message and any attachments contain privileged and confidential
information intended for the use of the addressee named above. If you
are not the intended recipient of this message, you are hereby notified
that any use, dissemination, distribution or reproduction of this
message is prohibited. Please note that we cannot guarantee that this
message or any attachment is virus free or that it has not been
intercepted and amended. The views of the author may not necessarily
reflect those of Real Time Worlds Ltd.
____________________________________________________________________
This email has been scanned by the MessageLabs Email Security System
____________________________________________________________________
This email has been scanned by the MessageLabs Email Security System
From jonpryor at vt.edu Mon Oct 16 05:41:32 2006
From: jonpryor at vt.edu (Jonathan Pryor)
Date: Mon, 16 Oct 2006 05:41:32 -0400
Subject: [Mono-list] Accessing SystemV style shared memory in Mono
In-Reply-To: <45333568.7040802@nebulus-design.co.uk>
References: <45320843.6020806@nebulus-design.co.uk>
<1160961875.3674.27.camel@melchior.magi>
<45333568.7040802@nebulus-design.co.uk>
Message-ID: <1160991692.10605.1.camel@melchior.magi>
On Mon, 2006-10-16 at 08:31 +0100, Nigel Jenkins wrote:
> Is there a timeline for this stuff getting added or is it up to people
> like me to jump in and implement things that are missing?
There is no timeline, so stuff gets added to Mono.Posix.dll whenever I
get around to it, and SysV shared memory hasn't been on my TODO yet.
If you want it done quickly, you should bind it yourself. I can review
it for submission when you're complete.
- Jon
From steflik at binghamton.edu Mon Oct 16 08:02:09 2006
From: steflik at binghamton.edu (steflik)
Date: Mon, 16 Oct 2006 08:02:09 -0400
Subject: [Mono-list] ASP and ASP.NET Questions not in the FAQ
Message-ID: <453374C1.3040906@binghamton.edu>
Hi,
I'm a Mono newbie with a couple of ASP questions. I'm running
Mono/Apache on Fedora Core 5 with good results (for the most part). Even
have the interface to MySqQL working with standalone C# (ASP will be
today). Heres the questions:
1. Can Mono run "Classic ASP" applications, if so how? I can't find an
example anywhere, please point me to a working example..
2. I've written several ASP.NET applications using C# and the all seem
to work but I have yet to be able to get one in VB to work. Does the VB
part of Mone not work? If it does can someone point me to a real
working example as this is driving me nuts.
Dick Steflik
Dept of Computer Science
Binghamton University
Binghamton, NY
From Robert at pcssinc.com Mon Oct 16 08:12:36 2006
From: Robert at pcssinc.com (Robert Briggs)
Date: Mon, 16 Oct 2006 08:12:36 -0400
Subject: [Mono-list] ASP.NET Mono/Apache CentOS Tutorial
Message-ID: <136A540C5A2E6B4A809F5AFD747773177248E6@sbs.PCSSINC.local>
Hello,
I'm trying to setup mod_mono on CentOS and would appreciate any
information that may lead to a good tutorial for beginners. Thanks in
advance.
Robert
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061016/3fe53034/attachment.html
From mhinks at gmail.com Mon Oct 16 08:16:32 2006
From: mhinks at gmail.com (Martin Hinks)
Date: Mon, 16 Oct 2006 13:16:32 +0100
Subject: [Mono-list] ASP and ASP.NET Questions not in the FAQ
In-Reply-To: <453374C1.3040906@binghamton.edu>
References: <453374C1.3040906@binghamton.edu>
Message-ID: <7fb639590610160516j6fee1e51l22d271e02555c75@mail.gmail.com>
Hiya,
Mono cannot run classic ASP - only ASP.NET.
Furthermore the VB compiler is currently under heavy development and
therefore VB apps are not likely to work at the present time.
Hope that helps!
Martin
On 10/16/06, steflik wrote:
> Hi,
> I'm a Mono newbie with a couple of ASP questions. I'm running
> Mono/Apache on Fedora Core 5 with good results (for the most part). Even
> have the interface to MySqQL working with standalone C# (ASP will be
> today). Heres the questions:
>
> 1. Can Mono run "Classic ASP" applications, if so how? I can't find an
> example anywhere, please point me to a working example..
>
> 2. I've written several ASP.NET applications using C# and the all seem
> to work but I have yet to be able to get one in VB to work. Does the VB
> part of Mone not work? If it does can someone point me to a real
> working example as this is driving me nuts.
>
> Dick Steflik
> Dept of Computer Science
> Binghamton University
> Binghamton, NY
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
--
Martin Hinks
http://www.m-s-d.net
From lee at datatrakpos.com Mon Oct 16 09:57:45 2006
From: lee at datatrakpos.com (Lee)
Date: Mon, 16 Oct 2006 09:57:45 -0400
Subject: [Mono-list] SPAM-LOW: ASP.NET Mono/Apache CentOS Tutorial
In-Reply-To: <136A540C5A2E6B4A809F5AFD747773177248E6@sbs.PCSSINC.local>
Message-ID: <20061016135745.EFQK10827.ibm67aec.bellsouth.net@YOUR588B4A13EA>
> Subject: SPAM-LOW: [Mono-list] ASP.NET Mono/Apache CentOS Tutorial
>
> Hello,
>
> I'm trying to setup mod_mono on CentOS and would appreciate
> any information that may lead to a good tutorial for
> beginners. Thanks in advance.
>
>
I would like to see something like this as well. I'm a windows programmer
for almost 10 years now, but am new to linux/mono. A step by step would be
nice to see.
Lee
From lee at datatrakpos.com Mon Oct 16 11:27:11 2006
From: lee at datatrakpos.com (Lee)
Date: Mon, 16 Oct 2006 11:27:11 -0400
Subject: [Mono-list] SPAM-LOW: ASP.NET Mono/Apache CentOS Tutorial
In-Reply-To: <27d75530610160733x474b368en1e0e89e389a03ffe@mail.gmail.com>
Message-ID: <20061016152710.GVRE25956.ibm61aec.bellsouth.net@YOUR588B4A13EA>
> I have a little tutorial here
> http://www.joeaudette.com/settingupapachevirtualhostswithmod_mono.aspx
> its based on Suse and I think some of the apache config
> settings are out of date.
>
> Specifically, quoting a previous message on this list:
>
> Starting with 1.1.17, mod_mono expects that the config
> directive 'MonoServerPath' is pointing to a native executable.
>
> Check your Apache config and remove or change MonoServerPath
> to point to /usr/bin/mod-mono-server.
>
>
> Still it may help some. I assume you have also seen the
> documentation here:
> http://www.mono-project.com/Mod_mono
>
> Hope it helps,
>
> Joe
>
Nice. Thanks for posting, Joe.
Lee
From miguel at ximian.com Mon Oct 16 13:05:25 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Mon, 16 Oct 2006 13:05:25 -0400
Subject: [Mono-list] Mono 1.1.18 last release before Mono 1.2.
Message-ID: <1161018325.5569.9.camel@erandi.dom>
Hello,
Mono 1.1.18 has been released, this is our last large release before
Mono 1.2. Lots of improved and new things on this release, please see:
http://www.go-mono.com/archive/1.1.18
Miguel.
From sontek at gmail.com Mon Oct 16 13:09:36 2006
From: sontek at gmail.com (John Anderson)
Date: Mon, 16 Oct 2006 11:09:36 -0600
Subject: [Mono-list] Mono Presentations
Message-ID: <6938f5390610161009g4416c313h2a4059f51a91d1fe@mail.gmail.com>
I was wondering if anyone has slides/presentation notes on mono talks
they've done that they could foreword to me?
Thanks
From awilliam at whitemice.org Mon Oct 16 13:10:56 2006
From: awilliam at whitemice.org (Adam Williams)
Date: Mon, 16 Oct 2006 13:10:56 -0400
Subject: [Mono-list] Mono Presentations
In-Reply-To: <6938f5390610161009g4416c313h2a4059f51a91d1fe@mail.gmail.com>
References: <6938f5390610161009g4416c313h2a4059f51a91d1fe@mail.gmail.com>
Message-ID: <1161018657.30933.31.camel@ws01.whitemice.org>
On Mon, 2006-10-16 at 11:09 -0600, John Anderson wrote:
> I was wondering if anyone has slides/presentation notes on mono talks
> they've done that they could foreword to me?
Tom Opgenorth asked this same question 24 hours
and five minutes ago.
----
> I'm hoping to put together a presentation on Mono for my local .NET
> users group and my local Linux Users group. Naturally, the exact same
> presentation couldn't be used for both (not all the LUG users are
> familiar with .NET/Mono).
> Anyway, I was wondering if anybody had resources they could share with
> me. Both presentations would be delivered the first week of November
> 2006.
I did a presentation for a LUG awhile ago -
ftp://kalamazoolinux.org/pub/pdf/mono.pdf
I can send you the source (OpenOffice) document off-list if you are
interested.
Note that their FTP server is *f*l*a*k*y* so it make take a couple of
tries to actually get the document
From mthaddon at yahoo.com Mon Oct 16 17:23:26 2006
From: mthaddon at yahoo.com (Tom Haddon)
Date: Mon, 16 Oct 2006 22:23:26 +0100
Subject: [Mono-list] Gecko.WebControl Follow Up
Message-ID: <1161033806.8520.10.camel@localhost.localdomain>
Hi Folks,
I'd posted about this yesterday, but I don't think I'm moving in the
right direction:
I took a look at the example Gecko.WebControl in the documentation and I
can get it to compile okay, but when I run it I get:
$ ./GeckoTest.exe
Unhandled Exception:
System.DllNotFoundException: /usr/lib/firefox/libgtkembedmoz.so
at (wrapper managed-to-native)
Gecko.WebControl:gtk_moz_embed_set_profile_path (string,string)
at Gecko.WebControl..ctor (System.String aPath, System.String aDir)
[0x00000]
at GeckoTest.GeckoTest..ctor () [0x00000]
at GeckoTest.GeckoTest.Main (System.String[] args) [0x00000]
Originally I thought this was that it couldn't find the library, but an
"ls /usr/lib/firefox/libgtkembedmoz.so" confirms that the file does
exist, so I guess it must be something within the file that is causing
the problem. Perhaps the documentation is out of date and the properties
of this Dll have changed? Can anyone help out?
Thanks, Tom
Tom Haddon
mailto:mthaddon at yahoo.com
You own a dog, but you can only feed a cat.
-----------------
Random quotes courtesy of fortune.
From miguel at ximian.com Mon Oct 16 21:40:47 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Mon, 16 Oct 2006 21:40:47 -0400
Subject: [Mono-list] mcs/gmcs crash
In-Reply-To: <1A3D9A7C-7F81-425D-938D-AC91C7434772@web.de>
References: <40C429CE-9834-4B34-B7C7-3EE29C6089F8@web.de>
<1160435427.4966.10.camel@erandi.dom>
<1A3D9A7C-7F81-425D-938D-AC91C7434772@web.de>
Message-ID: <1161049247.30002.26.camel@erandi.dom>
Hey!
> The above was on Tiger; I also tested it on Panther (which I believe
> I hadn't before) and I did not observe any issues running my app and
> mcs.
Great news!
Robert deserves all the credit (and probably a life-long supply of free
beer) considering all his help. I merely applied the patch.
Miguel
From miguel at ximian.com Mon Oct 16 21:46:27 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Mon, 16 Oct 2006 21:46:27 -0400
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To: <492E833B-557A-405D-AEE5-BF05BABDE453@web.de>
References:
<1160435515.4966.12.camel@erandi.dom>
<4601115D-3A39-442B-9A7C-1E2D89E26740@web.de>
<1160603641.4828.51.camel@erandi.dom>
<1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk>
<492E833B-557A-405D-AEE5-BF05BABDE453@web.de>
Message-ID: <1161049587.30002.38.camel@erandi.dom>
Hello,
> > I'd rather limit any renaming to the specific platform that
> > requires it.
> > In bug 77324 it's mentioned that we don't use a linker script on
> > macosx;
> > that should be the first part to be fixed imho.
>
> Apart from not yet getting Mono to compile for any local experiments
> whatsoever, I do know C but have no idea what a linker script is
> supposed to be... Obviously some part of the existing auto* jungle
> already leads to a linker being invoked. Sorry for my ignorance ...
> so would that be an additional shell script or simply Makefile
> changes or what? What does "we don't use a linker script on macosx"
> mean in cleartext?
I would probably go with some minimized set of defines myself.
The linker script is a way of controlling what the linker does, but
given the little knowledge among most of us about how to do this, its
implications and the need to maintain it on the long term, it seems like
the kind of hack that we might want to stay away from.
> In Visual C++ on Windows I used to have explicit export definition
> files for DLLs listing the symbols to be exported - is there no such
> easy way on other platforms to limit the exported symbols to those
> potentially invoked by developers embedding Mono?
The linker script would help here, but someone has to figure it out and
maintain it.
From alftoro at gmail.com Mon Oct 16 22:01:48 2006
From: alftoro at gmail.com (Alfredo Torres)
Date: Mon, 16 Oct 2006 19:01:48 -0700
Subject: [Mono-list] Mono 1.1.18 last release before Mono 1.2.
In-Reply-To: <1161018325.5569.9.camel@erandi.dom>
References: <1161018325.5569.9.camel@erandi.dom>
Message-ID: <1e10440610161901yc4ed456x558dbb4fdaa6fde7@mail.gmail.com>
Hello Everyone,
I'm a little confused about the status of the VB runtime envinronment. The
VB.NET support page indicates that a new runtime is under development,
however, the release notes for Mono 1.1.18 indicates improvements to the new
runtime.
Is the new runtime included with 1.1.18?
Thank your help
Alfredo
On 10/16/06, Miguel de Icaza wrote:
>
> Hello,
>
> Mono 1.1.18 has been released, this is our last large release before
> Mono 1.2. Lots of improved and new things on this release, please see:
>
> http://www.go-mono.com/archive/1.1.18
>
> Miguel.
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061016/ca065bc8/attachment.html
From miguel at ximian.com Mon Oct 16 23:46:53 2006
From: miguel at ximian.com (Miguel de Icaza)
Date: Mon, 16 Oct 2006 23:46:53 -0400
Subject: [Mono-list] Mono 1.1.18 last release before Mono 1.2.
In-Reply-To: <1e10440610161901yc4ed456x558dbb4fdaa6fde7@mail.gmail.com>
References: <1161018325.5569.9.camel@erandi.dom>
<1e10440610161901yc4ed456x558dbb4fdaa6fde7@mail.gmail.com>
Message-ID: <1161056813.30002.47.camel@erandi.dom>
Hello,
> I'm a little confused about the status of the VB runtime envinronment.
> The VB.NET support page indicates that a new runtime is under
> development, however, the release notes for Mono 1.1.18 indicates
> improvements to the new runtime.
>
> Is the new runtime included with 1.1.18?
Yes, in the mono-basic source repository, or in the mono-basic RPM
Miguel.
From massi at ximian.com Tue Oct 17 02:59:21 2006
From: massi at ximian.com (Massimiliano Mantione)
Date: Tue, 17 Oct 2006 08:59:21 +0200
Subject: [Mono-list] Gecko.WebControl Follow Up
In-Reply-To: <1161033806.8520.10.camel@localhost.localdomain>
References: <1161033806.8520.10.camel@localhost.localdomain>
Message-ID: <1161068361.26185.4.camel@matrix.ximian.com>
On Mon, 2006-10-16 at 22:23 +0100, Tom Haddon wrote:
> Unhandled Exception:
> System.DllNotFoundException: /usr/lib/firefox/libgtkembedmoz.so
> at (wrapper managed-to-native)
The library is there, but the Mono runtime does not know about it :-)
Typically, you just have to add /usr/lib/firefox to the LD_LIBRARY_PATH
(or, if you prefer, to /etc/ld.so.conf and run ldconfig).
Ciao,
Massi
From joe.audette at gmail.com Mon Oct 16 10:33:42 2006
From: joe.audette at gmail.com (Joe Audette)
Date: Mon, 16 Oct 2006 09:33:42 -0500
Subject: [Mono-list] SPAM-LOW: ASP.NET Mono/Apache CentOS Tutorial
In-Reply-To: <20061016135745.EFQK10827.ibm67aec.bellsouth.net@YOUR588B4A13EA>
References: <136A540C5A2E6B4A809F5AFD747773177248E6@sbs.PCSSINC.local>
<20061016135745.EFQK10827.ibm67aec.bellsouth.net@YOUR588B4A13EA>
Message-ID: <27d75530610160733x474b368en1e0e89e389a03ffe@mail.gmail.com>
I have a little tutorial here
http://www.joeaudette.com/settingupapachevirtualhostswithmod_mono.aspx
its based on Suse and I think some of the apache config settings are out of
date.
Specifically, quoting a previous message on this list:
Starting with 1.1.17, mod_mono expects that the config directive
'MonoServerPath' is pointing to a native executable.
Check your Apache config and remove or change MonoServerPath
to point to /usr/bin/mod-mono-server.
Still it may help some. I assume you have also seen the documentation here:
http://www.mono-project.com/Mod_mono
Hope it helps,
Joe
On 10/16/06, Lee wrote:
>
> > Subject: SPAM-LOW: [Mono-list] ASP.NET Mono/Apache CentOS Tutorial
> >
> > Hello,
> >
> > I'm trying to setup mod_mono on CentOS and would appreciate
> > any information that may lead to a good tutorial for
> > beginners. Thanks in advance.
> >
> >
>
> I would like to see something like this as well. I'm a windows programmer
> for almost 10 years now, but am new to linux/mono. A step by step would
> be
> nice to see.
>
> Lee
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20061016/95c49160/attachment.html
From pointer at inbox.lv Mon Oct 16 17:23:33 2006
From: pointer at inbox.lv (SPUHPointer)
Date: Mon, 16 Oct 2006 14:23:33 -0700 (PDT)
Subject: [Mono-list] ASP.NET 2.0 on mono above 1.1.13
Message-ID: <6843746.post@talk.nabble.com>
Hi All,
I have problem. I am trying to run some simple asp.net 2.0 web pages under
Mono (even using xsp2) and I got all the time error (in browser):
XML Parsing Error: no element found
Location: http://127.0.0.1:1234/Default.aspx
Line Number 1, Column 1:
This happens to all version of mono above 1.1.13.
What could be solution for this? To Get asp.net 2.0 site running?
Thanks in advance!
--
View this message in context: http://www.nabble.com/ASP.NET-2.0-on-mono-above-1.1.13-tf2455375.html#a6843746
Sent from the Mono - General mailing list archive at Nabble.com.
From robertj at gmx.net Tue Oct 17 04:01:19 2006
From: robertj at gmx.net (Robert Jordan)
Date: Tue, 17 Oct 2006 10:01:19 +0200
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To: <1161049587.30002.38.camel@erandi.dom>
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160603641.4828.51.camel@erandi.dom> <1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk> <492E833B-557A-405D-AEE5-BF05BABDE453@web.de>
<1161049587.30002.38.camel@erandi.dom>
Message-ID:
Hi,
Miguel de Icaza wrote:
> Hello,
>
>>> I'd rather limit any renaming to the specific platform that
>>> requires it.
>>> In bug 77324 it's mentioned that we don't use a linker script on
>>> macosx;
>>> that should be the first part to be fixed imho.
>> Apart from not yet getting Mono to compile for any local experiments
>> whatsoever, I do know C but have no idea what a linker script is
>> supposed to be... Obviously some part of the existing auto* jungle
>> already leads to a linker being invoked. Sorry for my ignorance ...
>> so would that be an additional shell script or simply Makefile
>> changes or what? What does "we don't use a linker script on macosx"
>> mean in cleartext?
>
> I would probably go with some minimized set of defines myself.
>
> The linker script is a way of controlling what the linker does, but
> given the little knowledge among most of us about how to do this, its
> implications and the need to maintain it on the long term, it seems like
> the kind of hack that we might want to stay away from.
>
>> In Visual C++ on Windows I used to have explicit export definition
>> files for DLLs listing the symbols to be exported - is there no such
>> easy way on other platforms to limit the exported symbols to those
>> potentially invoked by developers embedding Mono?
>
> The linker script would help here, but someone has to figure it out and
> maintain it.
The problem is not those duplicate WAPI symbols.
It's the "export char **environ" declaration in metadate/icall.c,
which prevents libmono from being loaded from inside another
dll. This has forced people to link using the fuzzy Mac OS X LD
option '-undefined dynamic_lookup'.
This option leads to a world of pain, because even module global
symbols defined in static libraries (like libwapi) are dynamically
resolved. libmono was ending up calling Carbon's GetCurrentThread
due to this option.
Until the runtime gets fixed (I'll provide a patch), the
workaround is to define and initialize "environ" from
within the dll that links libmono. Do *not* link with
'-undefined dynamic_lookup' any more:
#include
#include
char **environ = NULL;
void foo ()
{
environ = *_NSGetEnviron ();
mono_jit_init ("FooDomain");
}
Robert
From andreas.faerber at web.de Tue Oct 17 05:37:11 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Tue, 17 Oct 2006 11:37:11 +0200
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To:
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160603641.4828.51.camel@erandi.dom> <1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk> <492E833B-557A-405D-AEE5-BF05BABDE453@web.de>
<1161049587.30002.38.camel@erandi.dom>
Message-ID:
Hi,
Am 17.10.2006 um 10:01 schrieb Robert Jordan:
> The problem is not those duplicate WAPI symbols.
>
> It's the "export char **environ" declaration in metadate/icall.c,
> which prevents libmono from being loaded from inside another
> dll. This has forced people to link using the fuzzy Mac OS X LD
> option '-undefined dynamic_lookup'.
>
> This option leads to a world of pain, because even module global
> symbols defined in static libraries (like libwapi) are dynamically
> resolved. libmono was ending up calling Carbon's GetCurrentThread
> due to this option.
>
> Until the runtime gets fixed (I'll provide a patch), the
> workaround is to define and initialize "environ" from
> within the dll that links libmono.
Unfortunately I cannot confirm this.
> Do *not* link with
> '-undefined dynamic_lookup' any more:
>
> #include
> #include
>
> char **environ = NULL;
>
> void foo ()
> {
> environ = *_NSGetEnviron ();
> mono_jit_init ("FooDomain");
> }
Using official Mono 1.1.18, removing the -undefined dynamic_lookup (I
did ask about it in my original message!) does not lead to any change:
mono_jit_init
** ERROR **: file threads.c: line 420 (mono_thread_attach): assertion
failed: (thread_handle)
aborting...
=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries
used by your application.
=================================================================
Stacktrace:
(where the "mono_jit_init" line is a printf output just before
mono_jit_init, on return there would be another output)
Could it be the combination of both renaming the symbols *and* fixing
the dynamic_lookup workaround?
Andreas
P.S. On a related topic: When I recently moved from 1.1.17.2 to
1.1.18 I had to recompile my native code because it is somehow being
hardcoded to the current version - do you know a way to make this
work independent of the installed Mono framework version?
From kornelpal at gmail.com Tue Oct 17 05:41:36 2006
From: kornelpal at gmail.com (=?iso-8859-1?B?S29ybulsIFDhbA==?=)
Date: Tue, 17 Oct 2006 11:41:36 +0200
Subject: [Mono-list] [Mono-dev] Mono 1.1.18 last release before Mono 1.2.
References:
Message-ID: <000801c6f1d0$7157d130$0100a8c0@kornelpal.hu>
>I have no idea if the vbnc (new vb compiler which replaces the old 'mbas'
>vb compiler) >will be included in mono 1.1.18
vbnc currently has two problems:
- not working on Mono (the bugs are most likely in Mono)
- only supports generating 2.0 binaries (no 1.1 support and gerenrics cannot
be disabled)
Note that I tested vbnc on MS.NET with our VB runtime and I found that vbnc
is able to work with it with one exception:
Microsoft.VisualBasic.CompilerServices.Conversions should be completely
rewritten because it supports different set of conversions than the
appropriate Type classes. This class exists because it has unique
functionality.
Korn?l
From robertj at gmx.net Tue Oct 17 07:24:05 2006
From: robertj at gmx.net (Robert Jordan)
Date: Tue, 17 Oct 2006 13:24:05 +0200
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To:
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160603641.4828.51.camel@erandi.dom> <1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk> <492E833B-557A-405D-AEE5-BF05BABDE453@web.de> <1161049587.30002.38.camel@erandi.dom>
Message-ID:
Andreas F?rber wrote:
>> Until the runtime gets fixed (I'll provide a patch), the
>> workaround is to define and initialize "environ" from
>> within the dll that links libmono.
>
> Unfortunately I cannot confirm this.
>
>> Do *not* link with
>> '-undefined dynamic_lookup' any more:
>>
>> #include
>> #include
>>
>> char **environ = NULL;
>>
>> void foo ()
>> {
>> environ = *_NSGetEnviron ();
>> mono_jit_init ("FooDomain");
>> }
>
> Using official Mono 1.1.18, removing the -undefined dynamic_lookup (I
> did ask about it in my original message!) does not lead to any change:
Please provide some kind of self-containing test case.
Robert
From andreas.faerber at web.de Tue Oct 17 08:40:06 2006
From: andreas.faerber at web.de (=?ISO-8859-1?Q?Andreas_F=E4rber?=)
Date: Tue, 17 Oct 2006 14:40:06 +0200
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To:
References: <1160435515.4966.12.camel@erandi.dom> <4601115D-3A39-442B-9A7C-1E2D89E26740@web.de> <1160603641.4828.51.camel@erandi.dom> <1160662485.9862.543.camel@hagbard.apathetic.discordia.org.uk> <492E833B-557A-405D-AEE5-BF05BABDE453@web.de> <1161049587.30002.38.camel@erandi.dom>
Message-ID:
Hi,
Am 17.10.2006 um 13:24 schrieb Robert Jordan:
>> Using official Mono 1.1.18, removing the -undefined dynamic_lookup
>> [...] does not lead to any change
>
> Please provide some kind of self-containing test case.
The attached Objective-C source file Test.m contains the code to
embed the Mono runtime within an Xcode plugin. Create a loadable
Cocoa bundle project. Set as strings in Info.plist NSPrincipleClass
to MCSPlugin, LoadAtLaunch to YES, XCPluginHasUI to NO; set the
bundle extension to pbplugin. Link with Cocoa framework, Mono
framework, and the system-private frameworks DevToolsCore (not sure
if necessary) and DevToolsInterface (defines PBXLSPlugin). To
execute, copy .pbplugin to /Library/Application Support/Apple/
Developer Tools/Plug-ins and (re-)start Xcode; read Console output
during Xcode startup.
It expects to find an executable assembly Test.exe in Contents/
Resources but as the error is already with mono_jit_init this
shouldn't matter. Oh, and I've only tested your proposed workaround
on Intel, where the problem occurred in the first place. (doing some
more proofs ;)
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Test.m
Type: application/octet-stream
Size: 1429 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/mono-list/attachments/20061017/ddf4c727/attachment.obj
-------------- next part --------------
From fxjrlists at yahoo.com.br Tue Oct 17 09:33:36 2006
From: fxjrlists at yahoo.com.br (Francisco Figueiredo Jr.)
Date: Tue, 17 Oct 2006 11:33:36 -0200
Subject: [Mono-list] Npgsql 1.0 Released!!
Message-ID: <4534DBB0.4070806@yahoo.com.br>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all,
I'd like to say that Npgsql Development Team has released version 1.0
of Npgsql.
Npgsql is a .Net Provider for Postgresql 7.x and 8.x. It allows your
.Net programs access a Postgresql backend.
More info about it can be found at:
http://www.mono-project.com/PostgreSQL
and
http://npgsql.projects.postgresql.org
Release notes: http://pgfoundry.org/frs/shownotes.php?release_id=662
This version marks an end of a cycle and the beginning of another: add
support for .net 2.0 and ado.net 2.0 to Npgsql. This work will be done
using current Npgsql 1.0 code base. This way we expect to have a working
ado.net 2.0 enabled build really soon. We also have a lot of
optimizations we want to do to make Npgsql much faster and much more
feature complete. Stay tuned!
Special Thanks:
* God, for allowing this to happen.
* All users and developers who give feedback and comments about Npgsql.
Without your help this won't be possible.
Please, give it a try and let me know of any problems you get.
Download Page:
http://pgfoundry.org/frs/?group_id=1000140
Thank you very much, guys! You are great!!
P.S.: Sorry for sending this message so late. I was having problems with
my Internet connection.
P.P.S: Note: Mono svn will be updated soon.
- --
Regards,
Francisco Figueiredo Jr.
http://fxjr.blogspot.com
Npgsql Lead Developer
http://npgsql.projects.postgresql.org
Mono Project Contributor
http://www.go-mono.com
MonoBrasil Project Founder Member
http://monobrasil.softwarelivre.org
- --
- Would you tell me, please, which way I ought to go from here?
- That depends a good deal on where you want to get to.
-- Lewis Carroll "Alice's Adventures in Wonderland"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iQEVAwUBRTTbmf7iFmsNzeXfAQIjQQf9E8c86Ke+YfFLdM0D8v2Gcb9m4N29vHs/
ZTLZu+04ZBpjQuOBMKuNWeJnHswudbrxHbhmUEaGkz7zUjXtuYkm8Yj4cldB4cax
Cy4hM8bF5K0ErG0R7BCMnjzaC5e/DVZspqLn7oYLOtni8+jm0i8KNIZleOy3Ptjp
3fdeTnvO8p6HFfJpjV4QE17DaGPD0gqcZ7WiK9s36Zua1T/nbBD4puLL7jpS9aQn
Ih4YMoMm396AfGlVVVxt7NtGFnm/sQ4fviraRKPJTtJKm/iBINkHEa8WhO/OtOJa
/HNj00NVHYwmqN8omf0PyOVihHJkoACPGAXMVY2xIkYezTqDviniOg==
=B84q
-----END PGP SIGNATURE-----
_______________________________________________________
Novidade no Yahoo! Mail: receba alertas de novas mensagens no seu celular. Registre seu aparelho agora!
http://br.mobile.yahoo.com/mailalertas/
From lluis at ximian.com Tue Oct 17 04:51:06 2006
From: lluis at ximian.com (Lluis Sanchez)
Date: Tue, 17 Oct 2006 10:51:06 +0200
Subject: [Mono-list] C# Web Services : bad WSDL generation
In-Reply-To: <7c23a9ae0610150237r728c0486m119d85718f0dacf7@mail.gmail.com>
References: <7c23a9ae0610150237r728c0486m119d85718f0dacf7@mail.gmail.com>
Message-ID: <1161075066.3915.15.camel@portador.site>
Hi,
Web service support for xsp2 is not finished and it is likely to have
bugs. You should use xsp for now.
Lluis.
El dg 15 de 10 del 2006 a les 11:37 +0200, en/na S?bastien Mosser va
escriure:
> Hi everybody.
>
> I'm working on C# web services with my french research team, and I've
> got some troubles using gmcs & xsp.
>
> When I run my HelloWorld Web Service in xsp2 (service dll was compiled
> using gmcs), I've got the following error printed in the web page
> (http://localhost:8080/HelloWorld.asmx) :
>
> This web service does not conform to WS-I Basic Profile v1.0
> * R2701: The wsdl:binding element in a DESCRIPTION MUST be
> constructed so that its soapbind:binding child element specifies the
> transport attribute
> o Binding 'HelloWorldHttpGet', in Service Description
> 'http://petitroll.free.fr/WS/hello'
> o Binding 'HelloWorldHttpPost', in Service Description
> 'http://petitroll.free.fr/WS/hello'
>
> If I try to build a proxy, using wsdl, no problems. using wsdl2, same
> error shoot again :'(
>
> petitroll at bartimeus:~$ wsdl2 http://bartimeus:8080/HelloWorld.asmx?WSDL
> Web Services Description Language Utility
> Mono Framework v2.0.50727.42
> There where some warnings while generating the code:
> http://bartimeus:8080/HelloWorld.asmx?WSDL
> [same text as above, describing R2701 error]
>
> The same problem append on my iBook and on my Kubuntu :'(.
>
> I'm using the following asmx file :
> petitroll at bartimeus:~/HelloWs$ cat HelloWorld.asmx
> <%@ WebService Language="C#" Class="Rainbow.HelloWorld" %>
> petitroll at bartimeus:~/HelloWs$
>
> And the following code-behind file, compiled by :
> gmcs -t:library -r:System.Web.Services \
> -out:bin/HelloWorld.dll HelloWorld.cs
>
> petitroll at bartimeus:~/HelloWs$ cat HelloWorld.cs
> /** My first Web service using Mono
> * author : Sebastian Mosser
> * institute : Polytech'Sophia / CNRS / I3S / Rainbow Team
> * Date : October 2006
> */
>
> using System;
> using System.Web.Services;
>
> namespace Rainbow
> {
> [WebService(Namespace="http://rainbow.essi.fr/isl4ws/sandbox",
> Description="My first Mono Web Service ;-) ")]
> public class HelloWorld : System.Web.Services.WebService
> {
>
> [WebMethod(Description="Say Hello to someone")]
> public string SayHello(string who)
> {
> return String.Format("Hello, {0} !", who);
> }
>
> [WebMethod(Description="Say Hello to the World !")]
> public string HelloToTheWorld()
> {
> return SayHello("world");
> }
> }
> }
> petitroll at bartimeus:~/HelloWs$
>
> If somebody has an idea ... ^_^
>
> Thanks !
>
From monodanmorg at yahoo.com Tue Oct 17 11:35:52 2006
From: monodanmorg at yahoo.com (Daniel Morgan)
Date: Tue, 17 Oct 2006 08:35:52 -0700 (PDT)
Subject: [Mono-list] Npgsql 1.0 Released!!
In-Reply-To: <4534DBB0.4070806@yahoo.com.br>
Message-ID: <20061017153552.21901.qmail@web30806.mail.mud.yahoo.com>
Nice work Francisco!
Feel free to email the mono lists or provide patches
to Mono to make sure that Npgsql can fully support
ADO.NET 2.0 features.
--- "Francisco Figueiredo Jr."
wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> Hi all,
>
> I'd like to say that Npgsql Development Team has
> released version 1.0
> of Npgsql.
>
>
> Npgsql is a .Net Provider for Postgresql 7.x and
> 8.x. It allows your
> .Net programs access a Postgresql backend.
>
> More info about it can be found at:
>
> http://www.mono-project.com/PostgreSQL
> and
> http://npgsql.projects.postgresql.org
>
>
> Release notes:
>
http://pgfoundry.org/frs/shownotes.php?release_id=662
>
>
> This version marks an end of a cycle and the
> beginning of another: add
> support for .net 2.0 and ado.net 2.0 to Npgsql. This
> work will be done
> using current Npgsql 1.0 code base. This way we
> expect to have a working
> ado.net 2.0 enabled build really soon. We also have
> a lot of
> optimizations we want to do to make Npgsql much
> faster and much more
> feature complete. Stay tuned!
>
>
>
> Special Thanks:
>
> * God, for allowing this to happen.
>
> * All users and developers who give feedback and
> comments about Npgsql.
> Without your help this won't be possible.
>
>
> Please, give it a try and let me know of any
> problems you get.
>
>
> Download Page:
> http://pgfoundry.org/frs/?group_id=1000140
>
>
> Thank you very much, guys! You are great!!
>
>
> P.S.: Sorry for sending this message so late. I was
> having problems with
> my Internet connection.
>
> P.P.S: Note: Mono svn will be updated soon.
>
> - --
> Regards,
>
> Francisco Figueiredo Jr.
> http://fxjr.blogspot.com
> Npgsql Lead Developer
> http://npgsql.projects.postgresql.org
> Mono Project Contributor
> http://www.go-mono.com
> MonoBrasil Project Founder Member
> http://monobrasil.softwarelivre.org
>
>
> - --
> - Would you tell me, please, which way I ought to
> go from here?
> - That depends a good deal on where you want to get
> to.
> -- Lewis Carroll "Alice's Adventures in
> Wonderland"
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.4 (GNU/Linux)
> Comment: Using GnuPG with Mozilla -
> http://enigmail.mozdev.org
>
>
iQEVAwUBRTTbmf7iFmsNzeXfAQIjQQf9E8c86Ke+YfFLdM0D8v2Gcb9m4N29vHs/
>
ZTLZu+04ZBpjQuOBMKuNWeJnHswudbrxHbhmUEaGkz7zUjXtuYkm8Yj4cldB4cax
>
Cy4hM8bF5K0ErG0R7BCMnjzaC5e/DVZspqLn7oYLOtni8+jm0i8KNIZleOy3Ptjp
>
3fdeTnvO8p6HFfJpjV4QE17DaGPD0gqcZ7WiK9s36Zua1T/nbBD4puLL7jpS9aQn
>
Ih4YMoMm396AfGlVVVxt7NtGFnm/sQ4fviraRKPJTtJKm/iBINkHEa8WhO/OtOJa
>
/HNj00NVHYwmqN8omf0PyOVihHJkoACPGAXMVY2xIkYezTqDviniOg==
> =B84q
> -----END PGP SIGNATURE-----
>
>
>
_______________________________________________________
>
> Novidade no Yahoo! Mail: receba alertas de novas
> mensagens no seu celular. Registre seu aparelho
> agora!
> http://br.mobile.yahoo.com/mailalertas/
>
>
> _______________________________________________
> Mono-list maillist - Mono-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-list
>
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
From robertj at gmx.net Tue Oct 17 17:52:27 2006
From: robertj at gmx.net (Robert Jordan)
Date: Tue, 17 Oct 2006 23:52:27 +0200
Subject: [Mono-list] io-layer naming issues on OSX.
In-Reply-To:
References: