求助!编译cairo的问题..
本帖最后由 kstg312476 于 2013-11-18 17:29:41 编辑
configure没过,下面是提示,directfb已经装了,有经验的坛友麻烦帮帮忙。
//--------------------------------
./configure --prefix=/usr/local/cairo/ --host=mipsel-linux --with-x --enable-xlib --enable-xlib-xrender --enable-directfb --disable-win32 --enable-pdf --enable-ps --disable-svg --enable-png LIBS='-L/usr/local/zlib/lib/ -lz' CPPFLAGS='-I/usr/local/zlib/include/' png_CFLAGS='-I/usr/local/libpng/include/' png_LIBS='-L/usr/local/libpng/lib/' FONTCONFIG_CFLAGS='-I/usr/local/fontconfig/include' FONTCONFIG_LIBS='-L/usr/local/fontconfig/lib' FREETYPE_CFLAGS='-I/usr/local/freetype/include/freetype2/ -I/usr/local/freetype/include/' FREETYPE_LIBS='-L/usr/local/freetype/lib' pixman_CFLAGS='-I/usr/local/pixman/include/pixman-1' pixman_LIBS='-L/usr/local/pixman/lib -lpixman-1' directfb_CFLASGS='-I/usr/local/directfb/include/directfb/' directfb_LIBS='-L/usr/local/directfb/lib/' xlib_CFLAGS='-I/usr/local/x11/install/include' xlib_LIBS='-L/usr/local/x11/install/lib' xcb_CFLAGS='-I/usr/local/x11/install/include' xcb_LIBS='-L/usr/local/x11/install/lib' xlib_xrender_CFLAGS='-I/usr/local/x11/libxrender/include' xlib_xrender_LIBS='-L/usr/local/x11/libxrender/lib'
//-------------------------------------
checking for directfb... no
checking whether cairo's directfb surface backend feature could be enabled... no (requires directfb http://www.directfb.org)
configure: error: directfb surface backend feature could not be enabled
root@ubuntu:/home/cairo-1.12.16# cd /usr/local/
root@ubuntu:/usr/local# ls
bin directfb etc games include lib libpng man sbin share src zlib
------解决方案--------------------checking?for?directfb...?no
是不是路径没指定