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

kdebase compiling problems

Tags: None
(comma "," separated)
DrPoodle
Registered Member
Posts
3
Karma
0

kdebase compiling problems

Mon Nov 03, 2008 2:52 am
I'm new to KDE and I'm trying to compile it from source using the guide. I'm using Gentoo and the emerges never worked so I thought I'd try it this way.

Everything has worked ok so far, with only a few files I had to manually edit to tell cmake where to find files, but now I'm completely stuck with the cmakekde for kdebase.

Here is the output:
Code: Select all
% cmakekde                              ~/kde/src/KDE/kdebase
-- Found Qt-Version 4.4.2 (using /usr/bin/qmake)
-- Found X11: /usr/lib/libX11.so
-- Found KDE 4.2 include dir: /home/drpoodle/kde/include
-- Found KDE 4.2 library dir: /home/drpoodle/kde/lib
-- Found KDE4 kconfig_compiler preprocessor: /home/drpoodle/kde/bin/kconfig_compiler
-- Found automoc4: /usr/local/bin/automoc4
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found Strigi
-- Strigi API is post-screwup, needs 'signed char'
-- Found Soprano: /usr/lib/libsoprano.so
-- Found Soprano includes: /usr/include
-- Found Soprano Index: /usr/lib/libsopranoindex.so
-- Found Soprano Client: /usr/lib/libsopranoclient.so
-- Found Soprano Plugins: nquadparser nquadserializer raptorparser raptorserializer redlandbackend sesame2backend
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found OPENEXR: /usr/lib/libImath.so;/usr/lib/libIlmImf.so;/usr/lib/libIex.so;/usr/lib/libHalf.so;/usr/lib/libIlmThread.so
-- Create macro to display info at the end of install
-- Found ALSA: /usr/lib/libasound.so
-- checking for module 'libpulse'
--   package 'libpulse' not found
-- Could NOT find PulseAudio
-- Found CLucene library: /usr/lib/libclucene.so
-- Found CLucene include dir: /usr/include
-- Found CLucene library dir: /usr/lib
-- Found CLucene: /usr/lib/libclucene.so
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found Strigi
-- Strigi API is post-screwup, needs 'signed char'
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found Soprano: /usr/lib/libsoprano.so
-- Found Soprano includes: /usr/include
-- Found Soprano Index: /usr/lib/libsopranoindex.so
-- Found Soprano Client: /usr/lib/libsopranoclient.so
-- Found Soprano Plugins: nquadparser nquadserializer raptorparser raptorserializer redlandbackend sesame2backend
-- cmake package FindWebKitKde.cmake was not found. This package needs webkitkde to be compile all program
-- Enabling PCI module based on pciutils library
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found Strigi
-- Strigi API is post-screwup, needs 'signed char'
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found Freetype: -lfreetype -lz
-- checking for modules 'libggadget-1.0>=0.10.3;libggadget-qt-1.0>=0.10.3'
--   package 'libggadget-1.0>=0.10.3' not found
--   package 'libggadget-qt-1.0>=0.10.3' not found
-- Could NOT find Googlegadgets  (missing:  GOOGLEGADGETS_LIBRARIES GOOGLEGADGETS_INCLUDE_DIRS)
-- checking for modules 'qzion>=0.3.0;qedje>=0.3.0'
--   package 'qzion>=0.3.0' not found
--   package 'qedje>=0.3.0' not found
-- Could not find QZion and/or QEdje. Please download them here (http://dev.openbossa.org/trac/qedje).
-- Could NOT find QEdje  (missing:  QEdje_LIBRARY)
-- Found Python executable: /usr/bin/python2.5
-- Found Python version: 2.5.2
-- Found Python library: /usr/lib/libpython2.5.so
-- Found SIP version: 4.7.7
-- Found PyQt4 version: 4.4.3
Traceback (most recent call last):
  File "/home/drpoodle/kde/share/apps/cmake/modules/FindPyKDE4.py", line 7, in
    import PyKDE4.pykdeconfig
ImportError: No module named PyKDE4.pykdeconfig
-- Found Soprano: /usr/lib/libsoprano.so
-- Found Soprano includes: /usr/include
-- Found Soprano Index: /usr/lib/libsopranoindex.so
-- Found Soprano Client: /usr/lib/libsopranoclient.so
-- Found Soprano Plugins: nquadparser nquadserializer raptorparser raptorserializer redlandbackend sesame2backend
-- Adding support for OpenGL applets to libplasma
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- PKGCONFIG() indicates that libcaptury is not installed (install the package which contains libcaptury.pc if you want to support this feature)
-- Found PNG: /usr/lib/libpng.so
-- Could NOT find Sensors  (missing:  SENSORS_INCLUDE_DIR SENSORS_LIBRARIES)
-- checking for one of the modules 'NetworkManager'
-- checking for one of the modules 'libnm-util'
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- checking for module 'xmms'
--   package 'xmms' not found
-- Could NOT find Xmms  (missing:  XMMS_LDFLAGS XMMS_INCLUDE_DIRS)
-- Could NOT find XMMS: the nowplaying dataengine will NOT support XMMS 1.x
CMake Error at /home/drpoodle/kde/share/apps/cmake/modules/FindKdepimLibs.cmake:33 (include):
  include could not find load file:

    KDEPimLibsDependencies
Call Stack (most recent call first):
  /home/drpoodle/kde/share/apps/cmake/modules/MacroOptionalFindPackage.cmake:19 (FIND_PACKAGE)
  workspace/plasma/dataengines/CMakeLists.txt:14 (macro_optional_find_package)


-- Found KDE PIM libraries
-- Found Soprano: /usr/lib/libsoprano.so
-- Found Soprano includes: /usr/include
-- Found Soprano Index: /usr/lib/libsopranoindex.so
-- Found Soprano Client: /usr/lib/libsopranoclient.so
-- Found Soprano Plugins: nquadparser nquadserializer raptorparser raptorserializer redlandbackend sesame2backend
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found GObject libraries: /usr/lib/libgobject-2.0.so;/usr/lib/libgmodule-2.0.so;/usr/lib/libgthread-2.0.so;/usr/lib/libglib-2.0.so
-- Found GObject includes : /usr/include/glib-2.0/gobject
-- /home/drpoodle/kde/src/KDE/kdebase/workspace/kcontrol: skipped subdir $(KSMCARD_SUBDIR)
--
-----------------------------------------------------------------------------
-- The following external packages were located on your system.
-- This installation will have the extra features provided by these packages.
+ Soprano
+ Nepomuk
+ Samba
+ BZip2
+ OpenEXR
+ ALSA
+ CLucene
+ Soprano
+ Nepomuk
+ OpenGL
+ PCIUTILS
+ RAW1394
+ XKB
+ Soprano
+ Nepomuk
+ libxss
+ libxext
+ Compositing support
+ BlueZ
+ Soprano
+ libxklavier
+ libusb
+ libxft
-----------------------------------------------------------------------------
-- The following OPTIONAL packages could NOT be located on your system.
-- Consider installing them to enable more features from this software.
+ PulseAudio: libpulse is needed to allow audio playback via the PulseAudio soundserver when it is running
+ GoogleGadgets: Google Gadgets library
Needed to build plasma scriptengine for google gadgets
+ QEdje: QEdje library
Needed to build plasma scriptengine for edje files
+ Python: KDE Python support
Needed to build plasma scriptengine for Python
+ Captury framework library, 0.3.0: Realtime video capturing framework e.g. screen casts
Provides for video recording desktop effects.
+ lm-sensors: Sensors support for ksysguard
+ NetworkManager, 0.6.5: A daemon for user controlled networking
Needed for building Network Management support in Solid.
+ XMMS: X MultiMedia System developement libraries
Support for XMMS in the Now Playing data engine
-----------------------------------------------------------------------------

-- Configuring incomplete, errors occurred!
make: *** No targets specified and no makefile found.  Stop.


It looks like this is the error:
Code: Select all
CMake Error at /home/drpoodle/kde/share/apps/cmake/modules/FindKdepimLibs.cmake:33 (include):
  include could not find load file:

    KDEPimLibsDependencies
Call Stack (most recent call first):
  /home/drpoodle/kde/share/apps/cmake/modules/MacroOptionalFindPackage.cmake:19 (FIND_PACKAGE)
  workspace/plasma/dataengines/CMakeLists.txt:14 (macro_optional_find_package)

I've looked everywhere and I can't find any reference to the file in question, so any help would be much appreciated!

Last edited by DrPoodle on Mon Nov 03, 2008 2:54 am, edited 1 time in total.
User avatar
Zarin
KDE Developer
Posts
345
Karma
8
OS

RE: kdebase compiling problems

Mon Nov 03, 2008 2:55 am
I assume you are building in the correct order?

kdesupport
kdelibs
kdepimlibs
kdebase
kde*
andre_orwell
Registered Member
Posts
181
Karma
1

RE: kdebase compiling problems

Mon Nov 03, 2008 11:21 am
Your problem is just hard to spot in all that output:

CMake Error at /home/drpoodle/kde/share/apps/cmake/modules/FindKdepimLibs.cmake:33 (include):
include could not find load file:

KDEPimLibsDependencies

base depends on pimlibs... as Zarin pointed out you need to build that first. I don't know why the build doesn't just stop after encountering this error.

Good luck... it has taken me a while to get a build working and this one got me too.


andre_orwell, :-[
DrPoodle
Registered Member
Posts
3
Karma
0

RE: kdebase compiling problems

Mon Nov 03, 2008 1:37 pm
Thanks for all the help, it is working now that I compiled kdepimlibs first. Who should I contact in order to change the guide because it's very unhelpful putting kdepimlibs after kdebase! I'm certain it would solve a load of problems :D
User avatar
Zarin
KDE Developer
Posts
345
Karma
8
OS

RE: kdebase compiling problems

Mon Nov 03, 2008 1:53 pm
The guide is supposed to have kdepimlibs first (It did when I used it) but it seems like someone changed it a few months ago and didn't leave a reason. I'll see what I can dig up.

Update: There was a time when kdebase did not depend on kdepimlibs and was the reason why the order was changed. Recent development in kdebase however has once again made it a dependency.

Last edited by Zarin on Mon Nov 03, 2008 2:05 pm, edited 1 time in total.
User avatar
anda_skoa
KDE Developer
Posts
783
Karma
4
OS

RE: kdebase compiling problems

Mon Nov 03, 2008 2:26 pm
DrPoodle wrote:Who should I contact in order to change the guide because it's very unhelpful putting kdepimlibs after kdebase! I'm certain it would solve a load of problems :D


Since it has already been correct by Zarin this more a general advise:

techbase and userbase are Wikis for the explicit intent that anyone can fix wrong or outdated information.
Giving a good change reason when sumbitting the edit does help those who try to track changes.

Cheers,
_


anda_skoa, proud to be a member of KDE forums since 2008-Oct.
DrPoodle
Registered Member
Posts
3
Karma
0

RE: kdebase compiling problems

Mon Nov 03, 2008 7:25 pm
anda_skoa wrote:
DrPoodle wrote:Who should I contact in order to change the guide because it's very unhelpful putting kdepimlibs after kdebase! I'm certain it would solve a load of problems :D


Since it has already been correct by Zarin this more a general advise:

techbase and userbase are Wikis for the explicit intent that anyone can fix wrong or outdated information.
Giving a good change reason when sumbitting the edit does help those who try to track changes.

Cheers,
_

Ah. I didn't realise it was a wiki :D


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rblackwell