Hi,
I noticed a bunch of
similar issues but no resolution, I'd appreciate it if some one responds with
their fix to this problem. I encountered the following error when I configured
gtk+-2.14.7
*** Can't link
to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org
*** GTK+. For more information see http://www.pango.org
I've already
compiled and installed the following packages,.
GLIB
2.18.4
ATK
1.24.0
LIBPNG
1.2.34
CAIRO
1.8.6
PANGO
1.20.5
and my pkg_config
certainly sees them
>pkg-config
--list-all
gmodule-export-2.0 GModule - Dynamic module loader for GLib
cairo cairo - Multi-platform 2D graphics library
pangocairo Pango Cairo - Cairo rendering support for Pango
pixman-1 Pixman - The pixman library (version 1)
cairo-xlib-xrender cairo-xlib-xrender - Xlib Xrender surface backend for cairo graphics library
cairo-svg cairo-svg - SVG surface backend for cairo graphics library
gmodule-2.0 GModule - Dynamic module loader for GLib
freetype2 FreeType 2 - A free, high-quality, and portable font engine.
fontconfig Fontconfig - Font configuration and customization library
cairo-pdf cairo-pdf - PDF surface backend for cairo graphics library
gio-unix-2.0 GIO unix specific APIs - unix specific headers for glib I/O library
cairo-xlib cairo-xlib - Xlib surface backend for cairo graphics library
glib-2.0 GLib - C Utility Library
gobject-2.0 GObject - GLib Type, Object, Parameter and Signal Library
gthread-2.0 GThread - Thread support for GLib
xcursor Xcursor - X Cursor library
pangoft2 Pango FT2 and Pango Fc - Freetype 2.0 and fontconfig font support for Pango
libpng libpng - Loads and saves PNG files
gmodule-no-export-2.0 GModule - Dynamic module loader for GLib
pangox Pango X - X Window System font support for Pango
pangoxft Pango Xft - Xft font support for Pango
libpng12 libpng - Loads and saves PNG files
cairo-png cairo-png - PNG functions for cairo graphics library
pygobject-2.0 PyGObject - Python bindings for GObject
cairo-ft cairo-ft - FreeType font backend for cairo graphics library
xft Xft - X FreeType library
cairo-ps cairo-ps - PostScript surface backend for cairo graphics library
gio-2.0 GIO - glib I/O library
xrender Xrender - X Render Library
pango Pango - Internationalized text handling
atk Atk - Accessibility Toolkit
gmodule-export-2.0 GModule - Dynamic module loader for GLib
cairo cairo - Multi-platform 2D graphics library
pangocairo Pango Cairo - Cairo rendering support for Pango
pixman-1 Pixman - The pixman library (version 1)
cairo-xlib-xrender cairo-xlib-xrender - Xlib Xrender surface backend for cairo graphics library
cairo-svg cairo-svg - SVG surface backend for cairo graphics library
gmodule-2.0 GModule - Dynamic module loader for GLib
freetype2 FreeType 2 - A free, high-quality, and portable font engine.
fontconfig Fontconfig - Font configuration and customization library
cairo-pdf cairo-pdf - PDF surface backend for cairo graphics library
gio-unix-2.0 GIO unix specific APIs - unix specific headers for glib I/O library
cairo-xlib cairo-xlib - Xlib surface backend for cairo graphics library
glib-2.0 GLib - C Utility Library
gobject-2.0 GObject - GLib Type, Object, Parameter and Signal Library
gthread-2.0 GThread - Thread support for GLib
xcursor Xcursor - X Cursor library
pangoft2 Pango FT2 and Pango Fc - Freetype 2.0 and fontconfig font support for Pango
libpng libpng - Loads and saves PNG files
gmodule-no-export-2.0 GModule - Dynamic module loader for GLib
pangox Pango X - X Window System font support for Pango
pangoxft Pango Xft - Xft font support for Pango
libpng12 libpng - Loads and saves PNG files
cairo-png cairo-png - PNG functions for cairo graphics library
pygobject-2.0 PyGObject - Python bindings for GObject
cairo-ft cairo-ft - FreeType font backend for cairo graphics library
xft Xft - X FreeType library
cairo-ps cairo-ps - PostScript surface backend for cairo graphics library
gio-2.0 GIO - glib I/O library
xrender Xrender - X Render Library
pango Pango - Internationalized text handling
atk Atk - Accessibility Toolkit
Here is the related
portion of config.log
configure:33965:
checking Pango flags
configure:33971: result: -I/pkg/glib/include/glib-2.0 -I/pkg/glib/lib/glib-2.0/include -I/usr/X11R6/include -I/pkg/pango/include/pango-1.0 -I/pkg/png/include/libpng12 -I/pkg/pixman-1/include/pixman-1 -I/pkg/freetype/include/freetype2 -I/pkg/freetype/include -I/pkg/fontconfig/include -I/pkg/cairo/include/cairo -L/pkg/glib/lib -L/pkg/pango/lib -L/pkg/cairo/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
configure:34020: gcc -o conftest -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -I/pkg/glib/include/glib-2.0 -I/pkg/glib/lib/glib-2.0/include -I/usr/X11R6/include -I/pkg/pango/include/pango-1.0 -I/pkg/png/include/libpng12 -I/pkg/pixman-1/include/pixman-1 -I/pkg/freetype/include/freetype2 -I/pkg/freetype/include -I/pkg/fontconfig/include -I/pkg/cairo/include/cairo -I/pkg/gtk/include -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/X11R6/include -L/pkg/gtk/lib conftest.c -L/pkg/glib/lib -L/pkg/pango/lib -L/pkg/cairo/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 >&5
/pkg/cairo/lib/libcairo.so: undefined reference to `png_get_IHDR@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_destroy_write_struct@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_write_end@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_tRNS_to_alpha@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_write_fn@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_destroy_read_struct@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_create_read_struct@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_packswap@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_palette_to_rgb@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_read_fn@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_bKGD@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_filler@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_read_image@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_interlace_handling@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_get_io_ptr@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_error@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_read_end@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_read_info@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_read_update_info@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_create_write_struct@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_IHDR@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_get_valid@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_packing@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_create_info_struct@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_gray_to_rgb@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_expand_gray_1_2_4_to_8@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_write_info@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_write_image@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_read_user_transform_fn@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_get_error_ptr@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_write_user_transform_fn@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_strip_16@PNG12_0'
collect2: ld returned 1 exit status
configure:33971: result: -I/pkg/glib/include/glib-2.0 -I/pkg/glib/lib/glib-2.0/include -I/usr/X11R6/include -I/pkg/pango/include/pango-1.0 -I/pkg/png/include/libpng12 -I/pkg/pixman-1/include/pixman-1 -I/pkg/freetype/include/freetype2 -I/pkg/freetype/include -I/pkg/fontconfig/include -I/pkg/cairo/include/cairo -L/pkg/glib/lib -L/pkg/pango/lib -L/pkg/cairo/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0
configure:34020: gcc -o conftest -DGDK_PIXBUF_DISABLE_DEPRECATED -g -O2 -Wall -I/pkg/glib/include/glib-2.0 -I/pkg/glib/lib/glib-2.0/include -I/usr/X11R6/include -I/pkg/pango/include/pango-1.0 -I/pkg/png/include/libpng12 -I/pkg/pixman-1/include/pixman-1 -I/pkg/freetype/include/freetype2 -I/pkg/freetype/include -I/pkg/fontconfig/include -I/pkg/cairo/include/cairo -I/pkg/gtk/include -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -I/usr/X11R6/include -L/pkg/gtk/lib conftest.c -L/pkg/glib/lib -L/pkg/pango/lib -L/pkg/cairo/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 >&5
/pkg/cairo/lib/libcairo.so: undefined reference to `png_get_IHDR@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_destroy_write_struct@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_write_end@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_tRNS_to_alpha@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_write_fn@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_destroy_read_struct@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_create_read_struct@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_packswap@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_palette_to_rgb@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_read_fn@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_bKGD@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_filler@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_read_image@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_interlace_handling@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_get_io_ptr@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_error@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_read_end@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_read_info@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_read_update_info@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_create_write_struct@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_IHDR@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_get_valid@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_packing@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_create_info_struct@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_gray_to_rgb@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_expand_gray_1_2_4_to_8@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_write_info@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_write_image@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_read_user_transform_fn@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_get_error_ptr@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_write_user_transform_fn@PNG12_0'
/pkg/cairo/lib/libcairo.so: undefined reference to `png_set_strip_16@PNG12_0'
collect2: ld returned 1 exit status
Any help will b
greatly appreciated.
Regards,
-Amir
_______________________________________________ gtk-list mailing list gtk-list@xxxxxxxxx http://mail.gnome.org/mailman/listinfo/gtk-list