Re: [Mono-list] Beta testers wanted: Linux installer.
Similar thing with Slackware 9.1. I had to add /usr/X11R6/bin to the path after typing su so that the shell script part of the install could find the xhost command. Then, I got the same message as the others: "The installer was unable to identify your operating system. This is not surprising since I don't think Red Carpet supports Slackware, but just FYI. Dean ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Building Mono
Hello, I've been trying to figure out a repeatable build process myself. It would seem it just doesn't exist at this point. Oh, and once you get past the libgc error, there will be another error, and then another, and then another. The build is totally broken. Recently Giovanni Zito posted a detailed installation description on windows build to mono-devel-list. http://lists.ximian.com/archives/public/mono-devel-list/2004-January/003439.html Atsushi Eno ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Jit Method Compilation
Hi all I'm about reading the code of the jit engine. I asked me know where the compiled code of the main-method gets actually executed. It must be somewhere within the architecture dependend code (e.g. mini-x86.c). Could somebody point me to this method or line of code? Any comments on that and the re-triggering of the compilation of further methods with magic trampolin are of course appreciated. -Marco ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Building Mono
I've been trying to figure out a repeatable build process myself. It would seem it just doesn't exist at this point. Oh, and once you get past the libgc error, there will be another error, and then another, and then another. The build is totally broken. To get past the libgc error, I downloaded libgc-dev from http://www.go-mono.org/archive/libgc-dev.zip, unzipped it in my mono build folder, and copied gc.dll to /usr/lib. Someone on IRC gave me this link and said they followed the instructions in it to build the .29 windows binary: http://lists.ximian.com/archives/public/mono-devel-list/2003-October/002246.html But I had no luck following those instructions with a vanilla fresh Cygwin 1.5.5-1 full install. Joe > I am trying to build Mono from CVS. I have cygwin working. I can build > mcs just fine. I believe I have libgc installed correctly (installed by > downloading gc6.2.tar.gz into /usr/src, expanding it, and doing > ./configure; make; make install from /usr/src/gc6.2) but I don't know for > sure as I am experiencing the following problem when running ./autogen.sh > - prefix=/usr/local from my mono directory: > > Checking gc.h usability... no > Checking gc.h presence... no > Checking for gc.h... no > Checking gc/gc.h usability... no > Checking gc/gc.h presence... no > Checking for gc/gc.h... no > Checking for GC_malloc in -lgc... no > Error: "GC requested but libgc not found! Install libgc or run configure > with -with-gc=none." > > I'm an experienced developer and Windows guy but have limited knowledge of > Unix and cygwin so I know I am doing something stupid here. I checked the > list archives but found nothing that helped me get past this issue. I'd > really like to get this build process working so I can contribute > effectively in the xml.schema area. Can anyone point me in the right > direction? > > I ran into a similar problem with glib and got past it just fine. I > followed more or less the same process (go get the archive, expand it, > build it and install it) with the libgc without success. > > Here's the deal: if I can get this thing working I will document it so we > have a repeatable process for morons like me :-). Note that I do have an > installed copy of mono 0.29 on the Windows box (not under cygwin). I just > want to build the latest as it contains some fixes for my schema issues. > > Thanks > - > Tom Cabanski > > > > ___ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list > ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] A Build Profiles Issue
Hi Peter! Yeah, then I added the 'export' command/statement to each var and it works.. but just for a moment cause when it starts compiling a lib (I dont remember which one) it stops giving me a message that corlib.dll and other lib and apps could not be found. Seeya! El mié, 07-01-2004 a las 14:41, Peter Williams escribió: > Hi Pablo, > > On Wed, 2004-01-07 at 00:44, Pablo Fischer wrote: > > And then I build it with > > > > $ make PROFILE=debian > > > > And obvious, it stops, why? don't know.. but I found that if I export > > every variable it start compiling some libs but then it stops again > > giving me an error that It can not find corlib.dll (and corlib is in the > > mono path!). > > > > Also, I was looking the other profiles and any of them export their > > variables. > > Have you tried adding 'export' statements to your profile? > > export MONO_PATH > export PATH > export BOOTSTRAP_MCS > > > That causes make to set the variable for sub-makes and set it in the > environment, which is what you need for the PATH variables. > > Peter ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Building Mono
I am trying to build Mono from CVS. I have cygwin working. I can build mcs just fine. I believe I have libgc installed correctly (installed by downloading gc6.2.tar.gz into /usr/src, expanding it, and doing ./configure; make; make install from /usr/src/gc6.2) but I don't know for sure as I am experiencing the following problem when running ./autogen.sh - prefix=/usr/local from my mono directory: Checking gc.h usability... no Checking gc.h presence... no Checking for gc.h... no Checking gc/gc.h usability... no Checking gc/gc.h presence... no Checking for gc/gc.h... no Checking for GC_malloc in -lgc... no Error: "GC requested but libgc not found! Install libgc or run configure with -with-gc=none." I'm an experienced developer and Windows guy but have limited knowledge of Unix and cygwin so I know I am doing something stupid here. I checked the list archives but found nothing that helped me get past this issue. I'd really like to get this build process working so I can contribute effectively in the xml.schema area. Can anyone point me in the right direction? I ran into a similar problem with glib and got past it just fine. I followed more or less the same process (go get the archive, expand it, build it and install it) with the libgc without success. Here's the deal: if I can get this thing working I will document it so we have a repeatable process for morons like me :-). Note that I do have an installed copy of mono 0.29 on the Windows box (not under cygwin). I just want to build the latest as it contains some fixes for my schema issues. Thanks - Tom Cabanski ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] A Build Profiles Issue
Hi Pablo, On Wed, 2004-01-07 at 00:44, Pablo Fischer wrote: > And then I build it with > > $ make PROFILE=debian > > And obvious, it stops, why? don't know.. but I found that if I export > every variable it start compiling some libs but then it stops again > giving me an error that It can not find corlib.dll (and corlib is in the > mono path!). > > Also, I was looking the other profiles and any of them export their > variables. Have you tried adding 'export' statements to your profile? export MONO_PATH export PATH export BOOTSTRAP_MCS That causes make to set the variable for sub-makes and set it in the environment, which is what you need for the PATH variables. Peter -- Peter Williams [EMAIL PROTECTED] "[Ninjas] are cool; and by cool, I mean totally sweet." -- REAL Ultimate Power ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] translations.cs from nunit-gtk
I'm trying to get some I18N stuff to work with C# and have a copy of translations.cs from nunit-gtk. I have the following main.cs file: using System; using System.IO; using System.Reflection; namespace mytest { public class mt { static string _ (string key) { return ResMan.GetString (key); } public static void Main (string[] args) { Console.WriteLine(_("This is a test")); } } } My makefile is as follows: MCS = mcs RESOURCES= /resource:./strings.resources,strings.resources \ /resource:./strings.fr.resources,strings.fr.resources SOURCES = main.cs translation.cs all: mytest.exe mytest.exe: $(SOURCES) $(MCS) $(RESOURCES) -o $@ $(SOURCES) clean: -rm *.exe I have a strings.fr.txt file with: # main.cs: 16 This_is_a_test = C'est un essai this has been run through monoresgen. If I export LANG=fr_FR the translation doesn't work. Can anyone give me any pointers here? If I put a writeline statement in the "_" function it seems to be called but the translations aren't done. Thanks -- George Farris <[EMAIL PROTECTED]> ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Mono and Apache via mod_mono: Userdirs and virtualhosts?
Chris Shepherd wrote: Hi, I've got mono working quite well with the default site I have configured, but I am looking to have it also support userdirs (style of: http://my.site.com/~user) and virtual hosts that are contained in separate directory trees even. I have my vhosts setup so that FTP access is jailed to the vhost's actual directory, and apache is configured to log into each vhost directory and so forth. The vhosts exist in /var/vhost/, and the default vhost uses "www" as its name. Now, it works just fine, but I have to set the mono root to /var/vhost/www/public_html (the webroot for this vhost) or none of the applications appear to work. Is there any documentation/guides that can help me set mono up for this? Nobody can point me in the right direction/tell me it isn't possible?? -- Chris Shepherd Wise man say, chemist who falls into acid, absorbed in his work. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Beta testers wanted: Linux installer.
Hello Miguel! go-ximian: 1.0 (Mon Jun 9 15:09:08 EDT 2003) First I'm going to verify your RPM database. Pre-existing problems with your database could cause the Ximian Installer to fail, possibly leading to system corruption. This should only take a few seconds. I've detected a possible problem with your RPM database. I'm going to try and repair the database, using the `rpm' command. This may take a few minutes to complete. I'm also going to keep a full log of everything I do in /var/cache/redcarpet/rpm-rebuild.log. If you'd rather examine the database yourself, please press Control-C; otherwise, just hit ENTER. I was unable to repair your RPM database; please examine /var/cache/redcarpet/rpm-rebuild.log. For further assistance, please contact <[EMAIL PROTECTED]>. Cleaning up temporary files... done. /var/cache/redcarpet/rpm-rebuild.log: D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.3478 D: creating directory /var/lib/rpmrebuilddb.3478 D: opening old database with dbapi 3 D: opening db index /var/lib/rpm/Packages rdonly mode=0x0 D: closed db index /var/lib/rpm/Packages D: opening db file/var/lib/rpm/packages.rpm mode 0x0 D: closed db file/var/lib/rpm/packages.rpm error: cannot open Packages index D: removing directory /var/lib/rpmrebuilddb.3478 Using debian and SID CU Michael -- Michael Ott, e-mail: [EMAIL PROTECTED], www.zolnott.de I am registered as user #275453 with the Linux Counter, http://counter.li.org. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Monohispano
Don't you forget that there is a monoar group at yahoo, where hackers reunite to create a new Empire of Rio de la Plata. The first step towards world domination, of course. > Hi people! > > Any problems with the mailing list at MonoHispano? No message since > November And I can't send message to it... > > Angel "Java" Lopez > http://www.ajlopez.com/ > > ___ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Monohispano
Como dirían en mis pagos, si no te anda Monohispano, agarramela con la mano. Pablo -- chucrut es realmente una palabra graciosa > Hi people! > > Any problems with the mailing list at MonoHispano? No message since > November And I can't send message to it... > > Angel "Java" Lopez > http://www.ajlopez.com/ > ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Enumerating over XmlSchemaComplexType.AttributeUses should return DictionaryEntry objects?
Hello, > foreach (DictionaryEntry entry in complexType.AttributeUses) > { > XmlSchemaAttribute attribute = (XmlSchemaAttribute)entry.Value; > } Thanks, good catch again. I am going to fix. > BTW, in other areas, for example the elements collection of the > schema itself, Microsoft's enumeration over the XmlSchemaObjectTable > returns the object and not a DictionaryEntry. That is, enumerating > over the Elements property of the schema returns XmlSchemaElement > objects. Yes, XmlSchemaObjectTable and XmlSchemaObjectCollection looks different in this context. > I've worked around it for now in my code with a conditional > compilation switch as I need to support both runtimes. I assume > this issue needs to be fixed as Mono's goal is to be a superset > of Microsoft's runtime. Am I correct? Basically, I think. However, we should not always rely on their concrete behavior. They might change their concrete logic (even though they are likely to create new classes, putting old classes aside). So we should demand compatibility as long as it is rational. (For example, we should not raise an error for new Uri ("/home/atsushi/test.xml") .) Thanks, Atsushi Eno ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Beta testers wanted: Linux installer.
Hello Miguel! go-ximian: 1.0 (Mon Jun 9 15:09:08 EDT 2003) First I'm going to verify your RPM database. Pre-existing problems with your database could cause the Ximian Installer to fail, possibly leading to system corruption. This should only take a few seconds. I've detected a possible problem with your RPM database. I'm going to try and repair the database, using the `rpm' command. This may take a few minutes to complete. I'm also going to keep a full log of everything I do in /var/cache/redcarpet/rpm-rebuild.log. If you'd rather examine the database yourself, please press Control-C; otherwise, just hit ENTER. I was unable to repair your RPM database; please examine /var/cache/redcarpet/rpm-rebuild.log. For further assistance, please contact <[EMAIL PROTECTED]>. Cleaning up temporary files... done. /var/cache/redcarpet/rpm-rebuild.log: D: rebuilding database /var/lib/rpm into /var/lib/rpmrebuilddb.3478 D: creating directory /var/lib/rpmrebuilddb.3478 D: opening old database with dbapi 3 D: opening db index /var/lib/rpm/Packages rdonly mode=0x0 D: closed db index /var/lib/rpm/Packages D: opening db file/var/lib/rpm/packages.rpm mode 0x0 D: closed db file/var/lib/rpm/packages.rpm error: cannot open Packages index D: removing directory /var/lib/rpmrebuilddb.3478 Using debian and SID CU Michael -- Michael Ott, e-mail: [EMAIL PROTECTED], www.zolnott.de I am registered as user #275453 with the Linux Counter, http://counter.li.org. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
AW: [Mono-list] Beta testers wanted: Linux installer.
Same error, but MSC linux osrelease: 2.4.16-1.msc-up -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Chris Fox Gesendet: Mittwoch, 7. Januar 2004 04:29 An: Evan Clarke; [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Betreff: Re: [Mono-list] Beta testers wanted: Linux installer. On Tuesday 06 January 2004 17:55, Evan Clarke wrote: > On Wed, 2004-01-07 at 05:11, Miguel de Icaza wrote: > > I want to test the new Linux Installer for Mono before we make > > it public to everyone, if you are interested in testing the new > > installer, please follow these steps: ... > > Miguel > > > Followed the instructions - downloaded and ran fine, except it did not > seem to recognise my distribution (Fedora Core 1). This is the error > message in full: > "The installer was unable to identify your operating system. > > Please mail the full text of this error to <[EMAIL PROTECTED]>. Ditto here exactly, Mandrake 9.1 x86 ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Help!
Hello, > I have got my mono and gnome# and gtk# installed > successfuly... i can compile and run normal C# > projects, working fine, but when i compile any gnome# > application, it says "cannot find assembly: > gnome-sharp.dll", but if I provide full path i.e. > /usr/local/bin/gnone-sharp.dll, or if I provide that > path in mcs with -lib argument, then the program gets > compiled successfuly. > > But I cannot run it in mono. mono still says, "Could > Not find assembly gnome-sharp.dll". > > I tried setting the env variable MONO_PATH, but if i > provide /usr/local/bin, then mono gives me a whole > bunch of errors. Sounds like you have conflicting assemblies installed, you are on the right path, but I can not help you without knowing what the last errors where. ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Issues in XmlSchema.XmlSchemaElement
Hello, You're not seeing my error because the compile gives up after the first error because it throws an exception. I found and fixed the whitespace facet because I discovered it was clearly a problem with the schema and a regex expression problem, which may or may not be a problem with the schema (more research required). This revealed the issue I posted. (If anyone cares, I can post the fixed schema or make it available for download somewhere). Sadly to say, regular expression support is not compliant, currently only delegating its process to sys.text.regularexpression. This should be fixed by implementing another regular expression processor. Thanks to the report, I just found and fixed UPA problem, after cutting several regexp facets out. I'm 100% sure I won't be able to work around the ambiguous problem by fixing the schema because of the goofy way the standard works (JDF that is) and what goofy things they did in the schema to make it fit; it impacts literally thousands of elements. You see, the CIP4 folks didn't have the XML schema standard when they started so they made some decisions, like no ordering for child elements, that made it very hard to build the schema in the first place. Furthermore, they didn't want to break backwards compatibility even in the early days so they couldn't fix the standard to make it more compatible with how XML schema works. I don't worry about such case. At least we can create modified class library code to fit with wrong stuff. Mono is open source, and class libraries are under MIT/X11 license. It is really no problem. However, it is different problem that whether we as a main branch maintainer should take care of incorrect stuff, or not. doing a better job here. Anyway, the schema is maintained by a CIP4 person based on decisions made in a small committee. I'm going to submit the various facet problems and I would expect them to fix those. The ambiguity problem is going to be a lot tougher if it does turn out to be real and not a bug in Mono. Committee members will argue that if it passes XML Spy, Xerces and Microsoft it should be good enough. It would be nice to discuss with those people. Just following up - even Microsoft does good job on XML Schema, their implementation is not based on W3C recommendation. For example thay had to create more compliant schema collection named XmlSchemaSet in .NET 1.2. Thanks, Atsushi Eno ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Help!
Tried this: export MONO_PATH=/usr/local/bin:/usr/local/lib mcs -r gnome-sharp code.cs mono code.exe ?? See ya El mié, 07-01-2004 a las 10:50, Naveed Memon escribió: > Somebody help please! > > I have got my mono and gnome# and gtk# installed > successfuly... i can compile and run normal C# > projects, working fine, but when i compile any gnome# > application, it says "cannot find assembly: > gnome-sharp.dll", but if I provide full path i.e. > /usr/local/bin/gnone-sharp.dll, or if I provide that > path in mcs with -lib argument, then the program gets > compiled successfuly. > > But I cannot run it in mono. mono still says, "Could > Not find assembly gnome-sharp.dll". > > I tried setting the env variable MONO_PATH, but if i > provide /usr/local/bin, then mono gives me a whole > bunch of errors. > > Please help. > > __ > Do you Yahoo!? > Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes > http://hotjobs.sweepstakes.yahoo.com/signingbonus > ___ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list > ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Beta testers wanted: Linux installer.
Hello, on Suse 9.0 (i586) it is working. Helmut ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Monohispano
Hi people! Any problems with the mailing list at MonoHispano? No message since November And I can't send message to it... Angel "Java" Lopez http://www.ajlopez.com/ ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Help!
Somebody help please! I have got my mono and gnome# and gtk# installed successfuly... i can compile and run normal C# projects, working fine, but when i compile any gnome# application, it says "cannot find assembly: gnome-sharp.dll", but if I provide full path i.e. /usr/local/bin/gnone-sharp.dll, or if I provide that path in mcs with -lib argument, then the program gets compiled successfuly. But I cannot run it in mono. mono still says, "Could Not find assembly gnome-sharp.dll". I tried setting the env variable MONO_PATH, but if i provide /usr/local/bin, then mono gives me a whole bunch of errors. Please help. __ Do you Yahoo!? Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes http://hotjobs.sweepstakes.yahoo.com/signingbonus ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Problems compiling the Mono CVS with ICU
Hi, I've cvs updated my mono tree and tried compiling it. Here's what I get when I do that : System.Xml.Serialization/XmlSerializationWriterInterpreter.cs(134) error CS0019: Operator == cannot be applied to operands of type `System.Xml.Serialization.SerializationFormat' and `System.Xml.Serialization.SerializationFormat' System.Xml.Serialization/XmlSerializationWriterInterpreter.cs(279) error CS0019: Operator == cannot be applied to operands of type `System.Xml.Serialization.SerializationFormat' and `System.Xml.Serialization.SerializationFormat' System.Xml.Serialization/XmlSerializationWriterInterpreter.cs(356) error CS0019: Operator == cannot be applied to operands of type `System.Xml.Serialization.SerializationFormat' and `System.Xml.Serialization.SerializationFormat' System.Xml.Serialization/XmlSerializationWriterInterpreter.cs(432) error CS0019: Operator == cannot be applied to operands of type `System.Xml.Serialization.SerializationFormat' and `System.Xml.Serialization.SerializationFormat' System.Xml.Serialization/XmlSerializationWriterInterpreter.cs(455) error CS0019: Operator == cannot be applied to operands of type `System.Xml.Serialization.SchemaTypes' and `System.Xml.Serialization.SchemaTypes' System.Xml.Serialization/XmlTypeMapElementInfo.cs(139) error CS0019: Operator != cannot be applied to operands of type `System.Xml.Schema.XmlSchemaForm' and `System.Xml.Schema.XmlSchemaForm' System.Xml.Serialization/XmlTypeMapping.cs(318) error CS0019: Operator == cannot be applied to operands of type `System.Xml.Serialization.SchemaTypes' and `System.Xml.Serialization.SchemaTypes' I have another checkout (without ICU), that compiles just fine. Does anybody compile with ICU and has experienced/resolved the above errors ? And in general - what's more advisable/tested - with ICU or without it ? Best Regards, -- George Kodinov Email : [EMAIL PROTECTED] DeveloperWeb : http://www.openlinksw.com OpenLink SoftwarePhone : +359 32 637 475 XML & E-Business Infrastructure Technology Providers ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Enumerating over XmlSchemaComplexType.AttributeUses should return DictionaryEntry objects?
The following code works under the Microsoft runtime assuming complexType is a XmlSchemaComplexType object but fails with a type cast error under Mono: foreach (DictionaryEntry entry in complexType.AttributeUses) { XmlSchemaAttribute attribute = (XmlSchemaAttribute)entry.Value; } This is because Mono gives me an enumerator over XmlSchemaAttribute objects. I've identified where this occurs and can patch it. The problem is Microsoft's own documentation for GetEnumerator() of the XmlSchemaObjectTable (that's what XmlSchemaComplexType.AttributeUses is) says, "Returns an enumerator for the XmlSchemaObject contained in the collection". Cleary, Mono is doing the documented behavior instead of Microsoft's implemented behavior. BTW, in other areas, for example the elements collection of the schema itself, Microsoft's enumeration over the XmlSchemaObjectTable returns the object and not a DictionaryEntry. That is, enumerating over the Elements property of the schema returns XmlSchemaElement objects. I've worked around it for now in my code with a conditional compilation switch as I need to support both runtimes. I assume this issue needs to be fixed as Mono's goal is to be a superset of Microsoft's runtime. Am I correct? Thanks - Tom Cabanski ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
RE: [Mono-list] Issues in XmlSchema.XmlSchemaElement
You're not seeing my error because the compile gives up after the first error because it throws an exception. I found and fixed the whitespace facet because I discovered it was clearly a problem with the schema and a regex expression problem, which may or may not be a problem with the schema (more research required). This revealed the issue I posted. (If anyone cares, I can post the fixed schema or make it available for download somewhere). I'm 100% sure I won't be able to work around the ambiguous problem by fixing the schema because of the goofy way the standard works (JDF that is) and what goofy things they did in the schema to make it fit; it impacts literally thousands of elements. You see, the CIP4 folks didn't have the XML schema standard when they started so they made some decisions, like no ordering for child elements, that made it very hard to build the schema in the first place. Furthermore, they didn't want to break backwards compatibility even in the early days so they couldn't fix the standard to make it more compatible with how XML schema works. Note that Microsoft and Xerces both compile and work with this schema without difficulty. XML Spy does too. Very possibly, the Mono SOM is doing a better job here. Anyway, the schema is maintained by a CIP4 person based on decisions made in a small committee. I'm going to submit the various facet problems and I would expect them to fix those. The ambiguity problem is going to be a lot tougher if it does turn out to be real and not a bug in Mono. Committee members will argue that if it passes XML Spy, Xerces and Microsoft it should be good enough. I'm in a bit of a bind because I have a customer willing to OEM my toolkit if I can port it to Mono. I'm going to start with some improvements to the error handling so it doesn't stop on the first problem. That will at least make it easier to figure out what is going on. Incidentally, if I comment out the offending check in the XmlSchemaElement, the schema does compile. Who knows what that does to the SOM and how it works later? Anyway, I'll find that out as I move forward today. I'm running the IBM schema check tool now against the original JDF schema as someone else suggested right now. Thanks - Tom Cabanski -Original Message- From: Atsushi Eno [mailto:[EMAIL PROTECTED] Sent: Tuesday, January 06, 2004 10:35 PM To: Tom Cabanski Cc: [EMAIL PROTECTED] Subject: Re: [Mono-list] Issues in XmlSchema.XmlSchemaElement Hello, > indicated, only getting other simple type compilation error (I haven't > look into that detail). In JDFTypes.xsd, there are such schema components: Here LabColor derives NumberList by restriction. However, XML Schema structures 3.14.6 "Derivation Valid (Restriction, Simple)" denotes: 2 If the {variety} is list, then all of the following must be true: 2.2 Only length, minLength, maxLength, pattern and enumeration facet components are allowed among the {facets}. So here xs:whitespace facet is invalid. MS.NET fails to reject this schema, if my speculation is correct. Atsushi Eno ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] RE: Help MONO-MCS
From: Sanira M <[EMAIL PROTECTED]> Hello Sir Please spare your minutes in reading and replying this mail Iam a student from India.I tried downloading the mono source code and tried to compile the compiler.csproj that resides in the mcs folder. I got an error saying "Unable to open cs-parser.cs" How should i generate the cs-parser.cs from cs-parser.jay? Please reply.'Coz i need the compiler. Awaiting your reply Sanira That csproj there is outdated, because most people in mono don't use VS.NET. You have to use the makefile instead, that will call jay to generate mb-parser.cs from mb-parser.jay and them compile the compiler using csc (in windows). For that you'll need cygwin, because jay will have to be compiled with gcc, before it can be used and cygwin's make deals better with our makefiles than microsoft's one. If all of that doesn't make sense for you, you could simply download a precompiled mcs (get the latest monolite file from http://go-mono.com/daily/ and extract mcs.exe) or the windows installer (http://www.go-mono.com/archive/mono-0.29-win32-1.exe) Also in the future post such questions to the mono list ([EMAIL PROTECTED]), because there more people can help you. Best regards, Rafael Teixeira Brazilian Polymath Mono Hacker since 16 Jul 2001 MonoBrasil Founding Member - Membro Fundador do MonoBrasil English Blog: http://monoblog.blogspot.com/ Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/ _ MSN Messenger: instale grátis e converse com seus amigos. http://messenger.msn.com.br ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Beta testers wanted: Linux installer.
Miguel, This is was the error message on my box !! * The installer was unable to install all of the required packages on your system. Please report the full text of this error to . Package 'perl-XML-LibXML-Common' is not signed; verified package signatures are required for installation installer-ng 1.2.6 on Red Hat Linux 9 *** Hope this will help :-) Thanks Vamsi Krishna Novell, Bangalore On Tue, 2004-01-06 at 23:41, Miguel de Icaza wrote: > Hello, > > I want to test the new Linux Installer for Mono before we make it > public to everyone, if you are interested in testing the new installer, > please follow these steps: > > Open a terminal window. > Using the su command, become superuser (root). > Type the following command or cut and paste it into your terminal: > > wget -q -O - http://go.ximian.com |sh > > This will automatically download and run the Ximian Installer, > which will allow you to choose the software you wish to install. Once > you make your selections, the packages will be fetched from the > Internet and installed automatically. > > Please note, if you are using a proxy, replace the above line with: > > env http_proxy=http://host:port/ wget -q -O - http://go.ximian.com |sh > > Where "host" is your proxy host and "port" is your proxy port number. > > Having trouble installing? You can get help at our href="http://www.ximian.com/support/";>Support Center. > > Miguel > > ___ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Is mono-cvs.ximian.com currently behind a firewall?
[EMAIL PROTECTED] debugger]$ ssh mono-cvs.ximian.com -l rafael ssh: connect to host mono-cvs.ximian.com port 22: No route to host [EMAIL PROTECTED] debugger]$ ping -R mono-cvs.ximian.com PING mono-cvs.ximian.com (130.57.169.27) 56(124) bytes of data. From 12.127.106.33 icmp_seq=15 Packet filtered From 12.127.106.33 icmp_seq=21 Packet filtered Is this also a after-effect of the office relocation? When should it stabilize? Regards, Rafael Teixeira Brazilian Polymath Mono Hacker since 16 Jul 2001 MonoBrasil Founding Member - Membro Fundador do MonoBrasil English Blog: http://monoblog.blogspot.com/ Brazilian Portuguese Blog: http://monoblog.weblogger.terra.com.br/ _ MSN Messenger: instale grátis e converse com seus amigos. http://messenger.msn.com.br ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list
[Mono-list] Mono on OS/X Information - Boehm GC
I was poking around on the boehm-gc mailing list in an effort to get some information about the darwin/ppc/boehm problems that are preventing mono from fully utilizing it. In a nutshell, several major commits were made ~ dec 16th, which apparently correct a number of issues. The incremental collector is still flaky, but according to hans boehm and a number of other developers, darwin/ppc support is pretty solid under 10.2->10.3. There are a few caveats dealing with the use of pthreads and the mandate that the main executable call GC_INIT() before any dylibs do. But there is much more in the .readme info for the release, which can be found here... http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ gc6.3alpha4.tar.gz I have rebuilt mono from cvs with gc enabled (when ./configure (ing), i get GC: yes at the end), but I am not seeing vm size decreases consistent with any level of GC activity.. Besides performing a ./configure --with-gc, what steps are necessary to ensure that the new release of the boehm-gc is being used? I did compile it, and it successfully installed server .dylib's in /usr/local/lib. Thanks! ___ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list