[Pkg-mono-devel] Cannot run MonoDevelop, MonoDoc - MonoCommon does not seem to install properly

Brett Senior brett_senior at yahoo.com.au
Thu Aug 14 06:55:09 UTC 2008


I wanted to install monodevelop and the help system monodoc.  All seemed to go OK during the install, but when I run monodevelop I get the following error:

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for MonoDevelop.Core.GettextCatalog ---> System.TypeInitializationException: An exception was thrown by the type initializer for Mono.Unix.Native.Stdlib ---> System.DllNotFoundException: MonoPosixHelper
  at (wrapper managed-to-native) Mono.Unix.Native.Stdlib:GetDefaultSignal ()
  at Mono.Unix.Native.Stdlib..cctor () [0x00000] --- End of inner exception stack trace ---

  at Mono.Unix.UnixMarshal.AllocHeap (Int64 size) [0x00000] 
  at Mono.Unix.UnixMarshal.StringToHeap (System.String s, Int32 index, Int32 count, System.Text.Encoding encoding) [0x00000] 
  at Mono.Unix.UnixMarshal.StringToHeap (System.String s, System.Text.Encoding encoding) [0x00000] 
  at Mono.Unix.UnixMarshal.StringToHeap (System.String s) [0x00000] 
  at Mono.Unix.Catalog.MarshalStrings (System.String s1, System.IntPtr& p1, System.String s2, System.IntPtr& p2, System.String s3, System.IntPtr& p3) [0x00000] 
  at Mono.Unix.Catalog.Init (System.String package, System.String localedir) [0x00000] 
  at MonoDevelop.Core.GettextCatalog..cctor () [0x00000] --- End of inner exception stack trace ---

  at MonoDevelop.Core.Logging.ConsoleLogger.Log (LogLevel level, System.String message) [0x00000] 
  at MonoDevelop.Core.LoggingService.Log (LogLevel level, System.String message) [0x00000] 
  at MonoDevelop.Core.LoggingService.LogError (System.String message, System.Exception ex) [0x00000] 
  at MonoDevelop.Core.Runtime.SetProcessName (System.String name) [0x00000] 
  at MonoDevelop.Startup.SharpDevelopMain.Main (System.String[] args) [0x00000] 

and when I try to install monodoc, I get the following error:

Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for Monodoc.EditingUtils ---> System.TypeInitializationException: An exception was thrown by the type initializer for Monodoc.SettingsHandler ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Xml.Serialization.XmlSerializer ---> System.Configuration.ConfigurationException: Cannot find /etc/mono/1.0/machine.config ()
  at System.Configuration.DefaultConfig.Init () [0x00000] 
  at System.Configuration.DefaultConfig.GetConfig (System.String sectionName) [0x00000] 
  at System.Configuration.ConfigurationSettings.GetConfig (System.String sectionName) [0x00000] 
  at System.Xml.Serialization.XmlSerializer..cctor () [0x00000] --- End of inner exception stack trace ---

  at Monodoc.SettingsHandler..cctor () [0x00000] --- End of inner exception stack trace ---

  at Monodoc.EditingUtils..cctor () [0x00000] --- End of inner exception stack trace ---

  at Monodoc.HelpSource.GetHelpXmlWithChanges (System.String id) [0x00000] 
  at Monodoc.EcmaHelpSource.GetXmlFromUrl (System.String url, System.String& rest) [0x00000] 
  at Monodoc.EcmaHelpSource.PopulateIndex (Monodoc.IndexMaker index_maker) [0x00000] 
  at Monodoc.RootTree.MakeIndex () [0x00000] 
  at Monodoc.Driver.Main (System.String[] args) [0x00000] 
dpkg: error processing monodoc-browser (--configure):
 subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of monodoc:
 monodoc depends on monodoc-browser; however:
  Package monodoc-browser is not configured yet.
dpkg: error processing monodoc (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 monodoc-browser
 monodoc
E: Sub-process /usr/bin/dpkg returned an error code (1)

I went into synaptic and looked at package mono-common and according to the installed files it installs the /etc... config file - but when I look in that directory it is empty.  I did an apt-get update before installing so that I have the latest etc.

Can anyone help so that I can get things running ?
 
Brett Senior.



      Win a MacBook Air or iPod touch with Yahoo!7. http://au.docs.yahoo.com/homepageset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-mono-devel/attachments/20080813/8a16f671/attachment.htm 


More information about the Pkg-mono-devel mailing list