ERROR: Could not find X Window System headers/libraries.
Probably you need to install the libX11-devel package.
To specify paths manually, use the options –x-includes and –x-libraries.
从以上错误信息中可以看到是缺少libX11-devel包,这就找到镜像里面的文件进行安装,
执行完“rpm -ivh libX11-devel-1.3-2.el6.i686.rpm”命令后又出现如下错误信息:
warning:libX11-devel-1.3-2.el6.i686.rpm:Header V3 RSA/SHA256 Signature, fd431d51:NOKEY
error:Failed dependencies:
pkgconfig(xcb) is needed by libX11-devel-1.3-2.el6.i686
pkgconfig(xcb) >= 1.1.92 is needed by libX11-devel-1.3-2.el6.i686
这次遇到了pkgconfig(xcb),安装libX11-devel包依赖于这个包
找了很多方法都安装不上,最后看了一篇英文才知道“pkgconfig(xcb)就是需要安装libxcb-devel包”,安装完之后就可以顺利的安装libX11-devel包了。
然后./configure还遇到:
checking for GSSGLUE... no
CredSPP support requires libgssglue, install the dependency
or disable the feature using --disable-credssp.
在确认了安装光盘和好几个rhel的安装包源都没找到libgssglue-devel,
使用$./comfigure --disable-credssp继续,又遇到:
SmartCard support requires PCSC, install the dependency
or disable the feature using --disable-smartcard.
同样四处找不到pcsc-lite-devel。只能放弃源码安装,
直接使用#yum install rdesktop
然后安装完成了。
贴上本机的源配置文件:
我的系统镜像挂载在了/media下。
使用rdesktop:
rdesktop -f -a IP
libgssglue-devel pcsc-lite-devel哪里有??