kdepimlibs gpgme

Alexander Neundorf neundorf at kde.org
Fri Sep 21 02:51:23 BST 2007

On Thursday 20 September 2007 19:00, Joseph Wenninger wrote:
> Hi !
> I can't compile kdepimlibs. How do I set the missing variable, and why does
> it need pth, if it finds pthread ? (debian lenny/sid)
> CMake Error: This project requires some variables to be set,
> and cmake can not find them.
> Please set the following variables:
> _gpgme_pth_lib

This means that the variable with this name is used in TARGET_LINK_LIBRARIES() 
but the value is NOTFOUND.
If the value is NOTFOUND, it may not be used as a link library. This is 
probably in kdepimlibs/gpgme++/CMakeLists.txt

I can't really find the variable "_gpgme_pth_lib" there, only 
${GPGME_PTH_LIBRARIES}, which may be related to this. I guess you have 
current svn ?

So, search were this variable appears in kdepimlibs (cmake cvs tells you where 
the problem happens if you use --debug-output, which helps in this case) and 
see why it is NOTFOUND and why it is used anyway. It should be set in 
kdepimlibs/cmake/modules/FindGpgme.cmake .

I wonder why I can't find that variable name...
If this is the case because the name is constructed, we should strongly 
discourage this.


More information about the kde-core-devel mailing list