trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: March 2012

Re: [trinity-devel] amarok - riokarma support is not buildable, it needs to link to karma-sharp.dll - WTF?

From: "David C. Rankin" <drankinatty@...>
Date: Sat, 31 Mar 2012 19:00:57 -0500
On 03/31/2012 06:51 PM, David C. Rankin wrote:
> On 03/31/2012 06:07 PM, David C. Rankin wrote:
>> On 03/31/2012 05:58 PM, Serghei Amelian wrote:
>>> If i'm not wrong, mono provide dll files too. Seems that amarok use mono 
>>> version of libkarma.
>>
>> Your not -- I just found it:
>>
>> http://bobcopeland.com/karma/banshee/
>>
>> Good reference...
>>
> 
>   Build still fails with CMake error:
> 
> 18:47 archangel:/dat_e/bld/libkarma> ls -l /usr/lib/karma-sharp/
> total 12
> -rwxr-xr-x 1 root root 8192 Mar 31 18:43 karma-sharp.dll
> -rwxr-xr-x 1 root root   79 Mar 31 18:43 karma-sharp.dll.config
> 
> 18:47 archangel:/dat_e/bld/libkarma> pkg-config --libs karma-sharp
> -r:/usr/lib/karma-sharp/karma-sharp.dll
> 
> 18:49 archangel:/dat_e/bld/libkarma> cat /usr/lib/karma-sharp/karma-sharp.dll.config
> <configuration>
> <dllmap dll="karma" target="libkarma.so.0" />
> </configuration>
> 
> 
> <snip>
> -- checking for one of the modules 'dbus-1'
> -- checking for one of the modules 'dbus-tqt'
> -- Looking for ifp.h
> -- Looking for ifp.h - found
> -- Looking for ifp_init in ifp
> -- Looking for ifp_init in ifp - found
> -- checking for one of the modules 'libusb'
> -- checking for one of the modules 'libnjb'
> -- checking for one of the modules 'libmtp'
> CMake Error at cmake/modules/TDEMacros.cmake:23 (message):
>   #################################################
> 
>    riokarma support is not buildable, it needs to link to karma-sharp.dll
> 
>   #################################################
> Call Stack (most recent call first):
>   amarok/src/mediadevice/riokarma/CMakeLists.txt:12 (tde_message_fatal)
> 
>   What gives?
> 

  Is there a problem with:

amarok/amarok/src/mediadevice/riokarma/CMakeLists.txt

##### libamarok_riokarma-mediadevice (module) ###

tde_add_kpart( libamarok_riokarma-mediadevice AUTOMOC
  SOURCES riokarmamediadevice.cpp
  LINK amarok-shared ${KARMA_LIBRARIES}
  DESTINATION ${PLUGIN_INSTALL_DIR}

not finding ${KARMA_LIBRARIES}?

  It looks like it is in
amarok/amarok/src/mediadevice/riokarma/ConfigureChecks.cmake:

# libkarma
pkg_search_module( KARMA karma-sharp )
if( NOT KARMA_FOUND )
  tde_message_fatal( "libkarma is required, but was not found on your system" )
endif( )

but the CMake check is still failing??

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