[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-release-team
Subject:    Re: KDE Applications 15.08.0 available for packagers
From:       Eric Hameleers <alien () slackware ! com>
Date:       2015-08-28 14:45:12
Message-ID: alpine.LNX.2.02.1508280742060.8400 () connie ! slackware ! com
[Download RAW message or body]

On Tue, 25 Aug 2015, Daniel Vrátil wrote:

> Date: Tue, 25 Aug 2015 13:21:23 +0200
> From: Daniel Vrátil <dvratil@kde.org>
> To: release-team@kde.org
> Cc: Eric Hameleers <alien@slackware.com>
> Subject: Re: KDE Applications 15.08.0 available for packagers
> 
> 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

Ultimately, your suggestion was key to the solution. Indeed, with the 
Qt4 grantlee removed, these errors disappeared (but other errors 
appeared instead). In the end, I decided to get rid of Qt4 grantlee 
entirely and install the headers for Qt5 grantlee in 
/usr/include/grantlee/ instead of /usr/include/grantlee-qt5/ ... and 
then everything compiled.

Cheers, Eric

-- 
Eric Hameleers <alien@slackware.com>
Home: http://alien.slackbook.org/blog/
[Attachment #3 (text/plain)]

_______________________________________________
release-team mailing list
release-team@kde.org
https://mail.kde.org/mailman/listinfo/release-team


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic