Re: [Mono-list] just installed mono, most basic test failed.

2015-05-08 Thread Miljenko Cvjetko

Hi

It seems like You have forgotten/missed to install GTK#

http://www.mono-project.com/docs/gui/gtksharp/beginners-guide/#getting-set-up

You can compile it from source:

https://github.com/mono/gtk-sharp

If You install Xamarin.Studo (Monodevelop based IDE) everything shoudl 
be installed automagically.


regards

Mel

On 20150509 07:35 , ChipRaptor wrote:

Hi everyone, sorry for this mono newbie question:

I just installed mono (4.0.0) on an iMac running Mac OS X 10.6.8. I'm a .Net
developper but I am completely new to mono...

I compiled and ran the basic tests proposed on the mono page at
http://www.mono-project.com/docs/getting-started/mono-basics/

But the first one only was succesfull... (Test.exe which actually is the
first Hello world program, correctly displaying "Hello Mono World".)

But all the other proposed test display a lot of error messages.

See hereafter the terminal full terminal output:

imac-de-claire-lise-culand-4:Documents PF$ mono test.exe
Hello Mono World
imac-de-claire-lise-culand-4:Documents PF$ mono hellogtk
Cannot open assembly 'hellogtk': No such file or directory.
imac-de-claire-lise-culand-4:Documents PF$ mono hellogtk.exe

Unhandled Exception:
System.DllNotFoundException:
/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/libgtk-quartz-2.0.0.dylib
   at (wrapper managed-to-native) Gtk.Application:gtk_init (int&,intptr&)
   at Gtk.Application.Init () [0x0] in :0
   at Hello.Main () [0x0] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException:
/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/libgtk-quartz-2.0.0.dylib
   at (wrapper managed-to-native) Gtk.Application:gtk_init (int&,intptr&)
   at Gtk.Application.Init () [0x0] in :0
   at Hello.Main () [0x0] in :0
imac-de-claire-lise-culand-4:Documents PF$ mono hello.exe

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.WindowsFormsSynchronizationContext --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.ThemeEngine --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.ThemeWin32Classic --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.KnownColors --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException:
/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/libgdiplus.dylib
   at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
   at System.Drawing.GDIPlus..cctor () [0x0] in :0
   --- End of inner exception stack trace ---
   at System.Drawing.KnownColors..cctor () [0x0] in :0
   --- End of inner exception stack trace ---
   at System.Drawing.Color.get_Black () [0x0] in :0
   at System.Windows.Forms.ThemeWin32Classic..cctor () [0x0] in :0
   --- End of inner exception stack trace ---
   at System.Windows.Forms.ThemeEngine..cctor () [0x0] in :0
   --- End of inner exception stack trace ---
   at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined ()
[0x0] in :0
   at System.Windows.Forms.Control..ctor () [0x0] in :0
   at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor
()
   at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor ()
[0x0] in :0
   --- End of inner exception stack trace ---
   at System.Windows.Forms.Control..ctor () [0x0] in :0
   at System.Windows.Forms.ScrollableControl..ctor () [0x0] in :0
   at System.Windows.Forms.ContainerControl..ctor () [0x0] in :0
   at System.Windows.Forms.Form..ctor () [0x0] in :0
   at HelloWorld..ctor () [0x0] in :0
   at (wrapper remoting-invoke-with-check) HelloWorld:.ctor ()
   at HelloWorld.Main () [0x0] in :0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An
exception was thrown by the type initializer for
System.Windows.Forms.WindowsFormsSynchronizationContext --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.ThemeEngine --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.ThemeWin32Classic --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.KnownColors --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException:
/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/libgdiplus.dylib
   at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
   at System.Drawing.GDIPlus..cctor () [0x0] in :0
   --- End 

[Mono-list] mono-fastcgi-server4 Debian package seems broken

2015-05-08 Thread Daniel Lo Nigro
I'm trying to upgrade from Mono 3.10 to Mono 4.0, and the Debian package
for the FastCGI server appears to be broken. It's still got a version
number of 3.8 rather than 4.0, and installing it returns this error:

"perl-modules : Breaks: mono-fastcgi-server4 (< 3.8-2.1) but 3.8-0xamarin2
is to be installed"

It seems like I can't downgrade perl-modules since other packages on the
system rely on it.

For now I've just installed XSP from source, but this is not ideal as I'd
like to keep using everything from packages where possible. Any ideas?

The good news is that 4.0 seems to have fixed some of the regressions that
were preventing me from running my sites on 3.12 :)

--
Regards,
Daniel Lo Nigro
http://dan.cx/ | Twitter  | Facebook

___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list


[Mono-list] just installed mono, most basic test failed.

2015-05-08 Thread ChipRaptor
Hi everyone, sorry for this mono newbie question:

I just installed mono (4.0.0) on an iMac running Mac OS X 10.6.8. I'm a .Net
developper but I am completely new to mono...

I compiled and ran the basic tests proposed on the mono page at
http://www.mono-project.com/docs/getting-started/mono-basics/

But the first one only was succesfull... (Test.exe which actually is the
first Hello world program, correctly displaying "Hello Mono World".)

But all the other proposed test display a lot of error messages.

See hereafter the terminal full terminal output:

imac-de-claire-lise-culand-4:Documents PF$ mono test.exe
Hello Mono World
imac-de-claire-lise-culand-4:Documents PF$ mono hellogtk
Cannot open assembly 'hellogtk': No such file or directory.
imac-de-claire-lise-culand-4:Documents PF$ mono hellogtk.exe

Unhandled Exception:
System.DllNotFoundException:
/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/libgtk-quartz-2.0.0.dylib
  at (wrapper managed-to-native) Gtk.Application:gtk_init (int&,intptr&)
  at Gtk.Application.Init () [0x0] in :0 
  at Hello.Main () [0x0] in :0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.DllNotFoundException:
/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/libgtk-quartz-2.0.0.dylib
  at (wrapper managed-to-native) Gtk.Application:gtk_init (int&,intptr&)
  at Gtk.Application.Init () [0x0] in :0 
  at Hello.Main () [0x0] in :0 
imac-de-claire-lise-culand-4:Documents PF$ mono hello.exe

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.WindowsFormsSynchronizationContext --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.ThemeEngine --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.ThemeWin32Classic --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.KnownColors --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException:
/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/libgdiplus.dylib
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x0] in :0 
  --- End of inner exception stack trace ---
  at System.Drawing.KnownColors..cctor () [0x0] in :0 
  --- End of inner exception stack trace ---
  at System.Drawing.Color.get_Black () [0x0] in :0 
  at System.Windows.Forms.ThemeWin32Classic..cctor () [0x0] in :0 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.ThemeEngine..cctor () [0x0] in :0 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined ()
[0x0] in :0 
  at System.Windows.Forms.Control..ctor () [0x0] in :0 
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor
()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor ()
[0x0] in :0 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Control..ctor () [0x0] in :0 
  at System.Windows.Forms.ScrollableControl..ctor () [0x0] in :0 
  at System.Windows.Forms.ContainerControl..ctor () [0x0] in :0 
  at System.Windows.Forms.Form..ctor () [0x0] in :0 
  at HelloWorld..ctor () [0x0] in :0 
  at (wrapper remoting-invoke-with-check) HelloWorld:.ctor ()
  at HelloWorld.Main () [0x0] in :0 
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An
exception was thrown by the type initializer for
System.Windows.Forms.WindowsFormsSynchronizationContext --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.ThemeEngine --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Windows.Forms.ThemeWin32Classic --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.KnownColors --->
System.TypeInitializationException: An exception was thrown by the type
initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException:
/Library/Frameworks/Mono.framework/Versions/4.0.0/lib/libgdiplus.dylib
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup
(ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x0] in :0 
  --- End of inner exception stack trace ---
  at System.Drawing.KnownColors..cctor () [0x0] in :0 
  --- End of inner exception stack trace ---
  at System.Drawing.Color.get_Black () [0x0] in :0 
  at System.Windows.Forms.ThemeWin32Classic..cctor () [0x0] in :0 
  --- End of inner exception stack trace ---
  at System.Windows.Forms.ThemeEngine..cctor () [0x0] in :0 

[Mono-list] System.IO.Compression

2015-05-08 Thread Baltasar GarcĂ­a Perez-Schofield
Hi!

Are there any plans to implement System.IO.Compression? Or maybe that now
the library is open-sourced, will it be added to mono any time soon?

-- Baltasar
___
Mono-list maillist  -  Mono-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-list