_ [debian] mcs 0.91-1, libgdiplus 0.5-2vd1

The Pkg-mono-svn-commits Archives を漁ってみると、mcs や libgdiplus は official には入っていないが、パッケージ自体は存在しているようだ。ということで探してみると、Inofficial Debian packages に置かれていることが判明。さっそく入れてみる。が、libgdiplus 0.5-2 が libmono0 0.91-0pre3 に依存しているというおかしな状態。これだけ作り直して入れてみる。 ウィンドウ版 Hello, World! をコンパイルして実行してみると、

Unhandled Exception: System.TypeInitializationException:
 An exception was thrown by the type initializer for System.Windows.Forms.Control
 ---> System.TypeInitializationException:
 An exception was thrown by the type initializer for System.Windows.Forms.Win32
 ---> System.NullReferenceException:
 Object reference not set to an instance of an object
in (unmanaged) (wrapper managed-to-native) System.Windows.Forms.Win32:WineLoadLibrary (string)
in <0x00004> (wrapper managed-to-native) System.Windows.Forms.Win32:WineLoadLibrary (string)
in <0x0033b> System.Windows.Forms.Win32:.cctor ()
--- End of inner exception stack trace ---

in (unmanaged) System.Windows.Forms.Win32:RegisterWindowMessage (string)
in <0x000f2> System.Windows.Forms.Control:.cctor ()
--- End of inner exception stack trace ---

in (unmanaged) System.Windows.Forms.Control:.ctor ()
in <0x0000f> System.Windows.Forms.ScrollableControl:.ctor ()
in <0x0000a> System.Windows.Forms.ContainerControl:.ctor ()
in <0x00016> System.Windows.Forms.Form:.ctor ()
in <0x00023> MyNameSpace.MyForm:.ctor ()
in <0x0004f> (wrapper remoting-invoke-with-check) MyNameSpace.MyForm:.ctor ()
in <0x0001b> MyNameSpace.MyForm:Main ()

と長々と出てきて駄目。 ふと思い立って前回作成した wine の dll への symlink を削除してみたら、なんか文字化けしてるけど動いたぞ。