trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2011

Re: [trinity-devel] FTBFS: kdepim-svn :error linking with gpg-error

From: Francois Andriot <francois.andriot@...>
Date: Mon, 05 Sep 2011 06:43:28 +0200
Le 05/09/2011 01:12, Timothy Pearson a écrit :
>> Hello,
>> I'm trying to build kdepim 3.5.13 from SVN under RHEL6 with cmake.
>> When compiling I get the following error: (under libkdenetwork/gpgmepp)
>> [...]
>> It looks like the parameter -lgpg-error is missing after -lgpgme.
>> It links correctly if I add it manually.
>>
>> Thanks
>> Francois Andriot
> Looks like your gpg setup is not spitting out all the required libraries
> when queried by the TDE build system.  Can you see if the attached patch
> fixes the problem?
>
> Thanks!
>
> Tim

Hello, it does the trick, thank you.

I dunno if it's related, but on RHEL 6, gpgme and gpg-error are packaged 
separately.
They have 2 distincts configuration tools:

$ /usr/bin/gpgme-config --libs
-lgpgme

$ /usr/bin/gpg-error-config --libs
-lgpg-error


Francois Andriot