Error running the configure script
- From: Sandro Coretti <corettis student ethz ch>
- To: gtk-list gnome org
- Subject: Error running the configure script
- Date: Sat, 31 Mar 2007 21:48:19 +0200
hi folks,
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'
/usr/local/lib/libcairo.so: undefined reference to `png_write_end PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to
`png_set_tRNS_to_alpha PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_set_write_fn PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to
`png_destroy_read_struct PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to
`png_create_read_struct PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to
`png_set_palette_to_rgb PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_set_read_fn PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_set_bKGD PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_set_filler PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_read_image PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to
`png_set_interlace_handling PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_get_io_ptr PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_error PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_read_end PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_read_info PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to
`png_read_update_info PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to
`png_create_write_struct PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_set_IHDR PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_get_valid PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_set_packing PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to
`png_create_info_struct PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to
`png_convert_from_time_t PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to
`png_set_gray_to_rgb PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_write_info PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_write_image PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to
`png_set_read_user_transform_fn PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to
`png_set_gray_1_2_4_to_8 PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_set_tIME PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to
`png_set_write_user_transform_fn PNG12_0'
/usr/local/lib/libcairo.so: undefined reference to `png_set_strip_16 PNG12_0'
collect2: ld returned 1 exit status
judging by these unresolved references to some functions, which i guess belong
to the pango library, changing the order of -lpango-1.0 and -lcairo in the
gcc call might help. but i'm neither sure about that nor do i know how to
achieve that.
i'd be happy if some could give me some pointers on this one.
thank you very much
surge
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]