This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[trying svn up] and compile under kubuntu 8.10

Tags: None
(comma "," separated)
stoeptegel
Registered Member
Posts
1075
Karma
0
I installed kubuntu again, upgraded to kde4.2 and did a svn up.
Compiling now does not work anymore somehow, see this:
Code: Select all
$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` .. -DCMAKE_BUILD_TYPE=debugfull
-- Found Qt-Version 4.4.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Phonon Version: 4.3.0
-- Found KDE 4.2 include dir: /usr/include
-- Found KDE 4.2 library dir: /usr/lib
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Strigi API needs 'signed char'
-- Building KTorrent with DHT support (-DENABLE_DHT_SUPPORT=false to disable)
-- Building logviewer plugin (-DENABLE_LOGVIEWER_PLUGIN=false to disable)
-- Building infowidget plugin (-DENABLE_INFOWIDGET_PLUGIN=false to disable)
--    Compiling GeoIP support directly into InfoWidget plugin
-- Building upnp plugin (-DENABLE_UPNP_PLUGIN=false to disable)
-- Building search plugin (-DENABLE_SEARCH_PLUGIN=false to disable)
-- Building webinterface plugin (-DENABLE_WEBINTERFACE_PLUGIN=false to disable)
-- Building scanfolder plugin (-DENABLE_SCANFOLDER_PLUGIN=false to disable)
-- Building ipfilter plugin (-DENABLE_IPFILTER_PLUGIN=false to disable)
-- Building stats plugin (-DENABLE_STATS_PLUGIN=false to disable)
-- Building bwscheduler plugin (-DENABLE_BWSCHEDULER_PLUGIN=false to disable)
-- Building mediaplayer plugin (-DENABLE_MEDIAPLAYER_PLUGIN=false to disable)
-- Building scripting plugin (-DENABLE_SCRIPTING_PLUGIN=false to disable)
-- Building syndication plugin (-DENABLE_SYNDICATION_PLUGIN=false to disable)
CMake Error at /usr/share/kde4/apps/cmake/modules/FindKdepimLibs.cmake:69 (find_package):
  find_package cannot find package KdepimLibs because KdepimLibs_DIR is set
  to "/usr/lib/cmake/KdepimLibs-4.2.0" which is not a directory containing a
  package configuration file (or it is not for the requested version).
  Please set the cache entry KdepimLibs_DIR to the correct directory, or
  delete it to ask CMake to search.
Call Stack (most recent call first):
  plugins/syndication/CMakeLists.txt:1 (find_package)


CMake Error at /usr/share/cmake-2.6/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
  Could NOT find KdepimLibs (missing: KdepimLibs_CONFIG)
Call Stack (most recent call first):
  /usr/share/kde4/apps/cmake/modules/FindKdepimLibs.cmake:73 (find_package_handle_standard_args)
  plugins/syndication/CMakeLists.txt:1 (find_package)


-- Configuring incomplete, errors occurred!


Is there anything i can do about this?
Lain_13
Registered Member
Posts
103
Karma
0

Mon Feb 02, 2009 7:36 pm
In latest KDE 4.2 folder KdepimLibs was renamed. Currently you can make copy of new folder with old name and compile without problems. But this problem should be fixed in build configurator.


What isn`t remembered never happened. Memory is merely a record. You just need to rewrite that record.
stoeptegel
Registered Member
Posts
1075
Karma
0

Mon Feb 02, 2009 7:58 pm
It was renamed to what?

Thanks man.
stoeptegel
Registered Member
Posts
1075
Karma
0

Wed Feb 04, 2009 4:20 pm
George, can you please change this in cmake, so i can compile again?
George
Moderator
Posts
5421
Karma
1

Wed Feb 04, 2009 6:25 pm
stoeptegel wrote:George, can you please change this in cmake, so i can compile again?


We only have find_package(KdepimLibs REQUIRED) in plugins/syndication/CMakeLists.txt. The actual file which should find kdepimlibs is part of KDE, so it's either KDE distributing faulty cmake files or the distribution screwing up.

Either way it is beyond my control.
stoeptegel
Registered Member
Posts
1075
Karma
0

Wed Feb 04, 2009 11:27 pm
But the RC1 release of 3.2 DOES compile without errors, so there must be something different in subversion.
Lain_13
Registered Member
Posts
103
Karma
0

Thu Feb 05, 2009 5:51 am
I open my FindKdepimLibs.cmake and found this string:
Code: Select all
find_package(KdepimLibs ${KdepimLibs_FIND_VERSION} QUIET NO_MODULE PATHS ${KDE4_LIB_DIR}/KdepimLibs/cmake )

It's wrong, because "KdepimLibs" folder was renamed to "KdepimLibs-4.2.0".
When I look closely to your log I found another problem. As I understand in your Find-file you can found something like this:
Code: Select all
find_package(KdepimLibs ${KdepimLibs_FIND_VERSION} QUIET NO_MODULE PATHS ${KDE4_LIB_DIR}/cmake/KdepimLibs-4.2.0 )

Folder have right name, but wrong order. When you look at content of "/usr/lib/" folder you find there "KdepimLibs-4.2.0" folder and "cmake" inside of this folder.
To fix this problem you have to rewrite path in Find-file or place folders in same order as in Find-file.


What isn`t remembered never happened. Memory is merely a record. You just need to rewrite that record.
stoeptegel
Registered Member
Posts
1075
Karma
0

Sat Feb 07, 2009 5:20 pm
I have no clue howto do this Lain_13, and the strange thing is that the rc1 package DOES compile...
MoDaX
Registered Member
Posts
241
Karma
0
OS

Sun Feb 08, 2009 11:15 pm
stoeptegel wrote:I have no clue howto do this Lain_13, and the strange thing is that the rc1 package DOES compile...

Fully clean your build tree. Debian and kubuntu put that cmake stuff in different places.
stoeptegel
Registered Member
Posts
1075
Karma
0

Tue Feb 10, 2009 7:33 pm
MoDaX wrote:Fully clean your build tree. Debian and kubuntu put that cmake stuff in different places.


This indeed fixed my problem! :)
Thank you modax.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar