fedora 15找不到/usr/include/X11,怎么回事?急

jidanpi 2011-07-31 09:30:09
在fedora 15上安装kcachegrind,提示“checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!”,奇怪X11不是默认安装的吗?求教我该怎么找到我的X11呢?
...全文
117 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
steptodream 2011-07-31
  • 打赏
  • 举报
回复
或者你自己看看系统里有没有/usr/include/X11这个目录 如果有你编译的时候加上参数试试
--x-includes=/usr/include/X11

如果还是不行 你干脆把相关的包都装了
yum -y install xorg*
steptodream 2011-07-31
  • 打赏
  • 举报
回复
X11相关组件一大堆!装下这个包试试xorg-x11-devel
yum -y install xorg-x11-devel

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧