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

installing ktorrent question

Tags: None
(comma "," separated)
George
Moderator
Posts
5421
Karma
1

Sat Feb 28, 2009 11:54 am
KyferEz wrote:I went to the package manager and selected kde4-devel which selected a bunch of other packages. Installed them all and same result as before: could not find kde4-config


Then do a search for kde4-config and specify the full path
KyferEz
Registered Member
Posts
32
Karma
0

Sun Mar 01, 2009 2:05 am
full path: /usr/lib/kde4/bin/kde4-config
KyferEz
Registered Member
Posts
32
Karma
0

Tue Mar 10, 2009 7:12 pm
Is that path not what you would expect?
George
Moderator
Posts
5421
Karma
1

Wed Mar 11, 2009 8:30 am
KyferEz wrote:Is that path not what you would expect?


The path doesn't matter, just use it in the cmake command
KyferEz
Registered Member
Posts
32
Karma
0

Sun Mar 22, 2009 2:18 am
I've updated to ubuntu 8.10 and then I saw the new release of ktorrent 3.2 so started over.

In any event, I'm now getting a new error:
Code: Select all
user@LinuxOnGX280:~/Desktop/filez/ktorrent-3.2$ mkdir build
user@LinuxOnGX280:~/Desktop/filez/ktorrent-3.2$ cd build
user@LinuxOnGX280:~/Desktop/filez/ktorrent-3.2/build$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /home/user/.kde/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
  CMakeLists.txt:2 (find_package)


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
user@LinuxOnGX280:~/Desktop/filez/ktorrent-3.2/build$

I searched for FindKDE4Internal.cmake and found nothing. Search command used: sudo find -iname FindKDE4Internal.cmake

I really need this now, because updating ubuntu screwed up my old ktorrent version that I installed from Ubuntu's Package Manager, and is no longer there so I can't reinstall.

Thanks!
durant125
Registered Member
Posts
3
Karma
0

Same Error

Sun Mar 22, 2009 5:14 am
I'm getting the same error and I'm using OpenSUSE 11.0. Let me know if anyone solves it I have my own thread submitted. I want to enable DHT.
George
Moderator
Posts
5421
Karma
1

Mon Mar 23, 2009 8:14 am
KyferEz wrote:I've updated to ubuntu 8.10 and then I saw the new release of ktorrent 3.2 so started over.

In any event, I'm now getting a new error:
Code: Select all
user@LinuxOnGX280:~/Desktop/filez/ktorrent-3.2$ mkdir build
user@LinuxOnGX280:~/Desktop/filez/ktorrent-3.2$ cd build
user@LinuxOnGX280:~/Desktop/filez/ktorrent-3.2/build$ cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.6/Modules/FindKDE4.cmake:84 (MESSAGE):
  ERROR: cmake/modules/FindKDE4Internal.cmake not found in
  /home/user/.kde/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
  CMakeLists.txt:2 (find_package)


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 2.6)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
user@LinuxOnGX280:~/Desktop/filez/ktorrent-3.2/build$

I searched for FindKDE4Internal.cmake and found nothing. Search command used: sudo find -iname FindKDE4Internal.cmake

I really need this now, because updating ubuntu screwed up my old ktorrent version that I installed from Ubuntu's Package Manager, and is no longer there so I can't reinstall.

Thanks!


http://ktorrent.org/wiki/index.php/FAQ#I_want_to_compile_the_latest_trunk.2C_on_what_packages_does_KTorrent_depend_on.3F

These are the packages you need to install on (k)ubuntu, to compile ktorrent.
KyferEz
Registered Member
Posts
32
Karma
0

Mon Mar 23, 2009 8:05 pm
THANK YOU! IT COMPILED AND RAN!!! :D

In case anyone wants the exact command to install the essentials, here it is:
Code: Select all
sudo apt-get install build-essential kdesdk kdelibs5-dev libqca2-dev libgmp3-dev subversion cmake automoc kdebase-workspace-dev libplasma-dev libboost-dev kdepimlibs5-dev libtag1-dev


Now... I have a bunch of partial downloads from the previous version that was fubared by ubuntu update. Is there an easy way to find and import all of the torrents?
stoeptegel
Registered Member
Posts
1075
Karma
0

Tue Mar 24, 2009 2:14 pm
KyferEz wrote:Now... I have a bunch of partial downloads from the previous version that was fubared by ubuntu update. Is there an easy way to find and import all of the torrents?


I do not know what you mean by fubared update, but you can import the torrents by using the torrent imported, or otherwise you could move the torrent files with the following command:
Code: Select all
mv ~/.kde4/share/apps/ktorrent/* ~/.kde/share/apps/ktorrent/.
KyferEz
Registered Member
Posts
32
Karma
0

Wed Mar 25, 2009 7:04 pm
fubared = f-ed up beyond all recognition

Thanks! That command worked perfectly!!!


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar