错误集锦:
(0) make时若出现错误:xwin.c:22:22: error: X11/Xlib.h: No such file or directory
则使用yum 安装上 libX11-devel 包再 make
建议在在bash中如下做: alias yczm='rm -f ~/.rdesktop/licence.*; rdesktop 10.10.xx.xx:3389'
(3) ./configure 时出现如下错误:
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.
使用 Yum 安装 libX11-devel 包可解决问题:
附上 yum 配置文件内容:/etc/yum.repos.d/CentOS-Base.repo
[base]
name=CentOS-$releasever - Base
baseurl=http://vault.centos.org/5.5/os/x86_64/
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5