Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1562277
  • 博文数量: 290
  • 博客积分: 3468
  • 博客等级: 中校
  • 技术积分: 3461
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-28 22:21
文章分类

全部博文(290)

文章存档

2016年(13)

2015年(3)

2014年(42)

2013年(67)

2012年(90)

2011年(75)

分类: LINUX

2011-01-15 11:53:17

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) |
给主人留下些什么吧!~~