Re: [Mono-list] Compile Mono with embedded glib
GLIBC is not eglib. eglib is a replacement for glib ( http://developer.gnome.org/glib/), not GNU libc, which is what GLIBC refers to. You'll need to make sure the versions of GNU libc match between your two machines. You aren't seeing an eglib anywhere in the `make install`output directory because it's statically linked into Mono. Hope that helps, Bojan On Tue, Jan 29, 2013 at 3:57 PM, fcharland wrote: > Hi, I have a .NET application that I want to run on an embedded processor > runing Debian Linux (Power PC). > > This limitted version of linux on the embedded processor does not have GLIB > installed. So I want to compile mono using the embedded GLIB (EGLIBC). > > - > $ cd mono-2.8.2 > $ ./configure CFLAGS=-O2 --prefix=/usr/local --with-glib=embedded > --enable-nls=no > ... >Engine: > GC:sgen and bundled Boehm GC with typed GC and > parallel mark > GLIB: embedded <- Embedded Setting > taken correctly > ... > > $ make > $ make install > - > > Now, Mono is working fine on my Power PC computer (which has GLIB > installed). I then FTP the mono executable (~8Megs) to my embedded device > and I get the following error when I try to execute mono: > > - > dce> ./mono > ./mono: /lib/libpthread.so.0: version `GLIBC_2.3.3' not found (required by > ./mono) > ./mono: /lib/libpthread.so.0: version `GLIBC_2.6' not found (required by > ./mono) > ./mono: /lib/libpthread.so.0: version `GLIBC_2.3.4' not found (required by > ./mono) > ./mono: /lib/libc.so.6: version `GLIBC_2.4' not found (required by ./mono) > - > > I don't understand why mono is asking me about GLIBC library when I > compiled > using: > "--with-glib=embedded". Also, after the "make install" I don't find any > eglib library in the installed folder. > > > > > -- > View this message in context: > http://mono.1490590.n4.nabble.com/Compile-Mono-with-embedded-glib-tp4658338.html > Sent from the Mono - General mailing list archive at Nabble.com. > ___ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Using a mysql Set column with sqlmetal
NHibernate works exceedingly well on Mono—I've been using it for years, since before version 2.0 of NHibernate. I've currently got both 2.x and 3.x apps in production, and even Fluent NHibernate and LINQ to NHibernate work flawlessly. Hope that helps, Bojan -- Bojan Rajkovic Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Monday, May 14, 2012 at 11:33 AM, Adam Tauno Williams wrote: > On Tue, 2012-05-08 at 14:05 -0400, Abe Gillespie wrote: > > All I can say is "GOOD LUCK!" DbLinq has long atrophied and after > > spending many many hours trying to wrangle it myself, I ended just > > buying Devart. Trust me, it pays for itself over the hours (and hours > > and hours) of frustration it'll save. I would recommend Devart or an > > alternative method for accessing your data and to steer far clear of > > DbLinq. > > > > > +1 on steering clear of DBLinq. DBLinq was the straw-on-the-camel that > finally pushed me to give up on C#/.NET for server-side [without a real > Open Source platform I don't want to build stuff on it]. > > Really sad, because without a really good way to interface with > databases... > > But nHibernate might be an option worth looking at. Someone told me > that they work on Mono these days [unverified]. > > > Don't get me wrong, though. It was a very ambitious project and the > > code is quite beautiful. But there are way too many edge cases that > > aren't covered and you'll undoubtedly eventually run into one or more > > of those issues. > > > > > ___ > Mono-list maillist - Mono-list@lists.ximian.com > (mailto:Mono-list@lists.ximian.com) > http://lists.ximian.com/mailman/listinfo/mono-list > > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] C# predefined libraries source code reference?
MonoDevelop has Vim bindings. —Bojan On Feb 4, 2012, at 1:59 PM, ctje wrote: > Thanks for replying! > I know about MonoDevelop and I think it is a good alternative to visual > studio. > But it lacks the awesome vimbindings, without I just can't program > comfortable. > > > On Sat, Feb 4, 2012 at 6:26 PM, Ian Norton > wrote: > Chiel92 wrote: > > >Hi all, > > > >I am a C# programmer and I'm eager to set up a vim IDE in which I can > >program C# on linux :) > >I want to create a tags file containing all classes, methods, > >namespaces, > >etc that are included in mono, using ctags. Then I will be able to have > >auto > >completion in vim and more cool stuff. As far as I know I need the > >source > >code from all these libraries for creating such a tags file. > >Where can I get the source from these libraries (if available)? > > > >Thanks in advance for any reply! > > > >Chiel > > > >-- > >View this message in context: > >http://mono.1490590.n4.nabble.com/C-predefined-libraries-source-code-reference-tp4357209p4357209.html > >Sent from the Mono - General mailing list archive at Nabble.com. > >___ > >Mono-list maillist - Mono-list@lists.ximian.com > >http://lists.ximian.com/mailman/listinfo/mono-list > > Ctags and vim do sort of with with c#, but monodevelop works about 100 times > better, plus you get a debugger. > > On the other hand, someone could write a simple program to create ctags > output from an assembly without source. > > Ian > > ___ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] need help getting started creating my own libraries
On Dec 9, 2011, at 9:05 AM, Fulko Hew wrote: > > On Thu, Dec 8, 2011 at 4:15 PM, Charlie Poole wrote: > On Thu, Dec 8, 2011 at 12:48 PM, Fulko Hew wrote: > > ... snip ... > > > Lets say my library ('mylib') consists of only two things right now: > > myTypeA and myTypeB (that belong to my company 'xyz'. > > And to use/test these library components I have a main app called 'tester'. > > > > So what I was expecting to do was to create the following directory > > structure: > > > > ./com.xyz.mylib/ > > myTypeA.cs > > myTypeb.cs > > ./com.xyz.tester/tester.cs > > > > a) is this a valid structure? > > Sure, although the backwards naming of components something that is > part of the Java culture and a little foreign to most C# folks. That's OK. > > Then what _is_ the recommended directory structure? You'll find that a lot of folks use one the following, starting from the root of the project: src/AssemblyName/Namespace/Namespace/Namespace/Class.cs — nested namespaces, rooted by assembly src/AssemblyName/Namespace.Namespace.Namespace/Class.cs — top-level namespaces, rooted by assembly Infinite combinations are possible, really—there's no canonical One True Directory Structure. > > > b) what compiler directives do I use to build my libraries? > > ... snip ... > > gmcs -t:library -out:mylib.dll myTypeA.cs myTypeB.cs > gmcs -t:exe -out:tester -r:mylib.dll tester.cs > > Thanks, your help has gotten me past my original hurdle, but, > is this kind of stuff documented anywhere? or is it just > something you have to figure out and/or ask about like I did? I think 'man gmcs' may have some examples. It'll definitely have documentation of all the command line switches that you need/want to use. > > In a related question... how would I go about compiling the components > separately and then 'link' them together into a library? (ie. the traditional > 'don't recompile unless the source file changed' approach.) You don't (well…mostly. Netmodules exist, and I'll address them shortly). The C# compiler is plenty fast, so there's generally no need to do this. It's not like the C++ compiler, chewing through 450k of headers and source for "Hello, world!" That said, there is an intermediate format called a netmodule, but it's poorly documented because Microsoft has more or less dropped support for them. They can still be accessed via the compiler directly, but none of the IDE's support using them. I'm also not sure of the limitations—more likely than not, you can't go single .cs file to single .netmodule because you need to resolve all the referenced types at emit time. > > This would all be much easier if you were using MonoDevelop rather > than working at the command line, but I suppose you're like me and > want to do it the hard way first. :-) > > Your right. I'm an engineer and not a 'mouse jockey', and I need to know > whats > going on. Especially because I can't expect the 'next guy' to be using > exactly the same tools (or platform) as I am. Heck... I didn't even know > that MonoDevelop existed! None of the introductory docs _I_ read mentioned > it. > > Fulko > MonoDevelop was at one point referenced from http://go-mono.com/http://mono-project.com. A simple search for "C# IDE Linux" would have also probably gotten you there quickly. :) Hope that helps, Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Options of the project Mono for Net Framework 2.0
Ubuntu 11.10 ships a Mono that only supports 4.0. The compiler, libraries, etc. are all 4.0 only in Ubuntu 11.10. If you need 2.0 support, you can try compiling manually and using csc /sdk:2, but I don't guarantee it will work. —Bojan On Dec 1, 2011, at 9:42 AM, Stifu wrote: > I guess we need more info. > Did you use MonoDevelop, or tried to compile through command lines? > > > tumanovalex wrote >> >> In Ubuntu 11.10 has established Mono from repository, has transferred >> project Visual Studo 2008 for Net Framework 2.0 and has tried to compile >> it. I receive an error "the compiler isn't found" though the compiler for >> CLI 2 (mono-mcs) is established. Prompt how correctly to adjust, please, >> the project that it was compiled. >> > > > -- > View this message in context: > http://mono.1490590.n4.nabble.com/Options-of-the-project-Mono-for-Net-Framework-2-0-tp4128665p4128705.html > Sent from the Mono - General mailing list archive at Nabble.com. > ___ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Alternatives to OleDb
On Oct 28, 2011, at 1:34 PM, Paul F. Johnson wrote: > Hi, > > As it looks like OleDb isn't supported any more and I still need to be > able to access an Access file on a non-Windows box for an application > I'm working on, can anyone suggest any other methods of accessing an > Access file on (say) my Linux box? > > Thanks > > Paul > -- > Vertraue mir, ich weiss, was ich mache... Hi Paul, Have you looked into an ODBC bridge to Access? —Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] ironpython exe not found
On Aug 6, 2011, at 8:31 AM, Nivaldo Fernandes wrote: > Hi, > > After installing Mono Release in 2.10.3 in Snow Leopard 10.6.8 (Mac OS), and > typing ipy at the terminal, here is what i get: > > '/Library/Frameworks/Mono.framework/Versions/2.10.3/lib/ironruby/bin/ipy.exe': > No such file or directory. > > So, it is looking for the IronPython exe in the IronRuby directory. > > Thanks for any help! > ___ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list Hi Nivaldo, I can replicate this as well—please file a bug at http://bugzilla.xamarin.com. —Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] ubuntu support
On May 16, 2011, at 11:43 PM, Daniel Hughes wrote: > Currently all my volunteer time is going into Wide Margin. And I foresee it > taking up all my time in the near future. > > However my suggestion is that the mono project drops open suse and instead > supports ubuntu. > This would require no extra effort. And would get the latest mono to a larger > user base. > This is where you're wrong—it would require extra effort. Not many of the "Mono team" members use Ubuntu (or any Debian-derivative, which means learning a whole new set of package management/building tools), and as Jon already pointed out, there are a very talented set of Debian packagers who do a much better job of making available proper packages for Debian and Debian derivatives than the Mono team ever could. There are better things for the newly-minted Xamarin team to focus on than duplicating work that is already done by two able and willing hands. If you want up-to-date Ubuntu packages, donate some cash or better yet, some time to either Mirco Bauer (meebey) or Jo Shields (directhex), who comprise the Mono packaging tag-team for Debian. > On Tue, May 17, 2011 at 3:30 PM, Slide wrote: > I'm sure no one would mind if you volunteered to help out. > > On May 16, 2011 7:36 PM, "Daniel Hughes" wrote: > > I looking for upto date packages, > > > > I"m still waiting for 2.8 packages and 2.10 packages. > > > > So what I'm looking for is when a new version of mono is released on the > > same day the new Ubuntu packages are available. Not a year or two or three > > later. > > > > On Tue, May 17, 2011 at 2:29 PM, Jonathan Pobst wrote: > > > >> On 5/16/2011 8:45 PM, Daniel Hughes wrote: > >> > >>> Can we expect official ubuntu support going forward? > >>> > >> > >> How do you define "official ubuntu support"? > >> > >> The community has excellent Ubuntu packagers who know the best way to > >> package Mono for Ubuntu, and submit these packages for inclusion in the > >> official Ubuntu releases. > >> > >> So the short of it is: Mono is already packaged and included in Ubuntu. > >> > >> What more than that would you like to see? > >> > >> Jonathan > >> —Bojan___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] How are the recent layoffs at Novell going to impact Mono?
On May 2, 2011, at 7:41 PM, Rod wrote: >> From several sources it looks like ~800 people have been laid off by Novell > today, with most of those being in the Provo office. My understanding that > this could have been up to about 50% of the people in the Provo. > > I am wondering if this will impact the Mono project and if so how? > > Links to current details: > http://www.deseretnews.com/article/705371845/Employees-say-hundreds-laid-off-at-Novells-Provo-office.html > http://www.ksl.com/?nid=148&sid=15382738 I'm not a Novell employee, but here are my thoughts: 1) In my humble opinion, this question is fairly inappropriate for this list. 2) It's unlikely that it will impact the Mono team, because I don't think anyone working on Mono is located at the Provo, Utah office. Cheers, Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Unhandled Exception: System.DllNotFoundException: libclntsh.so
On Mar 20, 2011, at 11:06 PM, wildabdat wrote: > hi, i'm new on mono develop, trying to make application to connect to oracle > DB, i found basic program examples on > http://www.mono-project.com/Oracle#Examples > http://www.mono-project.com/Oracle#Examples , and when i run it get > following error message > > Unhandled Exception: System.DllNotFoundException: libclntsh.so > at (wrapper managed-to-native) > System.Data.OracleClient.Oci.OciCalls/OciNativeCalls:OCIEnvCreate > (intptr&,System.Data.OracleClient.Oci.OciEnvironmentMode,intptr,intptr,intptr,intptr,int,intptr) > at System.Data.OracleClient.Oci.OciCalls.OCIEnvCreate (System.IntPtr& > envhpp, OciEnvironmentMode mode, IntPtr ctxp, IntPtr malocfp, IntPtr > ralocfp, IntPtr mfreep, Int32 xtramem_sz, IntPtr usrmempp) [0x0] in :0 > at System.Data.OracleClient.Oci.OciEnvironmentHandle..ctor > (OciEnvironmentMode mode) [0x0] in :0 > at System.Data.OracleClient.Oci.OciGlue.CreateConnection > (OracleConnectionInfo conInfo) [0x0] in :0 > at System.Data.OracleClient.OracleConnectionPoolManager.CreateConnection > (OracleConnectionInfo info) [0x0] in :0 > at System.Data.OracleClient.OracleConnectionPool.CreateConnection () > [0x0] in :0 > at System.Data.OracleClient.OracleConnectionPool.GetConnection () > [0x0] in :0 > at System.Data.OracleClient.OracleConnection.Open () [0x0] in :0 > at (wrapper remoting-invoke-with-check) > System.Data.OracleClient.OracleConnection:Open () > at con.MainClass.Main (System.String[] args) [0xf] in > /home/wildabdat/Projects/con/con/Main.cs:16 > > here is my environment > > ubuntu maverick 10.10 64 bit > Oracle 10g Express Edition (on the same machine with mono) > > can anyone solve this problem? because i dont wanna back to Windows just to > develop .Net Application > > thanks... > > -- > @wildabdat Set your LD_LIBRARY_PATH to point to the ./lib/ folder under $ORACLE_HOME, where libclntsh.so is located. —Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] CSharp interpreter feedback, and a gift
On Jan 27, 2011, at 9:52:35PM, Doug Blank wrote: > It would be great to be able to have C# as one of the languages to use > in this educational environment, but until it can address functions > and classes, it will be a second-class citizen. Although, it will be a > nice step for students to be able to take to see a fully-typed, > explicit language---even as it is interpreted. > > If any one has suggestions about using C# in the educational > environment, please let me know. > > -Doug If you're willing to fake it, you can define functions as lambdas. It'll be ~= to defining them in a real sense. Try something like this: Action printMe = t => Console.WriteLine (t); or in the more complex case (retrieving some content from a webserver that always returns GZip [yes, I did run into this while exploring some services via the REPL]): Func doRequestWithPayload = payload => { var wc = new WebClient (); var data = wc.UploadData ("http://url:port/service";, "POST", Encoding.UTF8.GetBytes (payload)); return new StreamReader (new GZipStream (new MemoryStream (data), CompressionMode.Decompress)).ReadToEnd (); } It works perfectly well in the interpreter. It's not quite a real function definition, but it's close enough for most purposes. Classes on the other hand are a no-go. —Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Too many heap sections
On Dec 12, 2010, at 9:00:56AM, Yury Serdyuk wrote: > Rodrigo Kumpera wrote: > >> This is a known limitation of Boehm. Try using sgen instead. > > I have configured Mono as > >> ./configure --with-gc=none --with-large-heap=yes --with-sgen=yes >> >> mcs source:mcs >>olive source: >> >> Engine: >>GC:sgen and included Boehm >>GLIB: embedded >>TLS: __thread >>SIGALTSTACK: yes >>Engine:Building and using the JIT >>oprofile: no >>BigArrays: no >>DTrace:no >>Parallel Mark: yes >>LLVM Back End: no (dynamically loaded: no) >> >>Libraries: >>Moon Profile: no >>MonoTouch: no >>JNI support: IKVM Native >>libgdiplus:assumed to be installed >>zlib: system zlib > > but got on the make step: > >> CClibmonosgen_2_0_la-mini-posix.lo >> LDlibmonosgen-2.0.la >> ../../mono/metadata/.libs/libmonoruntimesgen.a(libmonoruntimesgen_la-sgen-gc.o): >> >> In function `mono_gc_make_descr_for_string': >> /home/s/mono-2.8.1/mono/metadata/sgen-gc.c:870: multiple definition of >> `mono_gc_make_descr_for_string' >> ../../mono/metadata/.libs/libmonoruntimesgen.a(libmonoruntimesgen_la-null-gc.o):/home/s/mono-2.8.1/mono/metadata/null-gc.c:127: >> >> first defined here >> /usr/bin/ld: Warning: size of symbol `mono_gc_make_descr_for_string' >> changed from 3 in >> ../../mono/metadata/.libs/libmonoruntimesgen.a(libmonoruntimesgen_la-null-gc.o) >> >> to 6 in >> ../../mono/metadata/.libs/libmonoruntimesgen.a(libmonoruntimesgen_la-sgen-gc.o) >> ../../mono/metadata/.libs/libmonoruntimesgen.a(libmonoruntimesgen_la-sgen-gc.o): >> >> In function `mono_gc_max_generation': >> /home/serdyuk/mono-2.8.1/mono/metadata/sgen-gc.c:6072: multiple >> definition of `mono_gc_max_generation' >> ../../mono/metadata/.libs/libmonoruntimesgen.a(libmonoruntimesgen_la-null-gc.o):/home/s/mono-2.8.1/mono/metadata/null-gc.c:29: >> >> first defined here > > I have tried to build Mono 2.8.1. > > Again, any suggestions, please ? > > Regards, >Yury Try removing --with-gc=none, you shouldn't need it. Cheers, Bojan > ___ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] JSON.NET / Mono question (Deserialization Hangs)
On Dec 6, 2010, at 8:53:21AM, Adam Tauno Williams wrote: > On Mon, 2010-12-06 at 00:19 -0500, Bojan Rajkovic wrote: >> On Dec 4, 2010, at 9:43:17AM, Adam Tauno Williams wrote: >>> mono-core-2.6.4-2.13.x86_64 >>> Json.NET 3.5 Release 8 >>> I call the deserializer and it works - I can see the objects created >>> (deserialized) but then the deserializer never exits/returns. >>> List listed_entries = >>> JsonConvert.DeserializeObject>(payload); >>> Console.WriteLine("Deserialization complete"); >>> ListEntry objects are created, then the program 'hangs'. >>> "Deserialization complete" never appears. >> Are any of your object creations throwing exceptions? I had an issue >> like this a /while/ ago where exceptions were being thrown by the >> object constructors, but JSON.NET was swallowing them silently. >> If you're not sure if you're getting exceptions, try running mono >> --trace=E:all your_app.exe to trace exception throws throughout the >> runtime of the process. > > This was exactly the issue; deserialization was failing with assigning a > null to an int but no exception was raised. > > <http://stackoverflow.com/questions/4354108/json-net-deserialization-hangs-mono> Bingo, this is exactly what I was seeing. The weird thing is, I never was able to figure out why it was causing the hangs. I've long since disinherited that code, but maybe filing a bug with the trace might help in at least acknowledging and tracking the issue. —Bojan > > -- > Adam Tauno Williams LPIC-1, Novell CLA > <http://www.whitemiceconsulting.com> > OpenGroupware, Cyrus IMAPd, Postfix, OpenLDAP, Samba > > ___ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] JSON.NET / Mono question (Deserialization Hangs)
On Dec 4, 2010, at 9:43:17AM, Adam Tauno Williams wrote: > mono-core-2.6.4-2.13.x86_64 > Json.NET 3.5 Release 8 > > I call the deserializer and it works - I can see the objects created > (deserialized) but then the deserializer never exits/returns. > > List listed_entries = > JsonConvert.DeserializeObject>(payload); > Console.WriteLine("Deserialization complete"); > > ListEntry objects are created, then the program 'hangs'. > "Deserialization complete" never appears. > Are any of your object creations throwing exceptions? I had an issue like this a /while/ ago where exceptions were being thrown by the object constructors, but JSON.NET was swallowing them silently. If you're not sure if you're getting exceptions, try running mono --trace=E:all your_app.exe to trace exception throws throughout the runtime of the process. Hope this helps, Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Unspecific error: System.Exception: Generic Error [GDI+ status: GenericError]
On Oct 29, 2010, at 2:07 PM, Yves Goergen wrote: > On 29.10.2010 19:34 CE(S)T, Stifu wrote: >> The problem might be more subtle than anticipated, like a x64-only bug? >> *shrugs* > > No, it's happening on both 32 and 64 bit systems. Across systems, > distributions and Mono versions. Today I only played with 32 bit. > > Currently I must assume that it is a persisting bug in Mono that hasn't > been fixed up to now. Maybe I should better get one of those bug-filing > accounts... I'm not able to repro this bug on OS X...if you can't get somebody else to reproduce the bug, it's not a bug. > > -- > Yves Goergen "LonelyPixel" > Visit my web laboratory at http://beta.unclassified.de > ___ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list —Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Commercial redistribution/license question
On Oct 13, 2010, at 1:39 PM, Mark Gollin wrote: > Hi, > > We've got a product that we're experimenting with Mono for in order to share > critical code between our Windows and Mac versions. The actual Mono use is > quite straightforward: we're simply compiling command line executables that > use regular-expression portions of the .NET 2.0 framework. We've been able to > use the OS X installation binary package directly, with no need to recompile > or modify any Mono source. The primary application does not use Mono at all, > it simply invokes these cmd-line executables to perform certain processing. > > Our problem is that our product exceeds the terms of the commercial license > available through purchase of the Mono Tools Ultimate package. 100K volume > would be okay, but we have revenues in excess of $2M annually. And my reading > of LGPLv2 makes it a non-starter: the C# code in question is extremely > valuable patent-protected intellectual property. > > We've sent mail (multiple times) via the web form on the FAQ for licensing > questions, but have received no reply. Is there anyone on the list that can > put us in contact with the right people to negotiate a license? Or can > clarify any way we can use/redistribute Mono runtimes legally without > revealing our source? > > --Mark A. Gollin > > VP Development > The Neat Company > www.neatco.com Hi Mark, Mono is LGPLv2 licensed, but you don't have to license your code LGPLv2 if you're just using Mono to run the executables via the standard installed framework and not recompiling or modifying Mono source. As long as users can install an updated Mono (ie. you're not locking them down to a certain Mono and not providing the necessary object code to use a newer Mono), you're not violating the LGPL license terms. Best, Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Réponse automatique d'absence du bur eau : Desktop Silverlight applicaition for Linux
No need to be rudely xenophobic. It's clearly a misconfigured out of office response. On Aug 11, 2010 10:28 PM, "Newbie2910" wrote: French dude, do you just send the same parley-vow-franshe reply to every post? Get a lift dude. -- View this message in context: http://mono.1490590.n4.nabble.com/Desktop-Silverlight-applicaition-for-Linux-tp2321439p2322112.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Desktop Silverlight applicaition for Linux
Multipoint would need support from the X server. I don't know if it exists or not. On Aug 11, 2010 11:48 AM, "optimus_prime" wrote: Hi, Well, I am planning to develop a desktop application using Silverlight and want the same app to be available for Linux too. I intend to use Microsoft's Multi Point technology where we can connect more than one mouse with our machine and different pointers are available for each one of the mice. Previously, I got a suggestion -- Sure, Silverlight isn't "intended" for the desktop, but there's no reason why you can't embed a silverlight engine in your application. It's been done before such as for the Mac NY Times Reader. You'll have better luck working with Moonlight, which targets the Silverlight API, which is a subset of full WPF I am new to Linux but have some experience in Windows apps and I wanted to know if Multi Point could be implemented in Linux? -- *fingers crossed* After all, there's nothing impossible in programming!!! -- View this message in context: http://mono.1490590.n4.nabble.com/Desktop-Silverlight-applicaition-for-Linux-tp2321439p2321439.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Ubuntu
On 08/11/2010 12:16 AM, Christopher Monroe wrote: For the benefit of us noobs, what is a PPA? I'm guessing pre-packaged archive or something like that. I tried looking it up on google but I don't see any acronyms that would seem to apply. Hi Chris, A PPA is a Personal Package Archive--basically a tiny Ubuntu repository maintained by a single person, on Launchpad. Cheers, Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Ubuntu
Does GNOME maintain PPA's like this? Does any project? On Aug 10, 2010 6:35 PM, "Daniel Hughes" wrote: No one expects mono to be pushed out as a automatic update on ubuntu. We do however expect a PPA which is on even footing with windows, mac etc. I.E same day support to the same quality. And supported by the mono team. That is all. On Wed, Aug 11, 2010 at 2:18 AM, Bojan Rajkovic wrote: > > > > On 08/10/2010 10:03 AM, Christopher Monroe wrote: > >> > >> I'll second the complaint about the foru... > > > ___ > > Mono-list maillist - mono-l...@lists.ximian.co... > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Ubuntu
On 08/10/2010 10:03 AM, Christopher Monroe wrote: I'll second the complaint about the forum constantly refreshing the browser. It's useless in Opera. I'm forced to use Firefox. It's completely baffling as to why they display it the way the do. The developers should consider looking at Launchpad, as used by the Ubuntu forums, as a top-notch support site. I think the only reason Nabble is used is because it mirrors the mailing list effectively, but I don't know. --Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Ubuntu
On Mon, Aug 9, 2010 at 12:48 PM, green wrote: > > why newer versions of mono cant be installed on ubuntu? > if a framework is done well(not modifying interfaces, existing functions, > etc), new releases would'nt break old applications. > Novell doesn't support Ubuntu, likely due to cost reasons--they'd pretty much need to hire at least one more, maybe two more people to do Debian-style packaging for Debian and Ubuntu. RPM-based distros like Red Hat, etc. are easy, because they can modify SuSE .spec files as necessary. This is not to say that updates to Mono can't be installed on Ubuntu. The community packagers for Debbuntu do a good job of getting Mono releases out shortly after the official release drops. You can find fairly up-to-date releases for Ubuntu at http://badgerports.com, and Debian has up-to-date releases in the experimental distribution. The reason that the official Ubuntu repositories don't update faster is that Mono is a core framework, and as such, requires extensive testing before it can be upgraded--due to Ubuntu's policies, it's not likely that you'll ever see an updated Mono come in through {distribution}-backports or any of the other update repos, barring major security fixes, etc. > > another question, why the forum keeps refreshing all the time, also during > posting? its annoying. > Nabble bug? Using the mailing list directly is much more convenient. > > -- > View this message in context: > http://mono.1490590.n4.nabble.com/Ubuntu-tp2318791p2318791.html > Sent from the Mono - General mailing list archive at Nabble.com. > ___ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] String comparisons slow
Hi Alexander, My understanding based on the documentation is that StringComparison.Ordinal is essentially a C strcmp (in fact, it may be implemented as such under the hood, via an icall to the C runtime code), and StringComparison.Invariant is aware of surrogate pairs and composed characters, and is a linguistic comparison (ie. this *letter* comes before the other, not this character code). --Bojan 2010/7/22 Alexander M. Batishchev > Michael, could you please clarify the difference between Ordinal and > Invariant string comparison? > > -Original Message- > From: mono-list-boun...@lists.ximian.com > [mailto:mono-list-boun...@lists.ximian.com] On Behalf Of Michael > Hutchinson > Sent: Thursday, July 22, 2010 12:29 AM > To: David S > Cc: mono-list@lists.ximian.com; wtftc > Subject: Re: [Mono-list] String comparisons slow > > On Wed, Jul 21, 2010 at 3:30 PM, David S wrote: > > Ok. Now I'm confused. How come "CurrentCulture" for US/ENG doesn't just > run > > the Ordinal??? Perhaps there are some weird alphabetizing things I just > > don't understand. BTW, Thanks for tell us about the StringComparer class. > I > > never knew that existed. > > Note also that some string methods have overloads for taking specific > cultures, or the StringComparison enum. Both StringComparison.Ordinal > and StringComparison.OrdinalIgnoreCase (as well as StringComparer) can > be very useful to improve performance when culture-dependent behaviour > is not needed or desirable. > > Culture-dependent string comparisons are a very complex topic. There's > also an "invariant" culture for doing things in a culture-independent > way. > > -- > Michael Hutchinson > http://mjhutchinson.com > ___ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > > ___ > Mono-list maillist - Mono-list@lists.ximian.com > http://lists.ximian.com/mailman/listinfo/mono-list > ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Sending mail with smtp.gmail.com
- "Petit Eric" wrote: > workaround : > line 102 and 197 > http://monoosc.svn.sourceforge.net/viewvc/monoosc/MonoOSC/MonoOBSFramework/Class/VarGlobal.cs?revision=273&view=markup > You really shouldn't be doing this sort of workaround though. It's good for quick and dirty testing, but for real apps that you plan on releasing, please read http://www.mono-project.com/FAQ:_Security and http://www.mono-project.com/UsingTrustedRootsRespectfully for information on how to properly handle certificate errors. Regards, Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Code Contracts from Microsoft DevLabs
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Tom Opgenorth wrote: > Just curious, has anybody given Code Contracts for .NET > (http://msdn.microsoft.com/en-us/devlabs/dd491992.aspx) a try under > Mono to see if/how well they work? > I think someone just volunteered themselves. - -- Bojan Rajkovic Biochemistry '10, Brandeis University PGP Signature Key ID: 0x8783D016 PGP Encryption Key ID: 0x2497B8B2 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIcBAEBCAAGBQJKLsb1AAoJEO4IwQyHg9AW3zEQAMRkmpAyUZqucNwJMAZjo5s1 zEx1m1KYcdG80iFAbIjZEe4MEvW47rnE5Q29JLDb4gQPzj+yMz9WIjwLkjAe9Ll2 mkqdFkhtohO5dPTjIi6+7UG6fiemDSDMdyESz9xVqU/2DpvUZfHuxOp9nmGOy/QO o7O8PUGbNlGiV5O6dsFRVzgEbCtNcvMjbuJnUeve96AvYI7ScgoD3ch8KvfevUBm m++/S2Yz4wfDju7McNyn8LWjRXdCKeeGDoPUtHq/QIC8xe0lPHlk+oposSGCS/qJ T5B74HtXzPNG2YPJNt7gRYXJt7yw7BPWughiemFH0b1szFmpu8P0NDD3VsCqV+hM Tqv34RRU00GirQ++3EwoY3jUkk1mLetVfMFztSyhdVn4Rz6hKC9Rvjx7x+y6MuT9 TLBPqxzgQF7bxs/Ql/7WTlN4wIm3/bYQI3D+Sg837Kh8RCr6q8T5s6yPCE/eVD+Y v2ehkrIM3xgct2Zako/D47mhkogQVIF1lkk4em9QkWbV848kHqpa3wroL8oPpH4x Plptupo6TNpWDqWKIADkrL9HqHCiR2fID/m6dfm6kyqP3X8GUmpY8plJYBkt3suw /RPm0KDO8QsFgntrePHWw17pEX5vrBfHJ6D6u4TQ/4SNb6H6pqNx2rgegbEdVHZk rg+6ZwdvmRAyzOOCXJ4U =Mg4r -END PGP SIGNATURE- ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] DLL Created in Visual Basic 6.0 can run on cross platform
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sergio A. Hernandez wrote: > VB 6.0 is not .net nor asp so you can't use the GAC because this dll > is not a .NET assembly. > However you can try to use a pinvoke > you must include System.Runtime.InteropServices > //pinvoke > using System.Runtime.InteropServices > [DllImport(Library)] > private extern static /datatype/ /name/(x,...) > ... > public /function/(x, ...) > > It is the only thing I can suggest you. > But, honestly dont think will work. > It won't work because Mono doesn't know how to load Windows DLL's, and even if it did, there's no VB runtime, and a whole host of other things that the Visual Basic 6 Windows code needs are missing on Linux, and Mono doesn't emulate them. Try the Wine project, it can run a good chunk of native Windows applications. Regards, Bojan -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIcBAEBAgAGBQJKE1zgAAoJEO4IwQyHg9AWPv8QALAGW3+fTxi9VQgZzUBAXhqK pb9qWGPiLZuar2x1V82Jd9E+46j6Q4jLvBlyvAwr0HwifHE8TLDrFYx3066mslMP h38SzmVVGDfwwLB0sIT1OCxo8x4RPFy0/x4PUXh0V7gIEz7Cd9TFhS6rt6LMJHh8 mRBO7YO1BqHLM/W2k8louaTC4swiR0125N3YGlQw5mho9SXH/8gA2esjZTvscOhG +YAaPMa5nXgcPHnQ3jm7QLKpAzdivqKY8citYU4+0xP6lM+6/PRXLJiBJ3C2Dj+Z eNOU2AYdplXYH27b1PxtkMw5xJFOI0Zwe5sk/XbrCB88pOj6XXrThIY8nRen92MW UaJ/bonXA+pR6L1rWUtMRhkUQqisY/NQr/aJTgGBGItEY7rMNyMqMBL1D2ZfwdXR JYXUTAU0uAhtWKoIXB/GC+Gm2Dh0ypifRZjmfiX/CWN4A4eoMfV4ouFrWahyCiIA nQdR5+BFStPx5ycOD2pDMWDMaEzet6hiofUcaYJcz+zAGITbhxpL1Cs+uM9LPqeN G4AvbGGL7kcCAMFaeFEeE5FNmVJsxtbxysX+YxEgWe+7BeG26TnR5FudPm1T/BSQ djFMIuBJRcS1botfXSzDMRJt8hTYNywhW1LV0VQzlX882Msj2Tpr8KlrjUOxUVRa 5C2ia23YrVrTl/bDpIqe =SYEJ -END PGP SIGNATURE- ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Cross compiling Mono for PowerPC
Chris Plasun wrote: Hi, I would like to run Mono apps on a PowerPC Linux board (MPC8313). Is there a way I can cross compile Mono apps for the PowerPC architecture, or do I need to cross compile Mono itself for the PowerPC? Thanks, Chris Plasun Hi Chris, If your target platform is running Linux, most distributions will package Mono already, with the right bits compiled for PowerPC, and then you only need to copy your application's binaries and run. If you do need to compile Mono from source, you only need to cross-compile the C runtime portions of Mono. Applications written on top of Mono are compiled to IL, an intermediate language bytecode that's arch-independent and JIT-compiled to native code on the target platform. What you can do is cross-compile the C runtime bits, and compile the class library (all compiled to IL, doesn't need cross-compiling) and your application on your (presumably more powerful) dev box, and deploy those to your target platform. Hope that answers your questions, Bojan Rajkovic smime.p7s Description: S/MIME Cryptographic Signature ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] help!!!
Aric Holland wrote: Hello, I am new to mono. I was trying to write an software project in C#, but my project is GUI based, so I have to rely on mono's gui designer. Well you see the problem is, the grid container control, which I add to my form does not allow me to precisely align my controls to the grid. I don't know what im doing wrong, but it's quite annoying. I'm basically looking for a grid system comparable to Visual Studio's. You're not really going to get this with GTK+ and GTK#. GTK's way of doing this is to use autosizing containers like tables, VBox/HBoxes, etc. in order to hold controls. These containers tell the controls how much space they're allowed, and the controls draw in it. This allows for easy autosizing of controls, but it does not make a grid system like Visual Studio's easy, or particularly useful. There should be some GTK tutorials around that explain how to work with GTK's layout system. Glade tutorials may also be helpful, as Glade is the UI designer for GTK+/GTKmm (the original C library/C++ binding). Good luck, Bojan smime.p7s Description: S/MIME Cryptographic Signature ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] IBM.Data.DB2 on ubuntu
Bartolomeo Nicolotti wrote: > s...@lxpc54:~/src/test$ gmcs -r:/usr/lib/mono/1.0/IBM.Data.DB2.dll > helloDB2.cs > helloDB2.cs(2,14): error CS0234: The type or namespace name `Data' does not > exist in the namespace `System'. Are you missing an assembly reference? > Compilation failed: 1 error(s), 0 warnings Woops. Forgot to mention the -r:System.Data, just like Sandy said. --Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] IBM.Data.DB2 on ubuntu
You're forgetting to add a reference to IBM.Data.DB2.dll on the gmcs command line. You should be compiling your code as follows: gmcs -r:/usr/lib/mono/1.0/IBM.Data.DB2.dll helloDB2.cs. If your Mono libs are installed somewhere different (if you compiled from source, they may be in /usr/local/lib/mono), you'll need to change that part of the path. --Bojan -Original Message- From: mono-list-boun...@lists.ximian.com [mailto:mono-list-boun...@lists.ximian.com] On Behalf Of Bartolomeo Nicolotti Sent: Tuesday, February 10, 2009 12:20 PM To: mono-list@lists.ximian.com Subject: [Mono-list] IBM.Data.DB2 on ubuntu Hi, I've installed mono, and xsp (not yet mod_mono) following the instruction here: http://ubuntuforums.org/showthread.php?t=803743 in view of using mod_mono together with php on ubuntu server 8.04. This is to migrate a web service that access a db2 database. I've also installed db2exc from ubuntu repository as said here: http://www.ubuntu.com/partners/ibm/db2 and as said here: http://www.mail-archive.com/mono-devel-l...@lists.ximian.com/msg02323.html I've added the library path with the command: sudo /sbin/ldconfig /opt/ibm/db2exc/V9.5/lib32 But if I try to compile a file that makes use of the namespace IBM.Data.DB2 I got: s...@lxpc54:~/src/test$ gmcs helloDB2.cs helloDB2.cs(2,14): error CS0234: The type or namespace name `Data' does not exist in the namespace `System'. Are you missing an assembly reference? helloDB2.cs(3,7): error CS0246: The type or namespace name `IBM' could not be found. Are you missing a using directive or an assembly reference? Compilation failed: 2 error(s), 0 warnings could someone help me? Many thanks Best regards -- View this message in context: http://www.nabble.com/IBM.Data.DB2-on-ubuntu-tp21937603p21937603.html Sent from the Mono - General mailing list archive at Nabble.com. ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] Text based linux supporting mono and C# console apps
Kevin Heeney wrote: >Does anyone know of a minimalist distro of linux that is only > text based, does not have a window manager, and supports (or could > support) mono console apps? Hi Kevin, Any distro that can run a text console--I would recommend Gentoo or Slackware. You can compile Mono from source easily on either system. --Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] MDBTools installation failed
NatuGadu wrote: > > Bojan Rajkovic wrote: > >> NatuGadu wrote: >> >>> Hi, I am using openSUSE 11.0 VMWare image which includes Mono 2.0.1. I >>> want >>> port an application using MS-Access as a database. For that MDBTools >>> need >>> to be installed. ( http://www.mono-project.com/ODBC >>> http://www.mono-project.com/ODBC ) >>> >>> I downloaded and tryied to install MDBtools ( >>> http://mdbtools.sourceforge.net/ http://mdbtools.sourceforge.net/ ). >>> >>> ./configure is working properly. But make is giving me error. >>> >>> linux:/home/linux/Desktop/mdbtools-0.6pre1 # make >>> cd . && \ >>> automake-1.7 --gnu Makefile >>> /bin/sh: line 1: automake-1.7: command not found >>> make: *** [Makefile.in] Error 127 >>> linux:/home/linux/Desktop/mdbtools-0.6pre1 # >>> >>> Any ideas >>> >>> -- >>> Rajesh A >>> >>> >>> >> Hi Rajesh, >> >> You need to install automake. I believe the package is called just >> "automake" on SuSE. >> You can install it with su -c "zypper install automake." >> >> Good luck, >> Bojan >> ___ >> Mono-list maillist - Mono-list@lists.ximian.com >> http://lists.ximian.com/mailman/listinfo/mono-list >> >> >> > > Hi Bojan, > still it is giving same error. Is there any difference between automae and > automake-1.7? > :-(( > Hi Rajesh, I didn't think there was, but their scripts may specifically ask for automake-1.7. That version should also be available from the SuSE repos, but I don't know what the package name is, I haven't used SuSE in a while. Hope you can find it! Good luck, Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
Re: [Mono-list] MDBTools installation failed
NatuGadu wrote: > Hi, I am using openSUSE 11.0 VMWare image which includes Mono 2.0.1. I want > port an application using MS-Access as a database. For that MDBTools need > to be installed. ( http://www.mono-project.com/ODBC > http://www.mono-project.com/ODBC ) > > I downloaded and tryied to install MDBtools ( > http://mdbtools.sourceforge.net/ http://mdbtools.sourceforge.net/ ). > > ./configure is working properly. But make is giving me error. > > linux:/home/linux/Desktop/mdbtools-0.6pre1 # make > cd . && \ > automake-1.7 --gnu Makefile > /bin/sh: line 1: automake-1.7: command not found > make: *** [Makefile.in] Error 127 > linux:/home/linux/Desktop/mdbtools-0.6pre1 # > > Any ideas > > -- > Rajesh A > > Hi Rajesh, You need to install automake. I believe the package is called just "automake" on SuSE. You can install it with su -c "zypper install automake." Good luck, Bojan ___ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list