[Mono-list] Problem with compiling on Ubuntu 6.06

Andreas Färber andreas.faerber at web.de
Fri Aug 3 04:13:26 EDT 2007


Am 03.08.2007 um 01:15 schrieb Paul Hoffman:

> Greetings. I'm trying to compile 1.2.4 from source on Ubuntu 6.06. I
> have added a few of the things needed, but ./configure now stops at:
>
> ...
> checking for -Wdeclaration-after-statement option to gcc... yes
> checking for pkg-config... /usr/bin/pkg-config
> Package glib-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `glib-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'glib-2.0' found
> Package gthread-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gthread-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gthread-2.0' found
> Package glib-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `glib-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'glib-2.0' found
> Package gthread-2.0 was not found in the pkg-config search path.
> Perhaps you should add the directory containing `gthread-2.0.pc'
> to the PKG_CONFIG_PATH environment variable
> No package 'gthread-2.0' found
> checking pkg-config is at least version 0.9.0... yes
> checking for BASE_DEPENDENCIES... configure: error: Package
> requirements (glib-2.0 >= 1.3.11) were not met:
>
> No package 'glib-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  
> BASE_DEPENDENCIES_CFLAGS
> and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
>
> The problem is not that I don't have glib-2.0, it's that it is called
> something different on Ubuntu, namely libglib2.0-0.
>
> How do I tell ./configure to look for libglib2.0-0 instead of  
> glib-2.0?

This is not about the .deb package, it's about the .pc file - you  
likely don't have the libglib2.0-dev package installed.

Andreas


More information about the Mono-list mailing list