Bug 168359 - klipper and kfind doesn't compile due missing link dependencies
Summary: klipper and kfind doesn't compile due missing link dependencies
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-04 20:30 UTC by Stephan Wezel
Modified: 2008-08-04 20:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
patch to add the missing link dependencies in kdebase for the apps kfind and klipper (907 bytes, patch)
2008-08-04 20:32 UTC, Stephan Wezel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Wezel 2008-08-04 20:30:41 UTC
Version:            (using Devel)
Installed from:    Compiled sources
Compiler:          gcc 4.2.4 
OS:                Linux

klipper and kfind doesn't compile in latest trunk.
I'm using the kde4-split svn ebuilds from http://genkdesvn.mailstation.de/

both fails on the linking stage.

klipper fails with an unresolved symbol to crc32
and kfind fails with unresolved symbols to kpart

The problem for klipper is as follows:
klipper needs to be linked against zlib. The CMakelist.txt for klipper has ${ZLIB_LIBRARY} in the target_link_libraries line.
But this variable doesn't get filled because the missing 

find_package(ZLIB REQUIRED)

line in the kdebase/workspace/CMakelist.txt file.

For kfind:
The CMakefile.txt in the kdebase/apps/kfind directory doesn't have

${KDE4_KPARTS_LIBS}

in the target_link_libraries line.
Comment 1 Stephan Wezel 2008-08-04 20:32:01 UTC
Created attachment 26633 [details]
patch to add the missing link dependencies in kdebase for the apps kfind and klipper
Comment 2 Urs Wolfer 2008-08-04 20:47:25 UTC
SVN commit 842119 by uwolfer:

Link fixes according to #168359.
Patch by Stephan Wezel, thanks.
BUG:168359

 M  +1 -1      apps/kfind/CMakeLists.txt  
 M  +1 -0      workspace/CMakeLists.txt  


WebSVN link: http://websvn.kde.org/?view=rev&revision=842119