GNOME Bugzilla – Bug 514252
beagle evolution backend doesn't build
Last modified: 2008-02-09 19:30:42 UTC
This is on Mandriva Cooker with beagle 0.3.3, gtk-sharp 2.11.91, gnome-sharp 2.19.91, evolution-sharp 0.15.4 and gmime-sharp 2.2.15: /usr/bin/gmcs -debug -nowarn:0162,0164,0168,0169,0219,0436 -out:EvolutionBackends.dll -target:library ./EvolutionBackendsAssemblyInfo.cs ./EvolutionDataServerQueryable/BookContainer.cs ./EvolutionDataServerQueryable/CalContainer.cs ./EvolutionDataServerQueryable/Container.cs ./EvolutionDataServerQueryable/EvolutionDataServerQueryable.cs ./EvolutionDataServerQueryable/SchedulingIndexableGenerator.cs ./EvolutionDataServerQueryable/SourcesHandler.cs ./EvolutionMailQueryable/EvolutionMailQueryable.cs ./EvolutionMailQueryable/EvolutionMailIndexableGenerator.cs ./EvolutionMailQueryable/EvolutionSummaryTracker.cs ./EvolutionMailQueryable/GConfThreadHelper.cs ./EvolutionMailQueryable/MailCrawler.cs -r:ICSharpCode.SharpZipLib -r:../Util/Util.dll -r:../BeagleClient/Beagle.dll -r:./BeagleDaemonLib.dll -r:Mono.Posix -r:/usr/lib/mono/evolution-sharp/evolution-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp.dll -r:/usr/lib/mono/gmime-sharp/gmime-sharp.dll -r:Mono.Data.Sqlite ./EvolutionMailQueryable/GConfThreadHelper.cs(30,7): error CS0246: The type or namespace name `GLib' could not be found. Are you missing a using directive or an assembly reference? ./EvolutionMailQueryable/GConfThreadHelper.cs(30,1): error CS0246: The type or namespace name `GLib' could not be found. Are you missing a using directive or an assembly reference? ./EvolutionMailQueryable/GConfThreadHelper.cs(30,7): error CS0246: The type or namespace name `GLib' could not be found. Are you missing a using directive or an assembly reference? ./EvolutionMailQueryable/GConfThreadHelper.cs(30,1): error CS0246: The type or namespace name `GLib' could not be found. Are you missing a using directive or an assembly reference? Compilation failed: 4 error(s), 0 warnings There's simply a reference to glib-sharp.dll missing, then it builds fine.
Nothing changed in the build system. Was it building correctly before ? Notably what does pkg-config reports ? This is on my test gutsy vm: ubuntu@ubuntu-vm:~/beagle/beagled$ pkg-config --libs gconf-sharp-2.0 -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp-peditors.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/art-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gnome-vfs-sharp.dll -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/glib-sharp.dll
# pkg-config --libs gconf-sharp-2.0 -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-2.0/gconf-sharp.dll This is the new gnome-sharp.
r4470 should fix it.