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

Build error (svn and 3.1.5)

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

Build error (svn and 3.1.5)

Mon Nov 17, 2008 1:11 am
During make I receive this error:
Code: Select all
[ 31%] Building CXX object libbtcore/CMakeFiles/btcore.dir/btversion.o
make[2]: *** No rule to make target `/build/buildd/kde4libs-4.1.2/obj-i486-linux-gnu/lib/libkdecore.so', needed by `lib/libbtcore.so.8.0.0'.  Stop.
make[1]: *** [libbtcore/CMakeFiles/btcore.dir/all] Error 2
make: *** [all] Error 2
George
Moderator
Posts
5421
Karma
1

Mon Nov 17, 2008 5:17 pm
What parameters did you pass to cmake ?
addysdddy
Registered Member
Posts
3
Karma
0

Tue Nov 18, 2008 12:35 am
What parameters did you pass to cmake ?

Thank you for the reply.
Code: Select all
svn co svn://anonsvn.kde.org/home/kde/trunk/extragear/network/ktorrent
cd ktorrent
mkdir build
cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make
George
Moderator
Posts
5421
Karma
1

Tue Nov 18, 2008 11:43 am
Take a look at this ubuntu bug report :

https://bugs.launchpad.net/ubuntu/+sour ... bug/299270
addysdddy
Registered Member
Posts
3
Karma
0

Wed Nov 19, 2008 3:26 am
Thank you for the link.
From the page:
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.

I replaced /build/buildd/kde4libs-4.1.2/obj-i486-linux-gnu/ with /usr/ in that file and was able to compile.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]