Bug 162102

Summary: cmake fails to configure kdebase: CLucene library not find, fails to look in /usr/lib64 [patch]
Product: [Developer tools] buildsystem Reporter: Jan Minář <rdancer>
Component: KDE4 (cmake)Assignee: Alexander Neundorf <neundorf>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Lets the script find the CLucene library, possibly not a real solution

Description Jan Minář 2008-05-14 19:53:36 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

kdesvn-build fails to build kdebase -- cmake fails.

The reason is, the kdebase/runtime/cmake/modules/FindCLucene.cmake fails to look for the CLucene library in /usr/lib64 -- it does look in /usr/lib, however.  Possibly, the ${LIB_SUFFIX} is not being set properly earlier in another file? -- If set to ``64'', the library would be found.  Then again, this might break something else?

Steps to reproduce:

rdancer@oklahoma:~/kdesvn> ./kdesvn-build kdebase
Script started processing at Wed May 14 18:29:42 2008
<<<  Build Process  >>>
Building kdebase (1/1)
        Waiting for source code update.
        Source update complete for kdebase: 0 files affected.
        Preparing build system for kdebase.
        Removing files in build directory for kdebase
        Old build system cleaned, starting new build system.
        Running cmake...
        Unable to configure kdebase with CMake!
        Overall time for kdebase was 44 seconds.

<<<  Build Done  >>>



<<<  PACKAGES FAILED TO BUILD  >>>
kdebase - ~/kdesvn/log/2008-05-14-14/kdebase/cmake.log
Script finished processing at Wed May 14 18:30:26 2008
Your logs are saved in /home/rdancer/kdesvn/log/2008-05-14-14
rdancer@oklahoma:~/kdesvn> tail ~/kdesvn/log/2008-05-14-14/kdebase/cmake.log
-- Consider installing them to enable more features from this software.
+ Captury framework: libcaptury is a framework realtime video capturing for e.g. screen casts <http://rm-rf.in/captury>
-----------------------------------------------------------------------------

CMake Error: This project requires some variables to be set,
and cmake can not find them.
Please set the following variables:
CLUCENE_LIBRARY_DIR (ADVANCED)

-- Configuring done
Comment 1 Jan Minář 2008-05-14 19:56:16 UTC
Created attachment 24767 [details]
Lets the script find the CLucene library, possibly not a real solution

As mentioned above, the real problem might be ${LIB_SUFFIX} not set properly. 
But  this lets the script find the library.
Comment 2 Allen Winter 2008-05-15 15:12:46 UTC
I think the idea if for you to set LIB_SUFFIX yourself when running cmake.

i.e. cmake -DLIB_SUFFIX=64