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

[How to] Compile 3.2beta1 under Ubuntu-Intrepid (gnome)

Tags: None
(comma "," separated)
anne_on_a_moose
Registered Member
Posts
28
Karma
0
OS

Fri Dec 12, 2008 5:24 pm
thanks, I updated the guide to include those steps.
elina.du
Registered Member
Posts
3
Karma
0

Thu Jan 08, 2009 5:00 am
I met a problem when I install the ktorrent

the error message is
d-laptop:~/ktorrent-3.2beta1$ sudo cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`..
-- Qt's moc NOT found!
-- Qt's uic NOT found!
CMake Error at /usr/lib/kde4/share/kde4/apps/cmake/modules/FindQt4.cmake:1418 (MESSAGE):
Qt libraries, includes, moc, uic or/and rcc NOT found!
Call Stack (most recent call first):
/usr/lib/kde4/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:267 (find_package)
/usr/share/cmake-2.6/Modules/FindKDE4.cmake:69 (FIND_PACKAGE)
CMakeLists.txt:2 (find_package)


-- Configuring done
Lain_13
Registered Member
Posts
103
Karma
0

Sat Jan 10, 2009 4:46 pm
Thank you for instruction. Everything compiled and works. Ubuntu Intrepid amd64.


What isn`t remembered never happened. Memory is merely a record. You just need to rewrite that record.
relaxedcrazyman
Registered Member
Posts
10
Karma
0

Tue Jan 27, 2009 1:35 am
this is absolutely perfect, thanks for the effort, but i am having some problems.

1st:
I couldnt find the exact lines, so i replaced the ones most resembling these:

11.

change:
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;")

to:
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;/usr/lib/libkdecore.so;")


change:
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;")

to:
SET("solid_LIB_DEPENDS" "/usr/lib/libQtCore.so;/usr/lib/libQtDBus.so;/usr/lib/libQtXml.so;/usr/lib/libQtGui.so;/usr/lib/libQtGui.so;general;/usr/lib/libkdecore.so;")



2nd:

12.
Code:
cd ktorrent-3.2beta1

i get this:
themaster@themaster-desktop:~$ cd ktorrent-3.2beta1
bash: cd: ktorrent-3.2beta1: No such file or directory
anne_on_a_moose
Registered Member
Posts
28
Karma
0
OS

Tue Jan 27, 2009 2:34 am
Step 11: I think that Ubuntu changed some of the wording with one of their updates because when I reinstalled Intrepid and fully updated it before building kTorrent I noticed the same thing. I changed the closest one as well and it worked fine.

Step 12: It's telling you that the directory ktorrent-3.2beta1 doesn't exist where you're telling it to go. Where did you download it to? If you follow step 9 and download it to your home folder you shouldn't run into a problem so long as you follow the directions exactly.

Shouldn't...I hope.
relaxedcrazyman
Registered Member
Posts
10
Karma
0

Tue Jan 27, 2009 2:38 am
ctarwater wrote:Step 11: I think that Ubuntu changed some of the wording with one of their updates because when I reinstalled Intrepid and fully updated it before building kTorrent I noticed the same thing. I changed the closest one as well and it worked fine.

Step 12: It's telling you that the directory ktorrent-3.2beta1 doesn't exist where you're telling it to go. Where did you download it to? If you follow step 9 and download it to your home folder you shouldn't run into a problem so long as you follow the directions exactly.

Shouldn't...I hope.


i downloaded it to my desktop then moved it to my home folder
anne_on_a_moose
Registered Member
Posts
28
Karma
0
OS

Tue Jan 27, 2009 2:48 am
stupid question, can you see it in you home folder and is it named exactly the same?
relaxedcrazyman
Registered Member
Posts
10
Karma
0

Tue Jan 27, 2009 3:02 am
ctarwater wrote:stupid question, can you see it in you home folder and is it named exactly the same?



yes i can see it, name is: ktorrent-3.2beta1.tar.bz2

gonna restart my comp and try again


edit: restarted, same error
anne_on_a_moose
Registered Member
Posts
28
Karma
0
OS

Thu Feb 05, 2009 11:41 pm
sorry, I figured it out.

You need to download the source and extract it to your home folder, then issue the command
Code: Select all
cd ktorrent-3.2beta1


I updated the first post to be more specific about that.
relaxedcrazyman
Registered Member
Posts
10
Karma
0

Fri Feb 06, 2009 5:03 pm
thanks for your help. works great!! :o :)


and now to pirate!! :twisted: :twisted: :twisted: :twisted:
pacha2
Registered Member
Posts
16
Karma
0

Thanks for the Guide

Tue Feb 17, 2009 1:51 pm
Thank you - using this is guide solved my issue with Ubuntu Hardy when trying to install 3.2 :D

I was executing the cmake command below and it was complaining about kdepimlibs.

Code: Select all
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`..


And I was receiving the following message

Code: Select all
Could NOT find a kdepimlibs installation in /usr/lib/kde4/include

Please build and install kdepimlibs first.
George
Moderator
Posts
5421
Karma
1

Tue Feb 17, 2009 5:04 pm
Install the development packages for kdepimlibs
relaxedcrazyman
Registered Member
Posts
10
Karma
0

Tue Feb 17, 2009 8:47 pm
is this supposed to be able to work for compiling 3.2?

when i compiled it and tried to run it, i got this bug report:

Application: KTorrent (ktorrent), signal SIGSEGV

Thread 1 (Thread 0xb5d876c0 (LWP 15182)):
[KCrash Handler]
#6 0xb7bc2a7f in bt::IPBlocklist::isBlockedLocal () from /usr/lib/libbtcore.so.7
#7 0xb7bc2c4c in bt::IPBlocklist::isBlocked () from /usr/lib/libbtcore.so.7
#8 0xb7bba5b6 in bt::Server::newConnection () from /usr/lib/libbtcore.so.7
#9 0xb7bba70e in bt::Server::readyToAccept () from /usr/lib/libbtcore.so.7
#10 0xb7bba7a1 in bt::Server::qt_metacall () from /usr/lib/libbtcore.so.7
#11 0xb7484a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb74857e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb74bf633 in QSocketNotifier::activated () from /usr/lib/libQtCore.so.4
#14 0xb748a637 in QSocketNotifier::event () from /usr/lib/libQtCore.so.4
#15 0xb6b608ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#16 0xb6b6872e in QApplication::notify () from /usr/lib/libQtGui.so.4
#17 0xb79aed1d in KApplication::notify () from /usr/lib/libkdeui.so.5
#18 0xb746fe61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#19 0xb749a70a in ?? () from /usr/lib/libQtCore.so.4
#20 0xb615d6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0xb6160da3 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0xb6160f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0xb749a478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#24 0xb6bfaea5 in ?? () from /usr/lib/libQtGui.so.4
#25 0xb746e52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#26 0xb746e6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#27 0xb7470da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#28 0xb6b60767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#29 0x0806441b in _start ()
MoDaX
Registered Member
Posts
241
Karma
0
OS

Tue Feb 17, 2009 8:50 pm
relaxedcrazyman wrote:is this supposed to be able to work for compiling 3.2?

when i compiled it and tried to run it, i got this bug report:

Application: KTorrent (ktorrent), signal SIGSEGV

Thread 1 (Thread 0xb5d876c0 (LWP 15182)):
[KCrash Handler]
#6 0xb7bc2a7f in bt::IPBlocklist::isBlockedLocal () from /usr/lib/libbtcore.so.7
#7 0xb7bc2c4c in bt::IPBlocklist::isBlocked () from /usr/lib/libbtcore.so.7
#8 0xb7bba5b6 in bt::Server::newConnection () from /usr/lib/libbtcore.so.7
#9 0xb7bba70e in bt::Server::readyToAccept () from /usr/lib/libbtcore.so.7
#10 0xb7bba7a1 in bt::Server::qt_metacall () from /usr/lib/libbtcore.so.7
#11 0xb7484a60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb74857e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb74bf633 in QSocketNotifier::activated () from /usr/lib/libQtCore.so.4
#14 0xb748a637 in QSocketNotifier::event () from /usr/lib/libQtCore.so.4
#15 0xb6b608ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#16 0xb6b6872e in QApplication::notify () from /usr/lib/libQtGui.so.4
#17 0xb79aed1d in KApplication::notify () from /usr/lib/libkdeui.so.5
#18 0xb746fe61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#19 0xb749a70a in ?? () from /usr/lib/libQtCore.so.4
#20 0xb615d6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0xb6160da3 in ?? () from /usr/lib/libglib-2.0.so.0
#22 0xb6160f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0xb749a478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#24 0xb6bfaea5 in ?? () from /usr/lib/libQtGui.so.4
#25 0xb746e52a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#26 0xb746e6ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#27 0xb7470da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#28 0xb6b60767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#29 0x0806441b in _start ()


Something is wrong. there is /usr/lib/libbtcore.so.9 in ktorrent 3.2, not so.7
anne_on_a_moose
Registered Member
Posts
28
Karma
0
OS

Tue Feb 17, 2009 11:39 pm
relaxedcrazyman wrote:is this supposed to be able to work for compiling 3.2?


Nope. It was written for compiling 3.2beta1 and I've since switched from Ubuntu to Arch so I've got no clue how it works for the new 3.2 release, sorry.


Bookmarks



Who is online

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