Public bug reported:

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.

** Affects: kde4libs (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: buildd cmake kde

-- 
Can't build KDE apps due to incorrect cmake file
https://bugs.launchpad.net/bugs/299270
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to kde4libs in ubuntu.

-- 
kubuntu-bugs mailing list
[EMAIL PROTECTED]
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs

Reply via email to