Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3519904
  • 博文数量: 1805
  • 博客积分: 135
  • 博客等级: 入伍新兵
  • 技术积分: 3345
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-19 20:01
文章分类

全部博文(1805)

文章存档

2017年(19)

2016年(80)

2015年(341)

2014年(438)

2013年(349)

2012年(332)

2011年(248)

分类:

2012-11-05 14:21:56

原文地址:Gtk+-2.20.1编译 作者:mxcai2005

Gtk+-2.20.1编译

软件包:Gtk+-2.20.1.tar.gz(下载地址:)
环境:ubuntu10.04 + i486-linux-gcc-4.4.3
$ export PREFIX=/home/loongson/mylib/
$ ./configure --prefix=$PREFIX
configure: error: Package requirements (glib-2.0 >= 2.23.6    atk >= 1.29.2    pango >= 1.20             cairo >= 1.6   gdk-pixbuf-2.0 >= 2.21.0) were not met:
出错信息:
No package 'glib-2.0' found
No package 'atk' found
No package 'pango' found
No package 'cairo' found
No package 'gdk-pixbuf-2.0' found

解决方法:
$sudo apt-get install libatk1.0-dev
软件包将被安装:
(libatk1.0-dev libglib2.0-dev
)
$sudo apt-get install libpango1.0-dev
软件包将被安装:
 (  build-essential cvs debhelper dpkg-dev fakeroot g++ g++-4.4 gettext
  html2text intltool-debian libcairo2-dev libdirectfb-dev libdirectfb-extra
  libjpeg62-dev libmail-sendmail-perl libpango1.0-dev libpng12-dev
  libstdc++6-4.4-dev libsys-hostname-long-perl libsysfs-dev
  libxcb-render-util0-dev libxcb-render0-dev po-debconf xz-utils
)
$sudo apt-get install libgdk-pixbuf2-ruby
软件包将被安装:
  libgdk-pixbuf2-ruby libgdk-pixbuf2-ruby1.8 libglib2-ruby1.8 libruby1.8
$./configure
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
$make
$make install
阅读(636) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~