Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Qt's Meta Object Compiler (moc) wasn't found!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
elover
Apprentice
Apprentice


Joined: 20 Nov 2019
Posts: 175
Location: Spain

PostPosted: Sat Jul 02, 2022 10:57 pm    Post subject: Qt's Meta Object Compiler (moc) wasn't found! Reply with quote

Hi, I am trying to compile MAME and it does not find (moc).
Back to top
View user's profile Send private message
fedeliallalinea
Administrator
Administrator


Joined: 08 Mar 2003
Posts: 31588
Location: here

PostPosted: Sun Jul 03, 2022 5:38 am    Post subject: Reply with quote

Can you post the error output?
_________________
Questions are guaranteed in life; Answers aren't.
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2915

PostPosted: Sun Jul 03, 2022 6:27 am    Post subject: Reply with quote

I guess that's not from an ebuild and you're trying to build it yourself?

ebuilds would use qmake-utils.eclass to handle these, but if you're trying to install qt stuff manually you'll likely want to emerge dev-qt/qtchooser to get qmake, moc, etc... in PATH (note ebuilds shouldn't depend on that).


Last edited by Ionen on Sun Jul 03, 2022 6:28 am; edited 1 time in total
Back to top
View user's profile Send private message
sdauth
l33t
l33t


Joined: 19 Sep 2018
Posts: 695
Location: Ásgarðr

PostPosted: Sun Jul 03, 2022 6:27 am    Post subject: Reply with quote

Try to add :

QT_HOME = /usr/lib64/qt5

in mame makefile

or directly to the command line :

Code:
QT_HOME=/usr/lib64/qt5 REGENIE=1 NOWERROR=1 make -j$(nproc)
Back to top
View user's profile Send private message
elover
Apprentice
Apprentice


Joined: 20 Nov 2019
Posts: 175
Location: Spain

PostPosted: Sun Jul 03, 2022 9:30 am    Post subject: Reply with quote

Well, that's what it was, because now the compilation continues. The curious thing about this is that at the beginning of the year I compiled it without problems. It would be nice if we had a MAME ebuild, because it is a great emulator.
Back to top
View user's profile Send private message
Ionen
Developer
Developer


Joined: 06 Dec 2018
Posts: 2915

PostPosted: Sun Jul 03, 2022 9:46 am    Post subject: Reply with quote

elover wrote:
Well, that's what it was, because now the compilation continues. The curious thing about this is that at the beginning of the year I compiled it without problems.
Things were different then, there was a news item about this:
https://www.gentoo.org/support/news-items/2022-03-30-qt-5_15_3-bump.html
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum