LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-25-2009, 02:08 PM   #1
gmartin
Member
 
Registered: Mar 2003
Location: PA
Distribution: Slackware 13.37 Linux Reg # 341245
Posts: 285

Rep: Reputation: 40
kde4 & recompiling a package


So I took the plunge and loaded the KDE4 beta environment from slackcurrent on my 12.2 box. (The changelog says it will work. And it does - quite nicely!). However, I lost a key feature in KTorrent 3.1.5 that is back in the latest 3.2 beta. I'm trying to build the beta from the kde source tree and I'm having a problem.

First I opened local.options in the ktorrent directory and changed the version to 3.2beta1. I also had to tweak the path in ktorrent.Slackbuild to find the src file in the right place.

So I ran KDE4.Slackbuild ktorrent to try buildin gone package and get this error:
Code:
-- Found Qt-Version 4.4.3 (using /usr/bin/qmake)                                
-- Found X11: /usr/lib/libX11.so                                                
-- Phonon Version: 4.2.96                                                       
-- Found KDE 4.2 include dir: /usr/include                                      
-- Found KDE 4.2 library dir: /usr/lib                                          
-- Found the KDE4 kconfig_compiler preprocessor: /usr/bin/kconfig_compiler      
-- Found automoc4: /usr/bin/automoc4                                            
-- Strigi API needs 'signed char'                                               
CMake Error at /usr/share/apps/cmake/modules/FindPlasma.cmake:13 (message):     
  FindPlasma.cmake is deprecated.  Now with KDE 4.2 Plasma is part of kdelibs   
  and automatically found using find_package(KDE4) instead.                     

  Replace the variables previously coming from FindPlasma.cmake as follows:

  PLASMA_OPENGL_FOUND -> KDE4_PLASMA_OPENGL_FOUND

  PLASMA_LIBS -> KDE4_PLASMA_LIBS

  PLASMA_INCLUDE_DIR -> KDE4_INCLUDE_DIR or KDE4_INCLUDES, should be already
  set anyway                                                                

  PLASMA_FOUND -> nothing, it's always there if KDE4, version 4.2 or newer
  has been found.                                                         

  If you see this error message in a module within KDE/, update it from svn,
  it has been fixed already.
I could run the entire KDE4.Slackbuild, but that seems pretty heavy for one package. Not sure what else to try.

Thoughts?

Last edited by gmartin; 01-25-2009 at 02:56 PM. Reason: cleaning up my english
 
Old 01-25-2009, 07:59 PM   #2
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
I thought I read that you have to have a separate KDE 3.xx build box to make packages.
Supposedly you can't build packages on a Slack KDE4 box yet. (I could be wrong tho)
 
Old 01-25-2009, 08:41 PM   #3
gmartin
Member
 
Registered: Mar 2003
Location: PA
Distribution: Slackware 13.37 Linux Reg # 341245
Posts: 285

Original Poster
Rep: Reputation: 40
That seems counterintuitive given that KTorrent 3.x is a KDE4 only package, but maybe you are on to something.
 
Old 01-25-2009, 08:55 PM   #4
Spinlock
Member
 
Registered: Jan 2006
Location: Missouri
Distribution: Slackware -current, Slackware64 -current, Slackware 12.2
Posts: 191

Rep: Reputation: 49
@slackass: That is completely and utterly untrue. Where do people get these ideas?
 
Old 01-25-2009, 09:12 PM   #5
gmartin
Member
 
Registered: Mar 2003
Location: PA
Distribution: Slackware 13.37 Linux Reg # 341245
Posts: 285

Original Poster
Rep: Reputation: 40
@Spinlock: Any thoughts on the problem at hand?
 
Old 01-25-2009, 10:48 PM   #6
slackass
Member
 
Registered: Apr 2006
Location: SE Texas
Distribution: Slack64-15.0
Posts: 910

Rep: Reputation: 90
@Spinlock:

Here's what I read.

Slackware-Current_06 Jan 2009 DVD

/testing/packages/kde4/README/Known Bugs:

The kde3-compat packages make it possible to run most kde3 applications,
but *not* to compile them. To compile for kde3, you'll need to have a
machine that's dedicated to running kde3.
http://slackware.osuosl.org/slackwar...es/kde4/README
Perhaps I'm misunderstanding this.

Last edited by slackass; 01-27-2009 at 10:19 AM.
 
Old 01-26-2009, 05:56 AM   #7
gmartin
Member
 
Registered: Mar 2003
Location: PA
Distribution: Slackware 13.37 Linux Reg # 341245
Posts: 285

Original Poster
Rep: Reputation: 40
Just so I'm clear, I want to compile a package for 4.x. KTorrent version numbers do not align with kde's. The 3.x versions is built for kde4. Confusing, isnn't it?
 
Old 01-26-2009, 06:39 AM   #8
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
I was unable to compile ktorrent 3.1.6 on KDE4.2 (also fails on 4.1.96 and 4.1.85). Pat Volkerding managed to build it on KDE 4.1.3 though. Something changed in 4.2 which prevents ktorrent from compiling (the same goes for the new 3.2beta1).
Also see this thread on ktorrent's own forum: http://ktorrent.org/forum/viewtopic.php?t=2838

Eric
 
Old 01-27-2009, 01:05 PM   #9
gmartin
Member
 
Registered: Mar 2003
Location: PA
Distribution: Slackware 13.37 Linux Reg # 341245
Posts: 285

Original Poster
Rep: Reputation: 40
Exclamation

I posted to ktorrent.org forums and they're saying the CMakeLists.txt is in error. New file in svn, but I can't gain access as yet.

In the meantime, I reloaded the 2.x version of kotrrent and I'm good for now.
 
Old 01-27-2009, 01:21 PM   #10
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
http://ktorrent.org/forum/viewtopic.php?p=15371#15371 - there is a working tarball now at least for ktorrent-3.1.6.x which I expect to be available as a common download soon.

Eric
 
Old 01-27-2009, 08:59 PM   #11
gmartin
Member
 
Registered: Mar 2003
Location: PA
Distribution: Slackware 13.37 Linux Reg # 341245
Posts: 285

Original Poster
Rep: Reputation: 40
Thumbs up Solved

I was able to download the new cmakelists file, apply it and build the beta successfully. It's here is anyone needs is

http://websvn.kde.org/*checkout*/tru...evision=906370
 
  


Reply

Tags
kde4, slackware



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
kde4 issues: adding widgets to panel & desktop question tferero Linux - Newbie 2 07-28-2008 07:56 PM
KDE4 DCOP(dbus) & startkde replacements estellnb Linux - Desktop 1 11-28-2007 01:50 AM
KDE4 DCOP(dbus) & startkde replacements estellnb Programming 0 11-27-2007 04:48 AM
Patching & Recompiling problems SlackN00b Slackware 3 02-17-2004 12:21 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 01:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration