On Monday 19 March 2012 19:52:09 Darrell Anderson wrote: > > > Nope. I think DBUS_TQT_LIBRARY_DIRS is not passed to > > > > linker. Try to add this > > > > > to src/CMakeLists.txt: > > > > > > link_directories( > > > ${TQT_LIBRARY_DIRS} > > > ${DBUS_TQT_LIBRARY_DIRS} > > > ) > > > > You were correct sir! I added ${DBUS_TQT_LIBRARY_DIRS} as > > indicated above and > > kpowersave built just fine. After adding it, the library was > > included: > > > > <snip> > > CMakeFiles/tdeinit_kpowersave-shared.dir/suspend_Dialog.cpp.o > > -L/opt/tqt3/lib > > -L/opt/trinity/lib -ldbus-tqt-1 -ldbus-1 -lpthread -lrt > > /opt/trinity/lib/libkio.so.4.2.0 -lhal -lXext -lXtst -lXss > > /opt/trinity/lib/libtdeui.so.4.2.0 -lfreetype -lfontconfig > > /opt/trinity/lib/libtdesu.so.4.2.0 -lutil > > /opt/trinity/lib/libkwalletclient.so.1.0.1 > > /opt/trinity/lib/libtdecore.so.4.2.0 > > /opt/trinity/lib/libDCOP.so.4.2.0 > > /opt/trinity/lib/libtdefx.so.4.2.0 -ltqt > > -ltqt-mt -lXrender -lX11 -lz -lidn -lXcomposite -lICE -lSM > > -Wl,-rpath,/opt/tqt3/lib:/opt/trinity/lib: > > make[2]: Leaving directory `/build/src/build' > > <snip> > > > > -L/opt/trinity/lib is there! > > kpowersave builds without error here on Slackware 13.1 without patching > CMakeLists.txt. Adding the referenced patch makes no differnce and the > package builds the same. > > Darrell Probably you have tqt-dbus somewhere in standard paths. -- Serghei