gtk+-2.10.14:
系统环境:龙芯2F + 中标5(龙芯版)+ gcc-4.2.3
$export PREFIX=/home/cs2c/mylib/gtk+-2.10.14/
$./configure --prefix=$PREFIX
出错信息:
configure: WARNING: *** TIFF loader will not be built (TIFF library not found) ***
configure: error:
*** Checks for TIFF loader failed. You can build without it by passing
*** --without-libtiff to configure but some programs using GTK+ may
*** not work properly
解决办法:
$./configure --without-libtiff --prefix=$PREFIX
出错信息:
configure: error:
*** Checks for JPEG loader failed. You can build without it by passing
*** --without-libjpeg to configure but some programs using GTK+ may
*** not work properly
解决办法:
$ ./configure --without-libtiff --without-libjpeg --prefix=$PREFIX
出错信息:
没有了#configure: error: *** libX11 not found. Check 'config.log' for more details.
checking for BASE_DEPENDENCIES... configure: error: Package requirements (glib-2.0 >= 2.12.0 atk >= 1.9.0 pango >= 1.12.0 cairo >= 1.2.0) were not met:
Package xcb was not found in the pkg-config search path.
Perhaps you should add the directory containing `xcb.pc'
to the PKG_CONFIG_PATH environment variable
Package 'xcb', required by 'XCB Xlib', not found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables BASE_DEPENDENCIES_CFLAGS
and BASE_DEPENDENCIES_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
解决办法:
$ export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/home/cs2c/mylib/libxcb1.3/lib/pkgconfig
//这个在libX11编译时编译了
$ ./configure --without-libtiff --without-libjpeg --prefix=$PREFIX
$make
$make install
阅读(1664) | 评论(0) | 转发(0) |