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

CMake error while trying to compile kdebase (trunk)

Tags: cmake, trunk, compiling cmake, trunk, compiling cmake, trunk, compiling
(comma "," separated)
User avatar
Anton
KDE Developer
Posts
265
Karma
0
OS
2 or 3 weeks ago I tried to compile KDE-Trunk the first time.
After many problems I got it to compile till kdepimlibs.
But in kdebase I got a problem that I could solve.
every time I try to compile it CMake fails with the following output:
Code: Select all
kde-devel@antonspc:~/kde/src/KDE/kdebase> cmakekde
-- Found Qt-Version 4.6.3 (using /usr/bin/qmake)
-- Found X11: /usr/lib64/libX11.so
-- Found Threads: TRUE
-- Found Automoc4: /home/kde-devel/kde/bin/automoc4
-- Found Perl: /usr/bin/perl
-- Found Phonon: /usr/include
-- Found KDE 4.5 include dir: /home/kde-devel/kde/include
-- Found KDE 4.5 library dir: /home/kde-devel/kde/lib
-- Found the KDE4 kconfig_compiler preprocessor: /home/kde-devel/kde/bin/kconfig_compiler
-- Found automoc4: /home/kde-devel/kde/bin/automoc4
-- Strigi API needs 'signed char'
-- Found Strigi: /home/kde-devel/kde/lib/libstreams.so
-- Found SharedDesktopOntologies: /home/kde-devel/kde/share/ontology  (found version "0.3.60", required is "0.3.60")
-- Found Soprano: /home/kde-devel/kde/include
-- Found Nepomuk: /home/kde-devel/kde/lib/libnepomuk.so
-- Found LibAttica: /home/kde-devel/kde/lib/libattica.so
KDE4_DBUS_INTERFACES_DIR = /home/kde-devel/kde/share/dbus-1/interfaces
-- Could NOT find LIBLZMA  (missing:  LIBLZMA_INCLUDE_DIR LIBLZMA_LIBRARY LIBLZMA_HAS_AUTO_DECODER LIBLZMA_HAS_EASY_ENCODER LIBLZMA_HAS_LZMA_PRESET)
-- Found OPENEXR: /usr/lib64/libImath.so;/usr/lib64/libIlmImf.so;/usr/lib64/libIex.so;/usr/lib64/libHalf.so;/usr/lib64/libIlmThread.so
-- Found JPEG: /usr/lib64/libjpeg.so
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- PKGCONFIG() indicates that exiv2 is not installed (install the package which contains exiv2.pc if you want to support this feature)
-- Cannot find Exiv2 library!
-- Found ALSA: /usr/lib64/libasound.so
CMake Error at /home/kde-devel/kde/share/apps/cmake/modules/FindAlsa.cmake:41 (string):
  string sub-command REGEX, mode REPLACE needs at least 6 arguments total to
  command.
Call Stack (most recent call first):
  runtime/phonon/CMakeLists.txt:35 (alsa_version_string)


-- Strigi API needs 'signed char'
-- optional cmake package FindKWebKitPart.cmake (for kwebkitpart) was not found.
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Found GLIB2: /usr/lib64/libglib-2.0.so
-- Strigi API needs 'signed char'
-- WARNING: you are using the obsolete 'PKGCONFIG' macro use FindPkgConfig
-- Could NOT find Googlegadgets  (missing:  GOOGLEGADGETS_LIBRARIES GOOGLEGADGETS_INCLUDE_DIRS)
-- checking for modules 'qzion>=0.4.0;qedje>=0.4.0'
--   package 'qzion>=0.4.0' not found
--   package 'qedje>=0.4.0' not found
-- Could not find QZion and/or QEdje. Please download them here (http://code.openbossa.org/projects/qedje/pages/Home).
-- Could NOT find QEdje  (missing:  QEDJE_LIBRARIES QEDJE_INCLUDE_DIRS)
-- Found PythonInterp: /usr/bin/python2.6
-- Found Python executable: /usr/bin/python2.6
-- Found Python version: 2.6.2
-- Found Python library: /usr/lib64/libpython2.6.so
-- Found SIP version: 4.10
-- Found PyQt4 version: 4.7
-- Found PyKDE4 version 4.4.1 /usr/share/sip/PyKDE4
-- Found PNG: /usr/lib64/libpng.so
-- Found Sensors: /usr/include
-- Found PCIUTILS: /usr/lib64/libpci.so;/usr/lib64/libresolv.so
-- Enabling PCI module based on pciutils library
-- Will build networkmanager-0.7
-- Found XMMS: the nowplaying dataengine will support XMMS 1.x
-- Found KdepimLibs: /home/kde-devel/kde/lib/cmake/KdepimLibs/KdepimLibsConfig.cmake  (found version "4.4.60", required is "4.2.85")
-- Found Akonadi: /home/kde-devel/kde/lib/cmake/Akonadi/AkonadiConfig.cmake
-- Found GObject libraries: /usr/lib64/libgobject-2.0.so;/usr/lib64/libgmodule-2.0.so;/usr/lib64/libgthread-2.0.so;/usr/lib64/libglib-2.0.so
-- Found GObject includes : /usr/include/glib-2.0/gobject
/home/kde-devel/kde/share/dbus-1/interfaces

[...]

-- Configuring incomplete, errors occurred!
make: *** Keine Targets angegeben und keine »make«-Steuerdatei gefunden.  Schluss.

First I thought it was a bug, but since I updated it many times since them (kdelibs and the rest, too) but the error still occurres.

thanks for help, if there are any missing information please just ask
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Which version of CMake are you using?
I used cmake version 2.6-patch 4 last time I built KDEBase ( yesterday ) and it worked fine.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Anton
KDE Developer
Posts
265
Karma
0
OS
2.6.4-3.3-x86_64 from the OpenSUSE-Repo
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
Can you please report this to the kde-buildsystem@kde.org mailing list? Indeed whilst I don't experience the issue noted, the command seems to be incorrect as your CMake error message shows.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Anton
KDE Developer
Posts
265
Karma
0
OS
I've reported the problem to the kde-buildsystem@kde.org mailing list and I got the problem solved.

I installed exiv2-devel and reinstalled all alsa packages (the devel package was installed, so I thought it could not be the problem, but it seems it had been broken) and now everything is working how it should.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Sogou [Bot]