免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2077 | 回复: 1
打印 上一主题 下一主题

[开发环境] mesa编译安装碰到的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2017-03-17 12:29 |只看该作者 |倒序浏览
1、安装 mesa8.0.3

> tar xvf ../source/MesaLib-8.0.3.tar.bz2
> cd Mesa-8.0.3
> ./configure --prefix=/usr --with-dri-drivers=swrast,i915,i965 --disable-gallium-llvm --without-gallium-drivers
> make
> make install(出错语句)
  1. .............
  2. checking for dlopen... no
  3. checking for dlopen in -ldl... yes
  4. checking for posix_memalign... yes
  5. checking for LIBDRM... yes
  6. checking pkg-config files for X11 are available... yes
  7. checking for X11... yes
  8. checking for GLPROTO... yes
  9. checking for DRI2PROTO... yes
  10. checking for XF86VIDMODE... no
  11. checking for DRIGL... yes
  12. checking for xcb_glx_create_context_attribs_arb_checked in -lxcb-glx... yes
  13. checking expat.h usability... no
  14. checking expat.h presence... no
  15. checking for expat.h... no
  16. configure: error: Expat required for DRI.
复制代码

2、估计是 expat 的问题,于是安装 expat(顺利完成,具体如下):

> tar xvf ../source/expat-2.1.0.tar.gz
> cd expat-2.1.0
> ./configure --prefix=/usr
> make
> make install

3、重新编译 mesa8.0.3,还是编译不通过(同样的错误提示)。为何?

论坛徽章:
0
2 [报告]
发表于 2017-03-17 12:48 |只看该作者
。。。。。。。。。。。。。。。。。。。。。。。。。。。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP