在mant模拟器编译gentoo时找不到moc

时间:2014-05-16 14:12:02

标签: compiler-construction compilation emulation gentoo

我是新来的人。 我尝试使用此ebuild https://github.com/PaddyMac/overlay/tree/master/games-emulation/mame在gentoo上安装Mame模拟器 编译期间出现问题,如下面的日志中所示,似乎缺少moc编译器。 我做了

emerge moc

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

[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'

谢谢你们

1 个答案:

答案 0 :(得分:0)

Moc由dev-qt / qtcore提供,尝试安装它,如果它尚未在系统上,并查看问题是否消失。无论如何,请像@Heather一样建议并向ebuild维护者提交错误。