GTK安装出错

安装GTK时,在configure出现以下错误

   checking for XOpenDisplay... no
   configure: error: *** libX11 not found. Check 'config.log' for more details.
通过以下解决,虽然安装了很多东东,但还是不再出现问题了,看它安装的时候,估计就只需要一两个安装就行了。

yum install kdelibs-devel

你可能感兴趣的:(gtk)