Can't build KDE apps due to incorrect cmake file

Bug #299270 reported by Jeremy Kerr
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kde4libs (Ubuntu)
New
Undecided
Unassigned

Bug Description

I'm trying to build the kopete tree from the SVN tree, to do some general kopete development work.

However due to an incorrect dependency in the cmake files from the kdelibs5 package, the build fails:

make[2]: *** No rule to make target `/build/buildd/kde4libs-4.1.2/obj-i486-linux-gnu/lib/libkdecore.so', needed by `lib/libkopete.so.4.1.0'. Stop.

It looks like this dependency is caused by the following lines in /usr/share/kde4/apps/cmake/modules/KDELibsDependenciesInternal.cmake:

SET("solid_LIB_DEPENDS" "general;/usr/lib/libQtCore.so;general;/usr/lib/libQtDBus.so;general;/usr/lib/libQtXml.so;general;/usr/lib/libQtGui.so;general;/build/buildd/kde4libs-4.1.2/obj-i486-linux-gnu/lib/libkdecore.so;")

SET("solid_LIB_DEPENDS" "/usr/lib/libQtCore.so;/usr/lib/libQtDBus.so;/usr/lib/libQtXml.so;/usr/lib/libQtGui.so;/build/buildd/kde4libs-4.1.2/obj-i486-linux-gnu/lib/libkdecore.so;")

The reference to the /build/buildd path looks like a left-over from the package build system. These paths should instead reference /usr/lib.

Changing these paths to /usr/lib/libkdecore.so fixes the problem for me.

Tags: buildd cmake kde
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.