trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

Re: [trinity-devel] [PATCH] Re: [trinity-devel] tdebase FTBFS - No rule to make target '/opt/trinity/lib/libtdefakes_nonpic.a'

From: Slávek Banko <slavek.banko@...>
Date: Mon, 20 Jan 2014 20:21:44 +0100
On Monday 20 of January 2014 20:13:02 David C. Rankin wrote:
> On 01/20/2014 11:25 AM, Sl�vek Banko wrote:
> > How did you come to the conclusion that building ksysguardd depends on
> > WITH_SENSORS? I do not see any such condition in CMake files.
>
> (1) Because ksysguard is the wonderful monitoring package;
> (2) that uses system hardware sensors;
> (3) I've never run into this missing file before; and
> (4) this was the first time I have ever built WITH_SENSORS.
>
> Elementary my dear Mr. Watson...
>
>
> Oh,
>
>   Also, in the CMakeLists.txt file where I had to fix this screwy filename,
> I found this....
>
> ##### ksysguardd (executable) ###################
>
> tde_add_executable( ksysguardd AUTOMOC
>   SOURCES Command.c conf.c ksysguardd.c PWUIDCache.c
>   LINK ccont-static ksysguardd-static ${TDE_LIB_DIR}/libtdefakes_nonpic.a
>     ${SENSORS_LIBRARIES}
>     ^^^^^^^^^^^^^^^^^^^^
>   DESTINATION ${BIN_INSTALL_DIR}
> )

If WITH_SENSORS is OFF, variable ${SENSORS_LIBRARIES} is empty and ksysguardd 
is built without problems, just without lm_sensors support. It's not option 
without which it would be impossible to build ksysguardd.

Slavek
--