我是新来的。我正在尝试使用这个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'谢谢你们
发布于 2014-06-20 06:16:39
Moc是由dev-qt/qtcore提供的,如果系统上还没有,请尝试安装它,看看问题是否消失了。无论如何,请按照@Heather建议的那样做,并向ebuild维护者提交一个bug。
https://stackoverflow.com/questions/23697426
复制相似问题