On Tue, 25 Aug 2015, Daniel Vrátil wrote:
On Tuesday, August 25, 2015 3:02:54 AM CEST Eric Hameleers wrote:
On Tue, 18 Aug 2015, Antonio Rojas wrote:
Subject: Re: KDE Applications 15.08.0 available for packagers
I seem to be unable to compile kdepim after all the other new
kdepim related packages have been built successfully.
I have grantlee 5.0.0 installed, and it is found by cmake:
...
* Qt5OpenGL
* Qt5
* Qt5Gui
* Grantlee5 (required version >= 5.0)
* Gpgme , The GnuPG Made Easy (GPGME) library) ,
<http://www.gnupg.org/related_software/gpgme>
* Gettext
...
But I get a linker error like this:
[ 22%] Building CXX object
kaddressbookgrantlee/CMakeFiles/kaddressbookgrantlee.
dir/printing/grantleeprint.cpp.o
[ 22%] Building CXX object
kaddressbookgrantlee/CMakeFiles/kaddressbookgrantlee.
dir/kaddressbookgrantlee_automoc.cpp.o
Linking CXX shared library libkaddressbookgrantlee.so
CMakeFiles/kaddressbookgrantlee.dir/formatter/grantleecontactformatter.cpp.o
: In function
`KAddressBookGrantlee::GrantleeContactFormatter::GrantleeContactFormatter()'
: grantleecontactformatter.cpp:(.text+0x2bc): undefined reference to
`Grantlee::FileSystemTemplateLoader::FileSystemTemplateLoader()'
CMakeFiles/kaddressbookgrantlee.dir/formatter/grantleecontactformatter.cpp.o
: In function
`KAddressBookGrantlee::GrantleeContactFormatter::setGrantleeTheme(GrantleeTh
eme::Theme const&)':
grantleecontactformatter.cpp:(.text+0x543): undefined reference to
`Grantlee::TemplateImpl::error()'
grantleecontactformatter.cpp:(.text+0x564): undefined reference to
`Grantlee::TemplateImpl::errorString()'
grantleecontactformatter.cpp:(.text+0x645): undefined reference to
`Grantlee::TemplateImpl::error()'
grantleecontactformatter.cpp:(.text+0x729): undefined reference to
`Grantlee::TemplateImpl::errorString()'
...etc.
I have no idea how to troubleshoot or fix this. I do want to ship the
new kdepim with my next batch of Slackware updates.
I think I've seen similar problem when having both Qt 4 and Qt 5 Grantlee
installed. Could you try without Qt4 Grantlee installed?
Dan
Hi Dan,
Indeed I had both grantlee Qt4 and Qt5 interfaces installed, and after
removing the old Qt4 based version and adding
/usr/include/grantlee-qt5 to the include path (that is where I
installed the Qt5 version in order to not make it clash) I no
longer get the aforementione errors, but instead I get this new one
twice: the first time around 2% of the compilation:
[ 2%] Automatic moc for target grantlee_messageheaderfilters
Generating moc_messageheadergrantleefilters.cpp
/tmp/kde-build/kdepim/kdepim-15.08.0/messageviewer/grantleefilters/messageheader
grantleefilters.h:31: Error: Undefined interface
AUTOGEN: error: process for
/tmp/kde-build/kdepim/kdepim-15.08.0/build/messagevi
ewer/grantleefilters/moc_messageheadergrantleefilters.cpp failed:
/tmp/kde-build/kdepim/kdepim-15.08.0/messageviewer/grantleefilters/messageheader
grantleefilters.h:31: Error: Undefined interface
moc failed...
make[2]: ***
[messageviewer/grantleefilters/CMakeFiles/grantlee_messageheaderfilters_automoc]
Error 1
make[1]: ***
[messageviewer/grantleefilters/CMakeFiles/grantlee_messageheaderfilters_automoc.dir/all]
Error 2
make[1]: *** Waiting for unfinished jobs....
Generating moc_kwatchgnupgconfig.cpp
And then the compilation runs for a long time until it hits the same
spot again:
[ 51%] Automatic moc for target grantlee_messageheaderfilters
Generating moc_messageheadergrantleefilters.cpp
/tmp/kde-build/kdepim/kdepim-15.08.0/messageviewer/grantleefilters/messageheadergrantleefilters.h:31:
Error: Undefined interface
AUTOGEN: error: process for
/tmp/kde-build/kdepim/kdepim-15.08.0/build/messageviewer/grantleefilters/moc_messageheadergrantleefilters.cpp
failed:
/tmp/kde-build/kdepim/kdepim-15.08.0/messageviewer/grantleefilters/messageheadergrantleefilters.h:31:
Error: Undefined interface
moc failed...
make[2]: ***
[messageviewer/grantleefilters/CMakeFiles/grantlee_messageheaderfilters_automoc]
Error 1
make[1]: ***
[messageviewer/grantleefilters/CMakeFiles/grantlee_messageheaderfilters_automoc.dir/all]
Error 2
make: *** [all] Error 2
I am at a loss.
Cheers, Eric
--
Eric Hameleers <al...@slackware.com>
Home: http://alien.slackbook.org/blog/
_______________________________________________
release-team mailing list
release-team@kde.org
https://mail.kde.org/mailman/listinfo/release-team