Note: this answer works with the current stable source, but if you are using git you may need a new version of glib-sharp
not provided by the repositories (see the end of the answer).
Using apt-cache
we can search the required library with:
apt-cache search 'glib-sharp*'
which returns, among other files:
libglib2.0-cil-dev
So I should install this package and the other required packages with
sudo apt-get install libglib2.0-cil-dev libgconf2.0-cil-dev libgconf2-dev
and sudo apt-get build-dep banshee
.
The package for libglib2.0-cil-dev
, for example, notes that
This package provides the glib-sharp assembly that allows CLI (.NET) programs
to use the GLib utility library 2.12. This is mostly useful for the GTK+ and
GNOME bindings.
It is also probably best to check the official Banshee
requirements, and check that you have got all the required libraries as noted at the official site; if you are compiling the development version, other files and newer versions of them may be needed.
I just did a successful configure
with the latest stable source and only had to install a couple of extra things:
sudo apt-get install boo libboo-cil-dev mono-gmcs
The latest stable version shouldn't require glib-sharp-3.0
; in the configure report is the following:
Banshee-2.6.0:
(glib >= 2.22, gio-sharp >= 2.22.3, and gtk-sharp-beans)
However, if you are compiling from Git you will need to run ./autogen.sh
instead of configure
, as noted on the official site. You may also need to get the glib-sharp-3
file in this case from other sources or even compile some libraries, as the files you want may not be available in the repositories, so the git sources here might help.