configure problem of GTK for cross compiling



Title: Mail
 
I've built Tinyx successfully and then built the followings with this order
 
glib-2.11.3
atk-1.10.3
zlib-1.2.3
libpng-1.2.10
cairo-1.1.6
pango-1.13.1
 
and all succeeded.
 
pango's 5 libraries of pango, pangocairo, pangoft2, pangox, pangoxft all come out,all libraries are put in /usr/local/lib,
I also set "export PKG_CONFIG_PATH=/usr/local/lib"
 
After I configured GTK v2.9.3 based on Tinyx using the following command
 
./configure --host=arm-linux \
  --without-libtiff \
  --without-libpng \
  --without-libjpeg \
  --disable-glibtest \
  --disable-modules \
  --disable-largefile \
  --with-gdktarget=linux-fb \
  --with-x  \
  --x-includes=/root/target/gtk/xc/exports/include \
  --x-libraries=/root/target/gtk/xc/exports/lib \
  CC=/usr/local/arm/3.3.2/bin/arm-linux-gcc \
 
It says:
 
...
configure: error:
*** Can't link to Pango. Pango is required to build
*** GTK+. For more information see
http://www.pango.org
 
What's wrong? Is the option "--with-gdktarget=linux-fb" right? Any clues will be appreciated.
 
 
                           Zhang Long


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