GTK suddenly not finding Pango after DirectFB upgrade during .configure





Hello:

I am building for an GTK+2.12.10 for an embedded ARM Linux system through Scratchbox. Previously, I've been able to get everything to build (along with applications). Yesterday, I upgraded DirectFB and needed to rebuild GTK and the applications (they were still linked to the old DirectFB libraries).

Now when I .configure GTK I am getting can't find Pango. I rebuilt and reinstalled pango, but with the same results. All of the other items (DirectFB, Pango, ATK, Pixbuf, Glib, etc.) build just fine. Something is odd with GTK and I've not been able to find it.

I did search google with a lot of results showing. However, most of them are several years old and I'm not seeing anyone describing a real fix. Many are simply people not setting the LD_LIBRARY_PATH or PKG_CONFIG_PATH's. (both of which I am doing).

Is this something simple that I'm not doing?

Thanks for any insight.  Below are relevant (I think) items.

Please let me know if there is anything more I can provide.

Thanks in advance.

Keith


The following is the tail end of the .configure where it fails.

checking for mediaLib 2.3... checking for mlib_ImageSetStruct in -lmlib... no
checking for x86 platform... no
checking for DirectFB... found
checking Pango flags... -D_REENTRANT -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 -I/usr/local/include/freetype2 -I/usr/local/include -I/usr/local/include/directfb -I/usr/local/include/libpng12 -I/usr/local/include/pixman-1 -L/usr/local/lib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lintl -liconv
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see http://www.pango.org
[sbox-armdemo: ~/gtk+-2.12.10] > ldd /usr/local/lib/libpango
libpango-1.0.la libpango-1.0.so.0.2002.1 libpangocairo-1.0.so.0 libpangoft2-1.0.so libpango-1.0.so libpangocairo-1.0.la libpangocairo-1.0.so.0.2002.1 libpangoft2-1.0.so.0 libpango-1.0.so.0 libpangocairo-1.0.so libpangoft2-1.0.la libpangoft2-1.0.so.0.2002.1
[sbox-armdemo: ~/gtk+-2.12.10] > ldd /usr/local/lib/libpango-1.0.
libpango-1.0.la libpango-1.0.so libpango-1.0.so.0 libpango-1.0.so.0.2002.1
[sbox-armdemo: ~/gtk+-2.12.10] > ldd /usr/local/lib/libpango-1.0.so.0
libgobject-2.0.so.0 => /usr/local/lib/libgobject-2.0.so.0 (0x00000000) libgmodule-2.0.so.0 => /usr/local/lib/libgmodule-2.0.so.0 (0x00000000)
       libdl.so.0 => /lib/libdl.so.0 (0x00000000)
       libglib-2.0.so.0 => /usr/local/lib/libglib-2.0.so.0 (0x00000000)
       libintl.so.8 => /usr/local/lib/libintl.so.8 (0x00000000)
       libiconv.so.2 => /usr/local/lib/libiconv.so.2 (0x00000000)
       libm.so.0 => /lib/libm.so.0 (0x00000000)
       libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00000000)
       libc.so.0 => /lib/libc.so.0 (0x00000000)
       /lib/ld-uClibc.so.0 => /lib/ld-uClibc.so.0 (0x00000000)
[sbox-armdemo: ~/gtk+-2.12.10] > ls /usr/local/lib/pkgconfig/
atk.pc cairo-png.pc direct.pc freetype2.pc glib-2.0.pc gobject-2.0.pc libxml-2.0.pc pixman-1.pc cairo-directfb.pc cairo-ps.pc directfb-internal.pc fusion.pc gmodule-2.0.pc gthread-2.0.pc pango.pc cairo-ft.pc cairo-svg.pc directfb.pc gio-2.0.pc gmodule-export-2.0.pc libpng.pc pangocairo.pc cairo-pdf.pc cairo.pc fontconfig.pc gio-unix-2.0.pc gmodule-no-export-2.0.pc libpng12.pc pangoft2.pc

The pango.pc file is there and below is it's contents.


[sbox-armdemo: ~/gtk+-2.12.10] > cat /usr/local/lib/pkgconfig/pango.pc
prefix=/usr/local
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

pango_module_version=1.6.0

Name: Pango
Description: Internationalized text handling
Version: 1.20.3
Requires: glib-2.0,gobject-2.0,gmodule-no-export-2.0
Libs: -L${libdir} -lpango-1.0
Cflags: -I${includedir}/pango-1.0

As seen below, LD_LIBRARY_PATH and PKG_CONFIG_PATH are set.

[sbox-armdemo: ~/gtk+-2.12.10] > export

declare -x LD_LIBRARY_PATH="/lib:/usr/lib:/usr/local/lib:/usr/X11R6/lib"
declare -x LD_PRELOAD="/scratchbox/tools/lib/libsb.so.0"
declare -x LESSOPEN="|/scratchbox/tools/bin/lesspipe.sh %s"
declare -x LIBTOOL="/targets/links/arch_tools/bin/libtool"

declare -x PATH="/scratchbox/devkits/cputransp/bin:/scratchbox/tools/bin:/targets/links/arch_tools/bin:/host_usr/bin:/scratchbox/compilers/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin:/sbin:/usr/sbin"
declare -x PKG_CONFIG_PATH="/usr/local/lib/pkgconfig"

declare -x PWD="/home/keith/gtk+-2.12.10"
declare -x PYTHONPATH="/scratchbox/devkits/cputransp/lib/site-python:"
declare -x SBOX_CPUTRANSPARENCY_LOG="/tmp/cputransp_keith.log"
declare -x SBOX_ENV_GCONV_PATH="(UNSET)"
declare -x SBOX_LD_FAKE_NATIVE="yes"
declare -x SBOX_PRELOAD="/scratchbox/tools/lib/libsb.so.0"
declare -x SBOX_REDIRECT_FROM_DIRS="/bin:/usr/bin:/usr/local/bin"
declare -x SBOX_REDIRECT_TO_DIRS="/scratchbox/devkits/cputransp/bin::/scratchbox/tools/bin:/targets/links/arch_tools/bin:/scratchbox/compilers/bin"
declare -x SBOX_UNAME_MACHINE="arm"

declare -x USER="keith"
declare -x _SBOX_DIR="/mnt/labs/scratchbox-arm-1.0.8/scratchbox"
declare -x _SBOX_RESTART_FILE="/tmp/scratchbox-restart.keith"
declare -x _SBOX_SHELL_PID="17596"
declare -x _SBOX_USER_GROUPNAME="keith"
[sbox-armdemo: ~/gtk+-2.12.10] >

The following is a listing of the /usr/local/lib directory showing everything there:


[sbox-armdemo: ~/gtk+-2.12.10] > ls /usr/local/lib
directfb-1.2-0-pure libdirectfb-1.2.so.0.0.0 libgettextpo.so.0.4.0 libiconv.la libpng.so.3.20.0 gettext libdirectfb.la libgettextsrc-0.17.so libiconv.so libpng12.a giw libdirectfb.so libgettextsrc.la libiconv.so.2 libpng12.la glib-2.0 libfontconfig.a libgettextsrc.so libiconv.so.2.4.0 libpng12.so gtk-2.0 libfontconfig.la libgio-2.0.la libintl.a libpng12.so.0 hide libfontconfig.so libgio-2.0.so libintl.la libpng12.so.0.20.0 libasprintf.a libfontconfig.so.1 libgio-2.0.so.0 libintl.so libtiff.a libasprintf.la libfontconfig.so.1.3.0 libgio-2.0.so.0.0.0 libintl.so.8 libtiff.la libasprintf.so libfreetype.a libglib-2.0.la libintl.so.8.0.2 libtiff.so libasprintf.so.0 libfreetype.la libglib-2.0.so libpango-1.0.la libtiff.so.3 libasprintf.so.0.0.0 libfreetype.so libglib-2.0.so.0 libpango-1.0.so libtiff.so.3.8.2 libatk-1.0.la libfreetype.so.6 libglib-2.0.so.0.1600.3 libpango-1.0.so.0 libtiffxx.a libatk-1.0.so libfreetype.so.6.3.16 libglib-2.0.so.0.200.3 libpango-1.0.so.0.2002.1 libtiffxx.la libatk-1.0.so.0 libfusion-1.0.so.0 libgmodule-2.0.la libpangocairo-1.0.la libtiffxx.so libatk-1.0.so.0.1915.1 libfusion-1.0.so.0.1.0 libgmodule-2.0.so libpangocairo-1.0.so libtiffxx.so.3 libcairo.a libfusion-1.2.so.0 libgmodule-2.0.so.0 libpangocairo-1.0.so.0 libtiffxx.so.3.8.2 libcairo.la libfusion-1.2.so.0.0.0 libgmodule-2.0.so.0.1600.3 libpangocairo-1.0.so.0.2002.1 libxml2.a libcairo.so libfusion.la libgmodule-2.0.so.0.200.3 libpangoft2-1.0.la libxml2.la libcairo.so.2 libfusion.so libgobject-2.0.la libpangoft2-1.0.so libxml2.so libcairo.so.2.17.5 libgdk-directfb-2.0.so.0 libgobject-2.0.so libpangoft2-1.0.so.0 libxml2.so.2 libcharset.a libgdk-directfb-2.0.so.0.1200.9 libgobject-2.0.so.0 libpangoft2-1.0.so.0.2002.1 libxml2.so.2.6.32 libcharset.la libgdk_pixbuf-2.0.so.0 libgobject-2.0.so.0.1600.3 libpixman-1.a libz.a libcharset.so libgdk_pixbuf-2.0.so.0.1200.9 libgobject-2.0.so.0.200.3 libpixman-1.la mv libcharset.so.1 libgettextlib-0.17.so libgthread-2.0.la libpixman-1.so pango libcharset.so.1.0.0 libgettextlib.la libgthread-2.0.so libpixman-1.so.0 pkgconfig libdirect-1.2.so.0 libgettextlib.so libgthread-2.0.so.0 libpixman-1.so.0.10.0 preloadable_libiconv.so libdirect-1.2.so.0.0.0 libgettextpo.a libgthread-2.0.so.0.1600.3 libpng.a xml2Conf.sh libdirect.la libgettextpo.la libgthread-2.0.so.0.200.3 libpng.la libdirect.so libgettextpo.so libgtk-directfb-2.0.so.0 libpng.so libdirectfb-1.2.so.0 libgettextpo.so.0 libgtk-directfb-2.0.so.0.1200.9 libpng.so.3





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