首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在gentoo上编译mame仿真器时找不到moc

在gentoo上编译mame仿真器时找不到moc
EN

Stack Overflow用户
提问于 2014-05-16 22:12:02
回答 1查看 799关注 0票数 1

我是新来的。我正在尝试使用这个ebuild https://github.com/PaddyMac/overlay/tree/master/games-emulation/mame在gentoo上安装Mame模拟器。在编译过程中出现一个问题,正如你在下面的日志中看到的,它似乎缺少moc编译器。我做到了

emerge moc

来解决它,但仍然是同样的问题

代码语言:javascript
复制
[31;01m*[0m Working directory: '/var/tmp/portage/games-emulation/mame-0.148/work'
 [31;01m*[0m S: '/var/tmp/portage/games-emulation/mame-0.148/work'
 Compiling source in /var/tmp/portage/games-emulation/mame-0.148/work ...
 [32;01m*[0m Grab a cup of coffee or a beer. This will take a while.
 make all TARGET=mame BUILD_EXPAT=0 BUILD_FLAC=0 BUILD_JPEGLIB=0 BUILD_MIDILIB=0  BUILD_ZLIB=0 NOWERROR=1 NO_X11=0 DEBUG=0 NO_DEBUGGER=1 NO_OPENGL=0 PROFILER=0 USE_QTDEBUG=0 NO_USE_XINPUT=1 
src/osd/sdl/sdl.mak:491: *** Qt's Meta Object Compiler (moc) wasn't found!.  Stop.
 [31;01m*[0m ERROR: games-emulation/mame-0.148::gentoo failed (compile phase):
 [31;01m*[0m   emake failed
 [31;01m*[0m 
 [31;01m*[0m If you need support, post the output of `emerge --info '=games-emulation/mame-0.148::gentoo'`,
 [31;01m*[0m the complete build log and the output of `emerge -pqv '=games-emulation/mame-0.148::gentoo'`.
 [31;01m*[0m The complete build log is located at '/var/tmp/portage/games-emulation/mame-0.148/temp/build.log'.
 [31;01m*[0m The ebuild environment file is located at '/var/tmp/portage/games-emulation/mame-0.148/temp/environment'.
 [31;01m*[0m Working directory: '/var/tmp/portage/games-emulation/mame-0.148/work'
 [31;01m*[0m S: '/var/tmp/portage/games-emulation/mame-0.148/work'

谢谢你们

EN

回答 1

Stack Overflow用户

发布于 2014-06-20 06:16:39

Moc是由dev-qt/qtcore提供的,如果系统上还没有,请尝试安装它,看看问题是否消失了。无论如何,请按照@Heather建议的那样做,并向ebuild维护者提交一个bug。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/23697426

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档