rhel 6 安装gd-devel

  • 内容
  • 评论
  • 相关

1.首先下载gd-devel ,这里提供gd-devel-2.0.35-10.el6.x86_64.rpm   gd-devel-2.0.35-11.el6.x86_64.rpm两个文件

gd-devel-2.0.35

也可到http://rpm.pbone.net下载

2.安装前要先解决依赖包问题:

fontconfig-devel is needed by gd-devel-2.0.35-11.el6.x86_64
freetype-devel is needed by gd-devel-2.0.35-11.el6.x86_64
libX11-devel is needed by gd-devel-2.0.35-11.el6.x86_64
libXpm-devel is needed by gd-devel-2.0.35-11.el6.x86_64

安装libX11-devel时会提示

[root@jiankong Packages]# rpm -ivh /mnt/iso-temp/Packages/libX11-devel-1.3-2.el6.x86_64.rpm

warning: /mnt/iso-temp/Packages/libX11-devel-1.3-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
pkgconfig(xcb) is needed by libX11-devel-1.3-2.el6.x86_64
pkgconfig(xcb) >= 1.1.92 is needed by libX11-devel-1.3-2.el6.x86_64

直接安装libxcb-devel就搞定

[root@jiankong Packages]# rpm -ivh /mnt/iso-temp/Packages/libX11-devel-1.3-2.el6.x86_64.rpm
warning: /mnt/iso-temp/Packages/libX11-devel-1.3-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
libXau-devel is needed by libX11-devel-1.3-2.el6.x86_64
libXdmcp-devel is needed by libX11-devel-1.3-2.el6.x86_64
pkgconfig(kbproto) is needed by libX11-devel-1.3-2.el6.x86_64
pkgconfig(xcb) is needed by libX11-devel-1.3-2.el6.x86_64
pkgconfig(xcb) >= 1.1.92 is needed by libX11-devel-1.3-2.el6.x86_64
pkgconfig(xproto) is needed by libX11-devel-1.3-2.el6.x86_64
[root@jiankong Packages]# rpm -ivh /mnt/iso-temp/Packages/libXau-devel-1.0.5-1.el6.x86_64.rpm
warning: /mnt/iso-temp/Packages/libXau-devel-1.0.5-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
pkgconfig(xproto) is needed by libXau-devel-1.0.5-1.el6.x86_64
xorg-x11-proto-devel is needed by libXau-devel-1.0.5-1.el6.x86_64
[root@jiankong Packages]# rpm -ivh /mnt/iso-temp/Packages/pkgconfig-0.23-9.1.el6.x86_64.rpm
warning: /mnt/iso-temp/Packages/pkgconfig-0.23-9.1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
package pkgconfig-1:0.23-9.1.el6.x86_64 is already installed
[root@jiankong Packages]# rpm -ivh /mnt/iso-temp/Packages/xorg-x11-proto-devel-7.6-13.el6.noarch.rpm
warning: /mnt/iso-temp/Packages/xorg-x11-proto-devel-7.6-13.el6.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:xorg-x11-proto-devel ########################################### [100%]
[root@jiankong Packages]# rpm -ivh /mnt/iso-temp/Packages/libXau-devel-1.0.5-1.el6.x86_64.rpm
warning: /mnt/iso-temp/Packages/libXau-devel-1.0.5-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:libXau-devel ########################################### [100%]
[root@jiankong Packages]# rpm -ivh /mnt/iso-temp/Packages/libXdmcp-devel-1.0.3-1.el6.x86_64.rpm
warning: /mnt/iso-temp/Packages/libXdmcp-devel-1.0.3-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
error: Failed dependencies:
libXdmcp = 1.0.3-1.el6 is needed by libXdmcp-devel-1.0.3-1.el6.x86_64
libXdmcp.so.6()(64bit) is needed by libXdmcp-devel-1.0.3-1.el6.x86_64
[root@jiankong Packages]# rpm -ivh /mnt/iso-temp/Packages/libXdmcp-
libXdmcp-1.0.3-1.el6.i686.rpm libXdmcp-devel-1.0.3-1.el6.i686.rpm
libXdmcp-1.0.3-1.el6.x86_64.rpm libXdmcp-devel-1.0.3-1.el6.x86_64.rpm
[root@jiankong Packages]# rpm -ivh /mnt/iso-temp/Packages/libXdmcp-1.0.3-1.el6.x86_64.rpm
warning: /mnt/iso-temp/Packages/libXdmcp-1.0.3-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:libXdmcp ########################################### [100%]
[root@jiankong Packages]# rpm -ivh /mnt/iso-temp/Packages/libXdmcp-devel-1.0.3-1.el6.x86_64.rpm
warning: /mnt/iso-temp/Packages/libXdmcp-devel-1.0.3-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:libXdmcp-devel ########################################### [100%]

[root@jiankong Packages]# rpm -ivh /mnt/iso-temp/Packages/libxcb-devel-1.5-1.el6.x86_64.rpm
warning: /mnt/iso-temp/Packages/libxcb-devel-1.5-1.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:libxcb-devel ########################################### [100%]
[root@jiankong Packages]# rpm -ivh /mnt/iso-temp/Packages/libX11-devel-1.3-2.el6.x86_64.rpm
warning: /mnt/iso-temp/Packages/libX11-devel-1.3-2.el6.x86_64.rpm: Header V3 RSA/SHA256 Signature, key ID fd431d51: NOKEY
Preparing... ########################################### [100%]
1:libX11-devel ########################################### [100%]

 

 

评论

0条评论

发表评论

电子邮件地址不会被公开。 必填项已用*标注