Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kde-plasma/kmenuedit compile failure
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
moonchilde
n00b
n00b


Joined: 13 Nov 2015
Posts: 18

PostPosted: Fri Nov 13, 2015 10:56 am    Post subject: kde-plasma/kmenuedit compile failure Reply with quote

I've had this problem for a while. Every time I try to compile kmenuedit I get the following error:

Code:
CMake Error at CMakeLists.txt:47 (if):
  if given arguments:

    "NOT" "WIN32" "AND"

  Unknown arguments specified


It does this instantly. How can I fix this?

Thank you in advance.

Edit: Oops, could a moderator please move this into Portage and Programming? Thank you.
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6831
Location: Austria

PostPosted: Fri Nov 13, 2015 12:02 pm    Post subject: Reply with quote

Interesting, that means this line of code
Code:
if(NOT WIN32 AND ${KHotKeysDBusInterface_FOUND})

won't work if (optional) kde-plasma/khotkeys is not found.

You can work around it with building it with USE=hotkeys.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
moonchilde
n00b
n00b


Joined: 13 Nov 2015
Posts: 18

PostPosted: Fri Nov 13, 2015 3:51 pm    Post subject: Reply with quote

@genstorm

That worked, thank you. Should I file a bug report to update the ebuild to require khotkeys?
Back to top
View user's profile Send private message
asturm
Developer
Developer


Joined: 05 Apr 2007
Posts: 6831
Location: Austria

PostPosted: Fri Nov 13, 2015 7:12 pm    Post subject: Reply with quote

khotkeys is not mandatory, it is still optional but you encounter a bug there.
_________________
backend.cpp:92:2: warning: #warning TODO - this error message is about as useful as a cooling unit in the arctic
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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