编译GTK的时候:
bug
checking for mediaLib 2.3... checking for mlib_ImageSetStruct in -lmlib... no
checking for x86 platform... no
checking for gdk-pixbuf-csource... /usr/bin/gdk-pixbuf-csource
checking for gtk-update-icon-cache... /usr/bin/gtk-update-icon-cache
checking for DirectFB... configure: error:
*** DirectFB 1.0.0 or newer and the cairo backend
*** are required. The latest version of DirectFB is always available
*** from http://www.directfb.org/.
参考:
http://www.directfb.com.cn/viewthread.php?tid=497
[root@yijunfeng-59 gtk+-2.16.6]# cat gtk+.cfg
#!/bin/bash
PKG_CONFIG_PATH=${ROOTFS_TOP}/usr/local/lib/pkgconfig/ \
echo gio_can_sniff=yes>config.cache
export LDFLAGS="-L/opt/ubq/devkit/arm/arm11/target/usr/local/lib "
./configure --host=armv6zk-none-linux-gnueabi --target=arm-linux \
--prefix=${ROOTFS_TOP}/usr/local/ \
--with-gdktarget=directfb \
--without-libtiff \
--with-libjasper \
--with-included-loaders=jpeg,png,jasper \
--disable-glibtest \
--enable-modules \
-cache-file=config.cache
添加了上面两句