On Wednesday 22 of January 2014 04:05:01 David C. Rankin wrote: > On 01/21/2014 07:50 PM, David C. Rankin wrote: > > On 01/21/2014 06:35 PM, Slávek Banko wrote: > >> > And value of XSS_LIBRARIES variable is what? > >> > > >> > Slavek > > > > I don't know ... :-) Where would I look? > > > > ./karm/CMakeLists.txt:58: LINK kcal_resourceremote-shared > > tdeprint-shared ${XSS_LIBRARIES} > > > > OK, > > > > What do I do, add some type of print line? of just append -lXss > > That's what I did with sed in the build script: > > > sed -i 's/XSS_LIBRARIES}/XSS_LIBRARIES} -lXss/' tdepim/karm/CMakeLists.txt > > I still don't know why this was necessary, and haven't picked the > CMakeLists.txt/ConfigureChecks.cmake files apart enough to find out why > ${XSS_LIBRARIES} isn't finding or including -lXss. For completeness, the > libxss package on Arch installs xscrnsaver.pc in /usr/lib/pkgconfig: > > 20:51 phoinix:/dat_e/ch14> cat david/usr/lib/pkgconfig/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 > > pkg-config returns the correct library information: > > 20:57 phoinix:/dat_e/ch14> pkg-config --libs xscrnsaver > -lXss > > However, pkg-config seems to fail to return any other useful information > and I am not familiar enough with it to know why: > > 20:59 phoinix:/dat_e/ch14> pkg-config --libs-only-l xscrnsaver > -lXss > 21:00 phoinix:/dat_e/ch14> pkg-config --libs-only-L xscrnsaver > 21:00 phoinix:/dat_e/ch14> pkg-config --cflags xscrnsaver > 21:02 phoinix:/dat_e/ch14> pkg-config --cflags-only-I xscrnsaver > 21:03 phoinix:/dat_e/ch14> pkg-config --cflags-only-other xscrnsaver > > Does anything appear out of whack with the .pc file? I'll have to compare > it to other files to see if I can discern any differences. Please look in your build-log to check the configuration listing - especially this part: -- Looking for XScreenSaverQueryInfo in Xss -- Looking for XScreenSaverQueryInfo in Xss - found -- checking for one of the modules 'xscrnsaver' -- Looking for X11/extensions/scrnsaver.h -- Looking for X11/extensions/scrnsaver.h - found And then in CMakeCache.txt informations about the pkgconfig for package XSS - this part: XSS_CFLAGS:INTERNAL= XSS_CFLAGS_I:INTERNAL= XSS_CFLAGS_OTHER:INTERNAL= XSS_FOUND:INTERNAL=1 XSS_INCLUDEDIR:INTERNAL=/usr/include XSS_INCLUDE_DIRS:INTERNAL= XSS_LDFLAGS:INTERNAL=-lXss XSS_LDFLAGS_OTHER:INTERNAL= XSS_LIBDIR:INTERNAL=/usr/lib/x86_64-linux-gnu XSS_LIBRARIES:INTERNAL=Xss XSS_LIBRARY_DIRS:INTERNAL= XSS_LIBS:INTERNAL= XSS_LIBS_L:INTERNAL= XSS_LIBS_OTHER:INTERNAL= XSS_LIBS_PATHS:INTERNAL= Slavek --