Can't build KDE apps due to incorrect cmake file

Bug #299270 reported by Jeremy Kerr on 2008-11-18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kde4libs (Ubuntu)

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/', needed by `lib/'. 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/;general;/usr/lib/;general;/usr/lib/;general;/usr/lib/;general;/build/buildd/kde4libs-4.1.2/obj-i486-linux-gnu/lib/;")

SET("solid_LIB_DEPENDS" "/usr/lib/;/usr/lib/;/usr/lib/;/usr/lib/;/build/buildd/kde4libs-4.1.2/obj-i486-linux-gnu/lib/;")

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/ fixes the problem for me.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers