View previous topic :: View next topic |
Author |
Message |
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Sat Sep 07, 2013 6:22 pm Post subject: Qt dev packages problem |
|
|
I'm getting the same compile error described in #5 here when trying to emerge cantata:
https://code.google.com/p/cantata/issues/detail?id=284
The response is "ui_onlineservicespage.h is created by the build system. I'd suggest you check your Qt dev packages." Can any Gentooers tell me how to track this down? |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
Posted: Sat Sep 07, 2013 7:27 pm Post subject: |
|
|
#5 is an issue in cantatas build setup. You are building cantata out-of-source, am I right? Then the ui file is not generated in CMAKE_SOURCE_DIR/online but CMAKE_BINARY_DIR/online.
If you add ${CMAKE_BINARY_DIR}/online to the dirs in include_directories in l. 155 in the toplevel CMakeLists.txt does it fix the issue? |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
Posted: Sun Sep 08, 2013 5:43 am Post subject: |
|
|
After some testing I found out that taglib support can not be properly excluded. I get this issue when I pass -DENABLE_TAGLIB=OFF to cmake. Again, it's not an issue with your Qt setup but with their sources. |
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Mon Sep 09, 2013 7:23 am Post subject: |
|
|
Should I file a Qt bug or maybe try upgrading a Qt package? If upgrade, which package? |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
Posted: Mon Sep 09, 2013 9:06 am Post subject: |
|
|
No. It is an error in cantata sources! If you disable Taglib-support it will fail because of an unconditional #include.
So install taglib, pass -DENABLE_TAGLIB=ON when invoking cmake for cantata. If you use the ebuilds - which fail for USE="-taglib", too, enabling USE="taglib" should fix it, too (did not test that) |
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
Posted: Mon Sep 09, 2013 6:46 pm Post subject: |
|
|
Should I file a cantata bug? I'm sorry if this is still wrong but it's been a long day. |
|
Back to top |
|
|
franzf Advocate
Joined: 29 Mar 2005 Posts: 4565
|
Posted: Tue Sep 10, 2013 9:54 am Post subject: |
|
|
Yes, it's a cantata bug and should be reported there.
You should mention that -DENABLE_TAGLIB=OFF must be passed to cmake in order to trigger the issue.
And post here the link to the bug |
|
Back to top |
|
|
grant123 Veteran
Joined: 23 Mar 2005 Posts: 1080
|
|
Back to top |
|
|
|