LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 662|回复: 7

安装gimp-2.3.7,./configure出错!

[复制链接]
发表于 2006-4-7 13:28:01 | 显示全部楼层 |阅读模式
怎样解决这类问题?请看抓图

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2006-4-7 15:18:33 | 显示全部楼层
Post by gentoofans
怎样解决这类问题?请看抓图

1.sudo apt-get build-dep gimp
2.以后这种出错信息请直接复制过来就好了,没必要贴图
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-7 19:01:20 | 显示全部楼层
root@ubuntu:~/gimp-2.3.7# apt-get build-dep gimp
正在读取软件包列表... 完成
正在分析软件包的依赖关系树... 完成
E: 您必须在您的 sources.list 输入一些“软件包源”的 URL
我的sources.list是:
deb http://ubuntu.cn99.com/ubuntu/ breezy main restricted universe multiverse

deb http://ubuntu.cn99.com/ubuntu/ breezy-updates main restricted universe multiverse

deb http://ubuntu.cn99.com/ubuntu/ breezy-security main restricted universe multiverse

deb http://ubuntu.cn99.com/ubuntu/ breezy-backports main restricted universe multiverse

deb http://ubuntu.cn99.com/ubuntu-cn/ breezy main restricted universe multiverse

deb http://ubuntu.cn99.com/backports/ breezy-extras main restricted universe multiverse
提供个源吧!
回复 支持 反对

使用道具 举报

发表于 2006-4-8 11:13:07 | 显示全部楼层
add this
deb-src http://ubuntu.cn99.com/ubuntu/ breezy main restricted universe multiverse
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-9 12:53:53 | 显示全部楼层
加上楼上帅哥提供的源后,apt-get build-dep gimp 成功,在运行./configure出现如下:checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.8.8... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: Test for GTK+ failed. See the file 'INSTALL' for help.
root@ubuntu:~/gimp-2.3.7#
好像是缺GTK+这个东西,怎样安装GTK+啊?
回复 支持 反对

使用道具 举报

发表于 2006-4-9 13:19:31 | 显示全部楼层
Post by gentoofans
加上楼上帅哥提供的源后,apt-get build-dep gimp 成功,在运行./configure出现如下:checking for pkg-config... (cached) /usr/bin/pkg-config
checking for GTK+ - version >= 2.8.8... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: Test for GTK+ failed. See the file 'INSTALL' for help.
root@ubuntu:~/gimp-2.3.7#
好像是缺GTK+这个东西,怎样安装GTK+啊?

好像你这样编译一边没有多大意义。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-9 13:36:37 | 显示全部楼层
可是我把ubuntu自带的gimp都删了,这个新的又装不上怎么办?
回复 支持 反对

使用道具 举报

发表于 2006-4-10 12:06:06 | 显示全部楼层
sudo apt-get install gimp
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表