Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Mono.GetOptions when compiling docky
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
stevegriffdtcom
n00b
n00b


Joined: 27 May 2009
Posts: 24
Location: Cardiff

PostPosted: Sat Jan 01, 2011 12:19 pm    Post subject: Mono.GetOptions when compiling docky Reply with quote

Hello,

I'm having an issue when I'm trying to compile docky, which is part of the gentoo-china overlay:

Code:

Compiling Docky.exe...
error CS0006: cannot find metadata file `Mono.GetOptions'
Compilation failed: 1 error(s), 0 warnings


Anyone know how to get round this issue? Am I missing a package?

Any help would be great

Thanks

Steve
_________________
Follow me on Twitter
Cigars, Real Ale Articles & Reviews
Back to top
View user's profile Send private message
DragonionS
n00b
n00b


Joined: 26 Jul 2008
Posts: 17
Location: Ukraine, Kyiv

PostPosted: Mon Jan 03, 2011 1:02 pm    Post subject: Reply with quote

The same problem. No information about it except of info that GetOptions in mono is obsolete. I am not a C#/Mono programmer to know what to do with it.

I think the problem is the new version of Mono where GetOptions aren't used anymore. This is just an idea :wink:
Back to top
View user's profile Send private message
camtt
n00b
n00b


Joined: 31 Jan 2011
Posts: 1

PostPosted: Mon Jan 31, 2011 11:18 am    Post subject: Downgrade Mono Fix (or just build from current source) Reply with quote

Update 3/2/11
Docky stable 2.0.11 source builds and installs fine against mono 2.8 series. Giving up on out of date 2.0.1 ebuild for now.

Previous:
Mono 2.8 must have only just gone stable on x64 as docky only broke on me today after an update.

Add the following at the bottom of /usr/portage/profiles/package.mask to prevent upgrade to Mono 2.8 series until Docky is updated.

>=dev-lang/mono-2.8.2-r1

Uninstall mono:
emerge -C mono
Then:
emerge -avuD world

Check the version pulled in is less than the 2.8 series, if not change the package.mask entry to exclude the lower 2.8 version being pulled in.

Which will pull in previous mono series and downgrade dependencies accordingly. Working fine for me today.
Back to top
View user's profile Send private message
DragonionS
n00b
n00b


Joined: 26 Jul 2008
Posts: 17
Location: Ukraine, Kyiv

PostPosted: Thu Feb 03, 2011 11:46 pm    Post subject: Reply with quote

The problem was that Mono.GetOption is not presented in new versions of Mono like 2.8.x.

In new versions of Docky we can see it is fixed but I am getting error:

Unhandled Exception: System.ArgumentException: Width / Height must be greater than 0 if icon is not a file or embedded resource

exec mono --debug /usr/lib/docky/Docky.exe gives this:
Unhandled Exception: System.Exception: Unable to open the session message bus. ---> System.Exception: Broken pipe
at NDesk.DBus.Transports.UnixSocket.Write (System.Byte[] buf, Int32 offset, Int32 count) [0x0003c] in /var/tmp/portage/dev-dotnet/dbus-sharp-0.6.1a/work/ndesk-dbus-0.6.1a/src/UnixNativeTransport.cs:153
at NDesk.DBus.Transports.UnixStream.Write (System.Byte[] buffer, Int32 offset, Int32 count) [0x00000] in /var/tmp/portage/dev-dotnet/dbus-sharp-0.6.1a/work/ndesk-dbus-0.6.1a/src/UnixStream.cs:84
at NDesk.DBus.Connection.WriteMessage (NDesk.DBus.Message msg) [0x0007e] in /var/tmp/portage/dev-dotnet/dbus-sharp-0.6.1a/work/ndesk-dbus-0.6.1a/src/Connection.cs:155
at NDesk.DBus.Connection.SendWithReply (NDesk.DBus.Message msg) [0x00036] in /var/tmp/portage/dev-dotnet/dbus-sharp-0.6.1a/work/ndesk-dbus-0.6.1a/src/Connection.cs:127
at NDesk.DBus.Connection.SendWithReplyAndBlock (NDesk.DBus.Message msg) [0x00000] in /var/tmp/portage/dev-dotnet/dbus-sharp-0.6.1a/work/ndesk-dbus-0.6.1a/src/Connection.cs:114
at NDesk.DBus.BusObject.SendMethodCall (System.String iface, System.String member, System.String inSigStr, NDesk.DBus.MessageWriter writer, System.Type retType, System.Exception& exception) [0x0007d] in /var/tmp/portage/dev-dotnet/dbus-sharp-0.6.1a/work/ndesk-dbus-0.6.1a/src/BusObject.cs:142
at IBusProxy.Hello () [0x00000] in <filename unknown>:0
at NDesk.DBus.Bus.Register () [0x00016] in /var/tmp/portage/dev-dotnet/dbus-sharp-0.6.1a/work/ndesk-dbus-0.6.1a/src/Bus.cs:113
at NDesk.DBus.Bus..ctor (System.String address) [0x0001d] in /var/tmp/portage/dev-dotnet/dbus-sharp-0.6.1a/work/ndesk-dbus-0.6.1a/src/Bus.cs:103
at NDesk.DBus.Bus.Open (System.String address) [0x0002d] in /var/tmp/portage/dev-dotnet/dbus-sharp-0.6.1a/work/ndesk-dbus-0.6.1a/src/Bus.cs:83
at NDesk.DBus.Bus.get_Session () [0x0002d] in /var/tmp/portage/dev-dotnet/dbus-sharp-0.6.1a/work/ndesk-dbus-0.6.1a/src/Bus.cs:41
--- End of inner exception stack trace ---
at NDesk.DBus.Bus.get_Session () [0x00042] in /var/tmp/portage/dev-dotnet/dbus-sharp-0.6.1a/work/ndesk-dbus-0.6.1a/src/Bus.cs:43
at NDesk.DBus.BusG.Init () [0x00015] in /var/tmp/portage/dev-dotnet/dbus-glib-sharp-0.4.1/work/ndesk-dbus-glib-0.4.1/src/GLib.cs:22
at Docky.Docky.Main (System.String[] args) [0x0007e] in /var/tmp/portage/gnome-extra/docky-2.0.11/work/docky-2.0.11/Docky/Docky/Docky.cs:63
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum