安装ubuntu-tweak-0.4.7.3.tar时出错

系统安装、升级讨论
版面规则
我们都知道新人的确很菜,也喜欢抱怨,并且带有浓厚的Windows习惯,但既然在这里询问,我们就应该有责任帮助他们解决问题,而不是直接泼冷水、简单的否定或发表对解决问题没有任何帮助的帖子。乐于分享,以人为本,这正是Ubuntu的精神所在。
回复
weiwei310
帖子: 8
注册时间: 2009-05-25 23:26

安装ubuntu-tweak-0.4.7.3.tar时出错

#1

帖子 weiwei310 » 2009-07-04 22:11


http://ubuntu-tweak.googlecode.com下载了ubuntu-tweak-0.4.7.3.tar.gz
解压后运行
-------------------------------------------
dryang@dryang:~/桌面/ubuntu-tweak-0.4.7.3$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.19... yes
checking for a Python interpreter with version >= 2.5... python
checking for python... /usr/bin/python
checking for python version... 2.6
checking for python platform... linux2
checking for python script directory... /usr/lib/python2.6/dist-packages
checking for python extension module directory... /usr/lib/python2.6/dist-packages
checking for TWEAK... configure: error: Package requirements (gtk+-2.0 >= 2.10
pygtk-2.0 >= 2.10
pygobject-2.0 >= 2.10
gnome-python-2.0 >= 2.10
) were not met:

No package 'gtk+-2.0' found
No package 'pygtk-2.0' found
No package 'pygobject-2.0' found
No package 'gnome-python-2.0' 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 TWEAK_CFLAGS
and TWEAK_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

但运行make 提示
make: *** 没有指明目标并且找不到 makefile。 停止。
--------------------------------------------------
不能正常安装,请哪位高手可以帮忙解决???
boxid
帖子: 62
注册时间: 2006-08-27 7:40

Re: 安装ubuntu-tweak-0.4.7.3.tar时出错

#2

帖子 boxid » 2009-07-04 22:17

你的configure都没过 当然没法make

缺少这些包
No package 'gtk+-2.0' found
No package 'pygtk-2.0' found
No package 'pygobject-2.0' found
No package 'gnome-python-2.0' found

别折腾了 用deb装吧

http://ubuntu-tweak.googlecode.com/file ... y1_all.deb
weiwei310
帖子: 8
注册时间: 2009-05-25 23:26

Re: 安装ubuntu-tweak-0.4.7.3.tar时出错

#3

帖子 weiwei310 » 2009-07-04 22:28

请问
No package 'gtk+-2.0' found
No package 'pygtk-2.0' found
No package 'pygobject-2.0' found
No package 'gnome-python-2.0' found
这几个包应如何安装
头像
bobobo80
帖子: 841
注册时间: 2007-12-09 22:36
联系:

Re: 安装ubuntu-tweak-0.4.7.3.tar时出错

#4

帖子 bobobo80 » 2009-07-04 23:19

apt安装。
建议下deb包吧,别折腾了。
weiwei310
帖子: 8
注册时间: 2009-05-25 23:26

Re: 安装ubuntu-tweak-0.4.7.3.tar时出错

#5

帖子 weiwei310 » 2009-07-04 23:43

终于搞定
sudo apt-get install python-gnome2-dev
sudo apt-get install python-gtk2-dev
sudo apt-get install libgtk2.0-dev

就可以把所缺的几个包都安装上去,再运行./configure可以通过
头像
cnkanglong
帖子: 332
注册时间: 2006-03-13 14:42

Re: 安装ubuntu-tweak-0.4.7.3.tar时出错

#6

帖子 cnkanglong » 2009-07-05 10:32

折腾 :em11
闻到死太贵
麦克价更高
有了乌班兔
两者皆可抛
chongling
帖子: 25
注册时间: 2006-12-14 12:46

Re: 安装ubuntu-tweak-0.4.7.3.tar时出错

#7

帖子 chongling » 2009-07-05 11:02

还不如直接google一下,找个deb包安装
回复