Need a little help for Building GTK+



Hi,

 

   I am trying to build the GTK+ for Arm board, I have built all the dependent libraries but while configuring the GTK+ I am finding the below errors,

 

Can you please let me know the solution for this,

 

Looking for your reply,

 

 

Configure Error:

 

checking for sys/sysinfo.h... yes

checking for mediaLib 2.3... checking for mlib_ImageSetStruct in -lmlib... no

checking for x86 platform... no

checking for gdk-pixbuf-csource... no

checking for gtk-update-icon-cache... /usr/bin/gtk-update-icon-cache

checking for DirectFB... checking for DIRECTFB... yes

checking Pango flags... -I/home/jagadish/glib_uti/Arm/include/pango-1.0 -I/home/jagadish/glib_uti/Arm/include/glib-2.0 -I/home/jagadish/glib_uti/Arm/lib/glib-2.0/include -I/home/jagadish/glib_uti/Arm/include/cairo -I/home/jagadish/glib_uti/Arm/include/pixman-1 -I/home/jagadish/glib_uti/Arm/include/freetype2 -I/home/jagadish/glib_uti/Arm/include -I/home/jagadish/glib_uti/Arm/include/libpng14   -L/home/jagadish/glib_uti/Arm/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 

configure: error:

*** Can't link to Pango. Pango is required to build

*** GTK+. For more information see http://www.pango.org

 

 

 

 

 

Config.log:

 

 

 

onfigure:32087: result: yes

configure:32119: checking Pango flags

configure:32125: result: -I/home/jagadish/glib_uti/Arm/include/pango-1.0 -I/home/jagadish/glib_uti/Arm/include/glib-2.0 -I/home/jagadish/glib_uti/Arm/lib/glib-2.0/include -I/home/jagadish/glib_uti/Arm/include/cairo -I/home/jagadish/glib_uti/Arm/include/pixman-1 -I/home/jagadish/glib_uti/Arm/include/freetype2 -I/home/jagadish/glib_uti/Arm/include -I/home/jagadish/glib_uti/Arm/include/libpng14   -L/home/jagadish/glib_uti/Arm/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 

configure:32174: arm-linux-gcc -o conftest -DGDK_PIXBUF_DISABLE_DEPRECATED -I/home/jagadish/glib_uti/Arm/include -Wall -I/home/jagadish/glib_uti/Arm/include/pango-1.0 -I/home/jagadish/glib_uti/Arm/include/glib-2.0 -I/home/jagadish/glib_uti/Arm/lib/glib-2.0/include -I/home/jagadish/glib_uti/Arm/include/cairo -I/home/jagadish/glib_uti/Arm/include/pixman-1 -I/home/jagadish/glib_uti/Arm/include/freetype2 -I/home/jagadish/glib_uti/Arm/include -I/home/jagadish/glib_uti/Arm/include/libpng14    -DG_DISABLE_SINGLE_INCLUDES -DATK_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -L/home/jagadish/glib_uti/Arm/lib conftest.c -L/home/jagadish/glib_uti/Arm/lib -lpangocairo-1.0 -lcairo -lpangoft2-1.0 -lpango-1.0 -lm -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0     >&5

/usr/local/lib/gcc/arm-linux/4.2.4/../../../../arm-linux/bin/ld.real: warning: libiconv.so.2, needed by /home/jagadish/glib_uti/Arm/lib/libpangocairo-1.0.so, not found (try using -rpath or -rpath-link)

/usr/local/lib/gcc/arm-linux/4.2.4/../../../../arm-linux/bin/ld.real: warning: libpng14.so.14, needed by /home/jagadish/glib_uti/Arm/lib/libcairo.so, not found (try using -rpath or -rpath-link)

/usr/local/lib/gcc/arm-linux/4.2.4/../../../../arm-linux/bin/ld.real: warning: libxml2.so.2, needed by /home/jagadish/glib_uti/Arm/lib/libfontconfig.so, not found (try using -rpath or -rpath-link)

/home/jagadish/glib_uti/Arm/lib/libfontconfig.so: undefined reference to `xmlParseChunk LIBXML2_2 4 30'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_write_info PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_region32_rectangles'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_create_bits'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_get_stride'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_strip_16 PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_read_update_info PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_add_trapezoids'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_read_info PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_filler PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_region32_intersect'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_tRNS_to_alpha PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_region32_init_rects'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_get_data'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_read_fn PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_read_end PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libfontconfig.so: undefined reference to `libiconv'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_get_error_ptr PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_interlace_handling PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_get_io_ptr PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_region32_contains_rectangle'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_IHDR PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_error PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_read_image PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_region32_init'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_set_filter'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_set_repeat'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_region32_copy'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_get_height'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_write_image PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_region32_not_empty'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_packing PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_write_end PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_gray_to_rgb PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_expand_gray_1_2_4_to_8 PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_create_read_struct PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libfontconfig.so: undefined reference to `libiconv_close'

/home/jagadish/glib_uti/Arm/lib/libfontconfig.so: undefined reference to `xmlCreatePushParserCtxt LIBXML2_2 4 30'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_get_depth'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_create_info_struct PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_unref'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_composite'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_packswap PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_set_component_alpha'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_region32_union_rect'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_destroy_write_struct PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libfontconfig.so: undefined reference to `libiconv_open'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_region32_n_rects'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_region32_extents'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_write_user_transform_fn PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_set_transform'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_format_supported_destination'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_set_clip_region32'

/home/jagadish/glib_uti/Arm/lib/libfontconfig.so: undefined reference to `xmlSAX2GetLineNumber LIBXML2_2 6 0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_create_radial_gradient'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_destroy_read_struct PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_get_valid PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_region32_subtract'

/home/jagadish/glib_uti/Arm/lib/libfontconfig.so: undefined reference to `xmlFreeParserCtxt LIBXML2_2 4 30'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_get_IHDR PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_longjmp_fn PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_fill_rectangles'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_read_user_transform_fn PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_get_width'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_create_write_struct PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_region32_fini'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_palette_to_rgb PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_transform_point_3d'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_image_create_linear_gradient'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_region32_translate'

/home/jagadish/glib_uti/Arm/lib/libfontconfig.so: undefined reference to `xmlCtxtGetLastError LIBXML2_2 6 0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `pixman_region32_init_rect'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_bKGD PNG14_0'

/home/jagadish/glib_uti/Arm/lib/libcairo.so: undefined reference to `png_set_write_fn PNG14_0'

collect2: ld returned 1 exit status

configure:32181: $? = 1

configure: failed program was:

| /* confdefs.h.  */

| #define PACKAGE_NAME "gtk+"

| #define PACKAGE_TARNAME "gtk+"

| #define PACKAGE_VERSION "2.18.7"

| #define PACKAGE_STRING "gtk+ 2.18.7"

| #define PACKAGE_BUGREPORT "http://bugzilla.gnome.org/enter_bug.cgi?product=gtk%2B"

| #define GETTEXT_PACKAGE "gtk20"

| #define STDC_HEADERS 1

| #define HAVE_SYS_TYPES_H 1

| #define HAVE_SYS_STAT_H 1

| #define HAVE_STDLIB_H 1

| #define HAVE_STRING_H 1

| #define HAVE_MEMORY_H 1

| #define HAVE_STRINGS_H 1

| #define HAVE_INTTYPES_H 1

| #define HAVE_STDINT_H 1

| #define HAVE_UNISTD_H 1

| #define HAVE_DLFCN_H 1

| #define LT_OBJDIR ".libs/"

| #define _FILE_OFFSET_BITS 64

| #define GTK_COMPILED_WITH_DEBUGGING "minimum"

| #define HAVE_LSTAT 1

| #define HAVE_MKSTEMP 1

| #define HAVE_FLOCKFILE 1

| #define HAVE_GETC_UNLOCKED 1

| #define HAVE_LOCALTIME_R 1

| #define HAVE__NL_TIME_FIRST_WEEKDAY 1

| #define HAVE__NL_MEASUREMENT_MEASUREMENT 1

| #define HAVE__NL_PAPER_HEIGHT 1

| #define HAVE__NL_PAPER_WIDTH 1

| #define HAVE_SIGSETJMP 1

| #define HAVE_LOCALE_H 1

| #define HAVE_LC_MESSAGES 1

| #define HAVE_BIND_TEXTDOMAIN_CODESET 1

| #define HAVE_GETTEXT 1

| #define HAVE_DCGETTEXT 1

| #define ENABLE_NLS 1

| #define GTK_LOCALEDIR "/home/jagadish/glib_uti/Arm/share/locale"

| #define HAVE_BIND_TEXTDOMAIN_CODESET 1

| #define HAVE_PWD_H 1

| #define HAVE_PWD_H 1

| #define HAVE_SYS_TIME_H 1

| #define HAVE_SYS_TIME_H 1

| #define HAVE_UNISTD_H 1

| #define HAVE_UNISTD_H 1

| #define HAVE_FTW_H 1

| #define HAVE_FTW_H 1

| #define HAVE_GNU_FTW 1

| #define STDC_HEADERS 1

| #define RETSIGTYPE void

| #define HAVE_STDLIB_H 1

| #define HAVE_UNISTD_H 1

| #define HAVE_GETPAGESIZE 1

| #define HAVE_MALLINFO 1

| #define HAVE_GETRESUID 1

| #define HAVE_WCHAR_H 1

| #define HAVE_WCTYPE_H 1

| #define USE_GMODULE 1

| #define HAVE_PROGRESSIVE_JPEG 1

| #define HAVE_SYS_WAIT_H 1

| #define RETSIGTYPE void

| #define HAVE_SYS_SYSINFO_H 1

| /* end confdefs.h.  */

|

| /* Override any GCC internal prototype to avoid an error.

|    Use char because int might match the return type of a GCC

|    builtin and then its argument prototype would still apply.  */

| #ifdef __cplusplus

| extern "C"

| #endif

| char pango_context_new ();

| int

| main ()

| {

| return pango_context_new ();

|   ;

|   return 0;

| }

configure:32196: error:

*** Can't link to Pango. Pango is required to build

*** GTK+. For more information see http://www.pango.org

 

 

 

 

Regards,

Jagadish R

SIEMENS Information Systems Limited

 



Important notice: This e-mail and any attachment there to contains corporate proprietary information. If you have received it by mistake, please notify us immediately by reply e-mail and delete this e-mail and its attachments from your system.
Thank You.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]