[Mono-dev] (macosX) problem concerning gtk-sharp while compiling gnome-sharp
andreas.faerber at web.de
Tue Aug 14 09:51:52 EDT 2007
Am 14.08.2007 um 15:06 schrieb Rafael Teixeira:
> pkgconfig is normally installed with every major distro, probably you
> need to install the gtk-sharp devel packages, that install the
> corresponding .pc files for pkgconfig to use.
Mac OS X does not ship pkg-config and it does not have devel packages
The Mono.framework includes a local copy of pkg-config, or
alternatively it can be installed from source (needs to be in PATH or
specified as PKG_CONFIG).
As indicated, try adjusting the PKG_CONFIG_PATH variable to point to
the directory containing the .pc file (might be the standard /usr/
local/lib/pkgconfig if you didn't change the prefix) - that should
find the gtk-sharp-2.0.pc file. But you likely also need some GNOME
files for gnome-sharp, so if you don't intend to run gnome-sharp apps
on OS X it might be easier to copy the assembly over from a Linux box.
Or are you trying to install MonoDevelop? That makes certain
assumptions on the location of the assemblies later on, I needed to
install everything into the same prefix as Mono for it to compile.
> On 8/13/07, lolveley <olivier57b at yahoo.fr> wrote:
>> I would like to compile gnome-sharp 2.16.0, and one of its
>> dependency is
>> So I have installed gtk-sharp 2.10.0, but when I type "./
>> configure" in the
>> gnome-sharp folder, the computer says me:
>> checking for GTKSHARP... configure: error: Package requirements
>> (gtk-sharp-2.0 >= 2.10.0) were not met:
>> No package 'gtk-sharp-2.0' found
>> Consider adjusting the PKG_CONFIG_PATH environment variable if you
>> installed software in a non-standard prefix.
>> Alternatively, you may set the environment variables GTKSHARP_CFLAGS
>> and GTKSHARP_LIBS to avoid the need to call pkg-config.
>> See the pkg-config man page for more details.
>> I don't know how to solve this problem, I have no knowledge
>> pkg-config, I don't know if it's installed.
More information about the Mono-devel-list