Re: Error running the configure script
- From: David Nečas (Yeti) <yeti physics muni cz>
- To: gtk-list gnome org
- Subject: Re: Error running the configure script
- Date: Sun, 1 Apr 2007 10:16:36 +0200
On Sat, Mar 31, 2007 at 09:48:19PM +0200, Sandro Coretti wrote:
> i've been trying to install gtk 2.10.11 but was stopped by a problem that
> apparently many others had as well but thus far, none of the numerous posts
> on the internet containted much that could help me.
>
> the configure script aborts saying that it can't link to pango, specifically
>
> checking Pango
> flags... -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0
> -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo
> -L/usr/local/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
> configure: error:
> *** Can't link to Pango. Pango is required to build
> *** GTK+. For more information see http://www.pango.org
>
>
> below i added the corresponding lines of the config.log file
>
> configure:33868: checking Pango flags
> configure:33874:
> result: -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo -L/usr/local/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
> configure:33923: gcc -o
> conftest -DG_DISABLE_DEPRECATED -g -O2 -Wall -I/usr/local/include/pango-1.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/cairo
> conftest.c -L/usr/local/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0
> >&5
> /usr/local/lib/libcairo.so: undefined reference to `png_get_IHDR PNG12_0'
> /usr/local/lib/libcairo.so: undefined reference to
> `png_destroy_write_struct PNG12_0'
> ...
>
> judging by these unresolved references to some functions, which i guess belong
> to the pango library,
Functions with png_ prefix obviously belongs to libpng,
which is used by cairo.
You have miscompiled cairo, your system requires to
explicitly link with indirectly used libraries but for some
reason they are not listed, you have mixed two installations
of cairo, or something similar.
Yeti
--
http://gwyddion.net/
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]