Re: Trouble compiling dashboard



Hi,

This seems to be a problem with the different versions of gtk-sharp.
It does work with the version that Ubuntu ships by default. I will
have a look at fixing it tonight. Thanks for the heads up!

Best,
Lukas

On Fri, Jul 25, 2008 at 8:27 PM, Mads Villadsen <maxx krakoa dk> wrote:
> I'm trying to compile dashboard (on Fedora 9), and after installing all
> the required libs I get the following compile error:
>
> /usr/bin/gmcs -debug -unsafe -nowarn:0169,0618,0414
> -define:ENABLE_INOTIFY -define:LINUX  -target:library
> -out:Dashboard.Util.dll -r:Mono.Posix -r:System.Web
> -r:/usr/lib/mono/ndesk-dbus-1.0/NDesk.DBus.dll
> -r:/usr/lib/mono/ndesk-dbus-glib-1.0/NDesk.DBus.GLib.dll
> -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll
> -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll
> -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll
> -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll
> -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll
> -r:/usr/lib/mono/gtk-sharp-2.0/gnome-sharp.dll
> -r:/usr/lib/mono/gtk-sharp-2.0/art-sharp.dll
> -r:/usr/lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll
> -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll
> -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll
> -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll
> -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll
> -r:/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll
> AssemblyInfo.cs Dashboard.Util/ArrayFu.cs
> Dashboard.Util/ConfigureDefines.cs
> Dashboard.Util/ExceptionHandlingThread.cs Dashboard.Util/GnomeFu.cs
> Dashboard.Util/HtmlRemovingReader.cs Dashboard.Util/Inotify.cs
> Dashboard.Util/PathFinder.cs Dashboard.Util/ReflectionFu.cs
> Dashboard.Util/SafeProcess.cs Dashboard.Util/Stopwatch.cs
> Dashboard.Util/StringFu.cs Dashboard.Util/SystemInformation.cs
> Dashboard.Util/ThreadAssist.cs Dashboard.Util/ThreadPond.cs
> Dashboard.Util/UnixClient.cs Dashboard.Util/UnixListener.cs
> Dashboard.Util/UriFu.cs Dashboard.Util/WebpageFu.cs
> Dashboard.Util/XmlFu.cs Hal/AccessControl.cs Hal/Context.cs
> Hal/CPUFreq.cs Hal/Device.cs Hal/IAccessControl.cs Hal/ICPUFreq.cs
> Hal/IDevice.cs Hal/IKillSwitch.cs Hal/ILaptopPanel.cs
> Hal/ILightSensor.cs Hal/IManager.cs Hal/IStorage.cs
> Hal/ISystemPowerManagement.cs Hal/IVolume.cs Hal/IVolumeCrypto.cs
> Hal/KillSwitch.cs Hal/LaptopPanel.cs Hal/LightSensor.cs Hal/Manager.cs
> Hal/PropertyModification.cs Hal/Storage.cs Hal/SystemPowerManagement.cs
> Hal/Volume.cs Hal/VolumeCrypto.cs Lastfm/Lastfm.cs
> NetworkManager/Device.cs NetworkManager/IDevice.cs
> NetworkManager/IManager.cs NetworkManager/Manager.cs
> PanelApplet/BonoboUIVerb.cs PanelApplet/ChangeBackgroundHandler.cs
> PanelApplet/ChangeSizeHandler.cs
> PanelApplet/GnomeSharp.PanelAppletFactoryCallbackNative.cs
> PanelApplet/MoveFocusOutOfAppletHandler.cs PanelApplet/ObjectManager.cs
> PanelApplet/PanelApplet.cs PanelApplet/PanelAppletBackgroundType.cs
> PanelApplet/PanelAppletFactory.cs
> PanelApplet/PanelAppletFactoryCallback.cs
> PanelApplet/PanelAppletFlags.cs Twitter/Twitter.cs Xesam/Xesam.cs
> Dashboard.Util/GnomeFu.cs(51,55): error CS1502: The best overloaded
> method match for `Gnome.Icon.Lookup(Gtk.IconTheme,
> Gnome.ThumbnailFactory, string, string, Gnome.Vfs.FileInfo, string,
> Gnome.IconLookupFlags, out Gnome.IconLookupResultFlags)' has some
> invalid arguments
> /usr/lib/mono/gac/gnome-sharp/2.16.0.0__35e10195dab3c99f/gnome-sharp.dll
> (Location of the symbol related to previous error)
> Dashboard.Util/GnomeFu.cs(51,55): error CS1503: Argument 1: Cannot
> convert type `Dashboard.Util.GnomeFu.icon_theme' to `Gtk.IconTheme'
> Compilation failed: 2 error(s), 0 warnings
> make[2]: *** [Dashboard.Util.dll] Error 1
>
> I had to install gtk-sharp and gnome-desktop-sharp to /usr/local since
> no packages exist for Fedora 9. Everything else is installed as packages
> in /usr/lib
>
> Here are the versions I am using:
>
> libwnck-devel-2.22.3-1.fc9.i386
> gtk-sharp2-devel-2.10.3-3.fc9.i386
> beagle-devel-0.3.7-4.fc9.i386
> gnome-sharp-devel-2.16.1-1.fc9.i386
> ndesk-dbus-devel-0.6.1a-2.fc9.i386
> ndesk-dbus-glib-devel-0.4.1-3.fc9.i386
> mono-addins-devel-0.3-5.fc9.i386
>
> gtk-sharp-2.12.0
> gnome-desktop-sharp-2.20.1
>
> The svn checkout is revision 165.
>
> I appears to be correctly picking up the locally installed libs, but
> something is still wrong. Do I need newer versions of some libs? Any
> other ideas?
>
> Thanks in advance for any help.
> --
> Mads Villadsen <maxx krakoa dk>
>
> _______________________________________________
> Dashboard-hackers mailing list
> Dashboard-hackers gnome org
> http://mail.gnome.org/mailman/listinfo/dashboard-hackers
>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]