trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

Re: [trinity-devel] tdepim FTBFS undefined reference to `XScreenSaverQueryExtension'

From: "David C. Rankin" <drankinatty@...>
Date: Tue, 21 Jan 2014 17:57:29 -0600
On 01/21/2014 01:26 PM, Slávek Banko wrote:
> Dne út 21. ledna 2014 David C. Rankin napsal(a):
>>
>> Hmm... what are we dealing with here? Is this a tde code issue or a
>> change in libxss/xscreensaver?
>>
>> libxss 1.2.2-2
>> xscreensaver-5.26-1
> 
> tdepim have new option WITH_XSCREENSAVER to enable idle detection in karm.
> I suppose you have this option ON and you're libxss installed. Otherwise 
> it would not set HAVE_LIBXSS and idle support would not be built.
> 
> It is installed pkg-config file for libxss? XSS_LIBRARIES contains 
> information for linking?
> 
> Slavek
> 


It uses pkgconfig:

17:37 phoinix:/dat_e/ch14/david/usr/lib/pkgconfig> pmql libxss
libxss /usr/
libxss /usr/include/
libxss /usr/include/X11/
libxss /usr/include/X11/extensions/
libxss /usr/include/X11/extensions/scrnsaver.h
libxss /usr/lib/
libxss /usr/lib/libXss.so
libxss /usr/lib/libXss.so.1
libxss /usr/lib/libXss.so.1.0.0
libxss /usr/lib/pkgconfig/
libxss /usr/lib/pkgconfig/xscrnsaver.pc
<snip>

17:37 phoinix:/dat_e/ch14/david/usr/lib/pkgconfig> cat xscrnsaver.pc
prefix=/usr
exec_prefix=${prefix}
libdir=${exec_prefix}/lib
includedir=${prefix}/include

Name: XScrnSaver
Description: The XScrnSaver Library
Version: 1.2.2
Requires: scrnsaverproto
Requires.private: x11 xext
Cflags: -I${includedir}
Libs: -L${libdir} -lXss

It just doesn't find it for some reason.

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