View previous topic :: View next topic |
Author |
Message |
mtvoid n00b
Joined: 04 Nov 2004 Posts: 7 Location: Boston
|
Posted: Mon Sep 12, 2016 1:52 pm Post subject: app-misc/tomboy crashes |
|
|
tomboy-1.14.1 won't build on my system with the default mono install: dev-lang/mono-4.4.1.0.
Code: |
checking for DBUS... yes
checking for MONO_ADDINS... yes
checking for GNOME... yes
checking for GTKSHARP... yes
checking for Mono 2.0 GAC for Mono.Cairo.dll... not found
configure: error: missing reqired Mono 2.0 assembly: Mono.Cairo.dll
|
Downgrading mono to dev-lang/mono-2.10.9-r2 and rebuilding al dev-dotnet packages allowed me to compile and install tomoby, but it fails when clicking on any of the tray items such as "Create a new note":
Code: |
Unhandled Exception: System.MissingMethodException: Method not found: 'System.Runtime.InteropServices.Marshal.StructureToPtr'.
at (wrapper native-to-managed) GLib.SignalClosure:MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr)
at (wrapper managed-to-native) Gtk.Application:gtk_main ()
at Gtk.Application.Run () [0x00000] in <filename unknown>:0
at Tomboy.GnomeApplication.StartMainLoop () [0x00000] in <filename unknown>:0
at Tomboy.Application.StartMainLoop () [0x00000] in <filename unknown>:0
at Tomboy.Tomboy.StartTrayIcon () [0x00000] in <filename unknown>:0
at Tomboy.Tomboy.Main (System.String[] args) [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.MissingMethodException: Method not found: 'System.Runtime.InteropServices.Marshal.StructureToPtr'.
at (wrapper native-to-managed) GLib.SignalClosure:MarshalCallback (intptr,intptr,uint,intptr,intptr,intptr)
at (wrapper managed-to-native) Gtk.Application:gtk_main ()
at Gtk.Application.Run () [0x00000] in <filename unknown>:0
at Tomboy.GnomeApplication.StartMainLoop () [0x00000] in <filename unknown>:0
at Tomboy.Application.StartMainLoop () [0x00000] in <filename unknown>:0
at Tomboy.Tomboy.StartTrayIcon () [0x00000] in <filename unknown>:0
at Tomboy.Tomboy.Main (System.String[] args) [0x00000] in <filename unknown>:0
|
|
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31373 Location: here
|
Posted: Mon Sep 12, 2016 3:14 pm Post subject: |
|
|
Bug on debian and relative patch.
I think you need change patch for search mono lib version 4.4 (in patch is 4.5), but not sure. _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
mtvoid n00b
Joined: 04 Nov 2004 Posts: 7 Location: Boston
|
Posted: Mon Sep 19, 2016 8:06 pm Post subject: |
|
|
Thanks. I didn't run across these bug reports in my searches.
This looks like a step in the right direction, but it looks like it would require some tweaking to work.
The relevant section of the patch:
Code: |
+- AC_MSG_CHECKING([for Mono 2.0 GAC for $asm.dll])
++ AC_MSG_CHECKING([for Mono 4.5 GAC for $asm.dll])
+ if test \
+- -e "$($PKG_CONFIG --variable=libdir mono)/mono/2.0/$asm.dll" -o \
+- -e "$($PKG_CONFIG --variable=prefix mono)/lib/mono/2.0/$asm.dll"; \
++ -e "$($PKG_CONFIG --variable=libdir mono)/mono/4.5/$asm.dll" -o \
|
I have to admit I can't really read diff files, but this looks like it wouldn't work on my system with Mono 4.0 GAC. Perhaps someone could enlighten me. |
|
Back to top |
|
|
mtvoid n00b
Joined: 04 Nov 2004 Posts: 7 Location: Boston
|
Posted: Mon Sep 19, 2016 8:11 pm Post subject: |
|
|
I discovered that app-misc/gnote is a more or less drop-in replacement for app-misc/tomboy. It uses the same database files, but the interface is not nearly as slick.
So I have access to my 800+ notes until I can get tomboy back. |
|
Back to top |
|
|
fedeliallalinea Administrator
Joined: 08 Mar 2003 Posts: 31373 Location: here
|
Posted: Tue Sep 20, 2016 6:17 am Post subject: |
|
|
mtvoid wrote: | I have to admit I can't really read diff files, but this looks like it wouldn't work on my system with Mono 4.0 GAC. Perhaps someone could enlighten me. |
If you want try patch download this (I changed path for mono 4.4).
For apply patch use /etc/portage/patches _________________ Questions are guaranteed in life; Answers aren't. |
|
Back to top |
|
|
|