1、安装需要的软件包yum groupinstall ‘Development Tools‘yum install libX11-devel freetype-devel zlib-devel ...