You are not logged in.

#1 2008-11-20 03:15:00

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

KTorrent Compile Error

I'm trying to compile ktorrent for KDE 4. Even though I have qca2 installed, it wont build:

[vg@vg-4400 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                                                  
-- Looking for Q_WS_X11                                                                    
-- Looking for Q_WS_X11 - found                                                            
-- Looking for Q_WS_WIN                                                                    
-- Looking for Q_WS_WIN - not found.                                                       
-- Looking for Q_WS_QWS                                                                    
-- Looking for Q_WS_QWS - not found.                                                       
-- Looking for Q_WS_MAC                                                                    
-- Looking for Q_WS_MAC - not found.                                                       
-- Found Qt-Version 4.4.3 (using /usr/bin/qmake)                                           
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so                                                                                                                 
-- Looking for XOpenDisplay in /usr/lib/libX11.so;/usr/lib/libXext.so;/usr/lib/libXft.so;/usr/lib/libXau.so;/usr/lib/libXdmcp.so;/usr/lib/libXpm.so - found                                                                                                         
-- Looking for gethostbyname                                                                                                      
-- Looking for gethostbyname - found                                                                                              
-- Looking for connect                                                                                                            
-- Looking for connect - found                                                                                                    
-- Looking for remove                                                                                                             
-- Looking for remove - found                                                                                                     
-- Looking for shmat                                                                                                              
-- Looking for shmat - found                                                                                                      
-- Looking for IceConnectionNumber in ICE                                                                                         
-- Looking for IceConnectionNumber in ICE - found                                                                                 
-- Found X11: /usr/lib/libX11.so                                                                                                  
-- Looking for include files CMAKE_HAVE_PTHREAD_H                                                                                 
-- Looking for include files CMAKE_HAVE_PTHREAD_H - found                                                                         
-- Looking for pthread_create in pthreads                                                                                         
-- Looking for pthread_create in pthreads - not found                                                                             
-- Looking for pthread_create in pthread                                                                                          
-- Looking for pthread_create in pthread - found                                                                                  
-- Found Threads: TRUE
-- Found Perl: /usr/bin/perl
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Failed
-- Performing Test HAVE_FPIE_SUPPORT
-- Performing Test HAVE_FPIE_SUPPORT - Success
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL
-- Performing Test __KDE_HAVE_W_OVERLOADED_VIRTUAL - Success
-- Performing Test __KDE_HAVE_GCC_VISIBILITY
-- Performing Test __KDE_HAVE_GCC_VISIBILITY - Success
-- Phonon Version:
-- Found Phonon: /usr/lib/libphonon.so
-- Found Phonon Includes: /usr/include/KDE;/usr/include
-- Found KDE 4.2 include dir: /home/vg/kde/include
-- Found KDE 4.2 library dir: /home/vg/kde/lib
-- Found the KDE4 kconfig_compiler preprocessor: /home/vg/kde/bin/kconfig_compiler
-- Found automoc4: /usr/bin/automoc4
-- Found GMP: /usr/include
-- checking for module 'qca2'
--   found qca2, version 2.0.1
CMake Error at /usr/share/cmake-2.6/Modules/FindPackageHandleStandardArgs.cmake:57 (MESSAGE):
  Could NOT find QCA2 (missing: QCA2_LIBRARIES)
Call Stack (most recent call first):
  /home/vg/kde/share/apps/cmake/modules/FindQCA2.cmake:57 (find_package_handle_standard_args)
  CMakeLists.txt:5 (find_package)


-- Configuring incomplete, errors occurred!
[vg@vg-4400 build]$ pacman -Qi qca
Name           : qca
Version        : 2.0.1-2
URL            : http://delta.affinix.com/qca/
Licenses       : LGPL
Groups         : None
Provides       : None
Depends On     : qt  nss  libgcrypt  libsasl  openssl  ca-certificates
Optional Deps  : None
Required By    : ktorrent
Conflicts With : None
Replaces       : None
Installed Size : 3085.50 K
Packager       : Pierre Schmitz <pierre@archlinux.de>
Architecture   : i686
Build Date     : Tue 22 Jul 2008 11:56:14 AM EDT
Install Date   : Wed 19 Nov 2008 08:40:33 PM EST
Install Reason : Explicitly installed
Install Script : No
Description    : Qt Cryptographic Architecture

Offline

#2 2008-11-20 10:00:22

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: KTorrent Compile Error

It doesn't work against kde4.2 svn builds, haven't looked any further into it on the why.
I'll get ktorrent 3.1.5 up in the repos shortly.

[edit] packages uploaded to the server

Last edited by pressh (2008-11-20 10:29:08)

Offline

#3 2008-11-20 14:28:22

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

Re: KTorrent Compile Error

Thanks. I installed it. Both the new version or th one I had before showed any icons. Strange. I'm using my own KDE 4.2 svn builds though...

Offline

#4 2008-11-20 15:42:34

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: KTorrent Compile Error

weird. have je a pic of it? there are totally no icons in the applications whatsoever?

- do you have hiclor-icon-theme installed (not sure if it is needed, just a guess)
- does it also happen when you temporarily switch to kdelibs from [extra] just for the build, and reinstall your own svn build just after you succeeded building the package?

Offline

#5 2008-11-20 16:23:24

ndlarsen
Member
From: Denmark
Registered: 2005-11-02
Posts: 157

Re: KTorrent Compile Error

Confirmed on kdemod3 with both ktorrent 3.1.4 & 3.1.5 (official packages) with hicolor-icon-theme 0.10-1. Now, due to using kdemod3 I realize that I might be missing some needed libs or have some path releated issues when it comes to using kde4 apps. In addition there's no systray icon.
Pics:

Settings menu/toolbar:
menu.png

Settings dialog:
settings.png

Cheers.


I made it long
as I lacked the time to make it short...

Offline

#6 2008-11-20 17:39:41

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

Re: KTorrent Compile Error

Mine looks exactly like that. No systray icon.

Offline

#7 2008-11-20 17:42:28

solarwind
Member
From: Toronto
Registered: 2008-03-18
Posts: 546

Re: KTorrent Compile Error

Here's a screenshot. I circled in red where I believe icons are missing.

snapshot7is8.th.jpgthpix.gif

Offline

#8 2009-01-21 17:00:34

ndlarsen
Member
From: Denmark
Registered: 2005-11-02
Posts: 157

Re: KTorrent Compile Error

Sorry about bumping this old thread. Installing kdebase-runtime for kde4 solved the issue with missing icons in ktorrent for me.
Cheers

Last edited by ndlarsen (2009-01-21 17:01:05)


I made it long
as I lacked the time to make it short...

Offline

#9 2009-01-21 18:52:15

pressh
Developer/TU
From: Netherlands
Registered: 2005-08-14
Posts: 1,719

Re: KTorrent Compile Error

good catch. Fixed in ktorrent 3.1.5-2

Offline

Board footer

Powered by FluxBB