Mono 1.2.5 binaries for Solaris 10/x86

I think I've finally managed to botch it all up. I created a JRE-style zipped package, which you can download here1,2 at your own risk ;). Whoa, it's taken me 4 days just to get so far with mono/solaris. ^o^ I wanna sleep like the relakkuma now hehe...
  1. These binaries are compiled for 32-bit/x86 processors.
    They also run on 64-bit/x86-64 processors.
  2. They are not compiled for running winforms applications.
To extract the archive use: "gtar -zxvf"

Comments

Pablo Santos said…
Hi,

Were you able to run WinForms applications on Solaris?

pablo
Cetin Sert said…
Hi Pablo,

I had not tried running WinForms applications before I uploaded the binaries online.

I tried it now and there seems to be a problem with gdiplus, I keep getting the following exception:

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.XplatUI ---] System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---] System.DllNotFoundException: gdiplus.dll
at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
at System.Drawing.GDIPlus..cctor () [0x00000] --- End of inner exception stack trace ---

at [0x00000] [unknown method]
at System.Drawing.Graphics.FromHdcInternal (IntPtr hdc) [0x00000]
at System.Windows.Forms.XplatUIX11.SetDisplay (IntPtr display_handle) [0x00000]
at System.Windows.Forms.XplatUIX11..ctor () [0x00000]
at System.Windows.Forms.XplatUIX11.GetInstance () [0x00000]
at System.Windows.Forms.XplatUI..cctor () [0x00000] --- End of inner exception stack trace ---

at [0x00000] [unknown method]
at System.Windows.Forms.Application.EnableVisualStyles () [0x00000]
at Tenka.Text.WindowsInterface.Program.Main () [0x00000]
Cereal Bawks said…
Currently trying to compile it on Solaris Express snv_72. Once it's done compiling with gcc and wants to start building the class libraries with mcs, it craps out. It's either parsing errors, runtime crashes in the bootstrap tools or whatever else. Did you run into the same issues?
Cetin Sert said…
Hi Tom,

I did not run into any mcs or gmcs errors during compilation but a whole bunch of others before mcs or gmcs even had the chance to kick in. C# compilers worked reasonably well even when I managed to build the runtime !without! a garbage collector.

It was my ambition to document the compilation process or even better to provide a script which sets things right on a fresh Solaris installation but I never had the time to do that either.

Forgive my ignorance: what is snv 72, a cpu architecture or an operating system version?

Best Regards,
Cetin Sert
Anonymous said…
I am about to install this, and let me just ask a dumb question. Once I install it and I copy my .exe from my windows machine, how do I launch it under mono on the solaris?
Anonymous said…
I am about to install this, and let me just ask a dumb question. Once I install it and I copy my .exe from my windows machine, how do I launch it under mono on the solaris?
Cetin Sert said…
@anonymous
There is nothing to install in this package.

Once you've extracted the contents into some directory let's say

/usr/someone/mono125

you can try to run a .NET exe by calling

/usr/someone/mono125/bin/mono your.exe
Anonymous said…
Would you be able to compile it for x86_64 please ?

Thanks a bunch.
Cetin Sert said…
@anonymous

As I don't have an x86-64 CPU myself yet, there is not much I can do at the moment. I plan to get one at christmas, till then you need to look for someone else to compile it for you or try it out yourself.

Best Regards,
Cetin
Cetin Sert said…
@anonymous

You can already download and run these binaries on any x86-64 Solaris 10 though. x86-64 supports x86 programs.

Popular posts from this blog

Levenshtein Distance Algorithm: Fastest Implementation in C#

WordSmith Tools 5.0, Tenka Text in China