trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: January 2014

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

From: "David C. Rankin" <drankinatty@...>
Date: Mon, 20 Jan 2014 05:15:59 -0600
On 01/20/2014 02:49 AM, Slávek Banko wrote:
> On Monday 20 of January 2014 09:25:55 David C. Rankin wrote:
>> On 01/20/2014 02:07 AM, David C. Rankin wrote:
>>> All,
>>>
>>>   I do not know what in the heck this error is:
>>>
>>> [ 95%] Built target ksysguardd-static
>>> Scanning dependencies of target ksysguardd
>>> [ 95%] Building C object
>>> ksysguard/ksysguardd/CMakeFiles/ksysguardd.dir/Command.c.o [ 95%]
>>> Building C object ksysguard/ksysguardd/CMakeFiles/ksysguardd.dir/conf.c.o
>>> [ 95%] Building C object
>>> ksysguard/ksysguardd/CMakeFiles/ksysguardd.dir/ksysguardd.c.o
>>> [ 95%] Building C object
>>> ksysguard/ksysguardd/CMakeFiles/ksysguardd.dir/PWUIDCache.c.o
>>> make[2]: *** No rule to make target
>>> '/opt/trinity/lib/libtdefakes_nonpic.a', needed by
>>> 'ksysguard/ksysguardd/ksysguardd'.  Stop.
>>> CMakeFiles/Makefile2:24311: recipe for target
>>> 'ksysguard/ksysguardd/CMakeFiles/ksysguardd.dir/all' failed
>>> make[1]: *** [ksysguard/ksysguardd/CMakeFiles/ksysguardd.dir/all] Error 2
>>> Makefile:116: recipe for target 'all' failed
>>> make: *** [all] Error 2
>>>
>>>   The base error is:
>>>
>>> *** No rule to make target '/opt/trinity/lib/libtdefakes_nonpic.a',
>>> needed by 'ksysguard/ksysguardd/ksysguardd'.  Stop.
>>>
>>>   Is this a CMake error or some other type of error? Where to start?
>>
>> The failure comes from ksysguard/ksysguardd/CMakeLists.txt
>>
>> #### 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}
>> )
>>
>> I suspect that should be libtdefakes_nonpic.la
>>
>> will patch and test (who pushed this stuff....:-)
> 
> I do not think so. Library libtdefakes_nonpic.a arises in tdelibs (tdecore) 
> and is designed for static linking.
> 
> Slavek
> 

Maybe, but I built this without HAL and there is no libtdefakes_nonpic.a at all
on my system only libtdefakes.al, and substituting libtdefakes.so was fine with
the linker :-)

It is an automess...

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