LinuxSir.cn,穿越时空的Linuxsir!

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

有人在 CentOS4 上成功安装 GIMP 2.4 么?

[复制链接]
发表于 2009-5-18 12:33:49 | 显示全部楼层 |阅读模式
前段时间我在 CentOS5 上经过修改 specs 文件等,终于成功安装了 gimp-2.4.5-1.fc7.src.rpm

现在我想在 CentOS4 系统上也安装 GIMP 2.4, 遇到了一大堆问题。。。目前的问题是无法升级 pango :

  1. # rpmbuild -bb --target=`uname -m` /usr/src/redhat/SPECS/pango.spec
  2. Building target platforms: x86_64
  3. Building for target x86_64
  4. error: Failed build dependencies:
  5.         libXrender-devel is needed by pango-1.16.4-2.x86_64
  6.         libX11-devel is needed by pango-1.16.4-2.x86_64
  7.         libXext-devel is needed by pango-1.16.4-2.x86_64
  8.         libXft-devel is needed by pango-1.16.4-2.x86_64
  9.         libXt-devel is needed by pango-1.16.4-2.x86_64
  10.         libthai-devel >= 0.1.7 is needed by pango-1.16.4-2.x86_64
复制代码


我想问下: 有人在 CentOS4 上成功安装 GIMP 2.4 么?能说说是怎样安装的?
 楼主| 发表于 2009-5-28 23:43:20 | 显示全部楼层
通过修改 specs 文件... 其他的都升级好了,包括glib2, atk, pango, cairo ......
目前开始 rpmbuild gtk2 ... 又遇到了新问题:
  1. checking for extra flags for POSIX compliance... none needed
  2. ./configure: line 23215: syntax error near unexpected token `0.7'
  3. ./configure: line 23215: `  PKG_PROG_PKG_CONFIG(0.7)'
  4. error: Bad exit status from /var/tmp/rpm-tmp.11023 (%build)
复制代码

我查了一下,configure line 23215 的内容是:
  1. PKG_PROG_PKG_CONFIG(0.7)
复制代码

这个问题怎样解决呢?
回复 支持 反对

使用道具 举报

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

本版积分规则

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