trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2011

kpowersave on x86_64 - pkg_search_module( XSCRNSAVER xscrnsaver ) fails??

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 12 Mar 2011 22:51:52 -0600
Guys,

    I can't explain this one. On i686, kpowersave built fine, but on x86_64, the 
build fails due to:

CMake Error at cmake/modules/TDEMacros.cmake:20 (message):
   #################################################

    xscrnsaver are required, but not found on your system

   #################################################
Call Stack (most recent call first):
   ConfigureChecks.cmake:42 (tde_message_fatal)
   CMakeLists.txt:40 (include)


-- Configuring incomplete, errors occurred!

In ConfigureChecks.cmake, we have:

# check for xscrnsaver
pkg_search_module( XSCRNSAVER xscrnsaver )
if( NOT XSCRNSAVER_FOUND )
   tde_message_fatal( "xscrnsaver are required, but not found on your system" )
endif()

   On Arch the package is actually xscreensaver. On both i686 and x86_64 boxes, 
I have 'xscreensaver 5.12-2' installed, but for some reason, this works on i686. 
Dunno why...

   Where can I look at the actual code for "pkg_search_module()" so I can tell 
exactly what it is looking for? It almost seems like I've run into this before, 
but can't recall for the life of me what I did to address it?

   There must be some other package on the box that works that provides the 
dependency that kpowersave is looking for, but how do I figure that out? What 
say the experts?


-- 
David C. Rankin, J.D.,P.E.