LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-24-2008, 10:46 AM   #1
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Rep: Reputation: 30
How-to compile KDE 4


Does anybody compiled it?
How?
Could you link me to any kind of informations about compiling it?
Is it possible to modify PAT Slackbuild?
 
Old 05-24-2008, 11:11 AM   #2
willysr
Senior Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,666

Rep: Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786Reputation: 1786
http://kde4.rlworkman.net/
 
Old 05-24-2008, 01:32 PM   #3
LordAnta
Member
 
Registered: Apr 2008
Location: Munich, Germany
Distribution: Slackware current
Posts: 128

Rep: Reputation: 18
Quote:
Originally Posted by willysr View Post
I didn't like those packages. A big pain .
I got the sources from the KDE svn + Qt 4.4 from kde, got their little script to do the compile, and after about 6-7 hours on my laptop, I compiled and ran KDE4 on my slack and on a debian 4.0 etch. It runs smooth, full of bugs of course, but it is very nice IMHO.
 
Old 05-24-2008, 01:54 PM   #4
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
Quote:
Originally Posted by LordAnta View Post
I didn't like those packages. A big pain
Why don't you tell what you did not like about those packages and what was the pain?
I have used them and found them quite OK (apart from the obvious beta quality of KDE 4.0).

Eric
 
Old 05-24-2008, 02:19 PM   #5
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 58
I compiled KDE 4 on slackware using the information on the kde site http://techbase.kde.org/Getting_Started/Build/KDE4, I used the Qt 4 slackbuild from slackbuilds.org
 
Old 05-24-2008, 04:07 PM   #6
tuubaaku
Member
 
Registered: Oct 2004
Distribution: Slackware, Mint
Posts: 122

Rep: Reputation: 16
Quote:
Originally Posted by Alien Bob View Post
Why don't you tell what you did not like about those packages and what was the pain?
I have used them and found them quite OK (apart from the obvious beta quality of KDE 4.0).
For me, I'm not ready to wipe out KDE3.5 yet. I still need to use one or two programs that haven't been ported, and I like having a really stable KDE to fall back on if needed. So, I compile KDE4 myself in /opt/kde4. I would gladly try Robby's packages if they didn't take out KDE3.5...
 
Old 05-24-2008, 04:16 PM   #7
LordAnta
Member
 
Registered: Apr 2008
Location: Munich, Germany
Distribution: Slackware current
Posts: 128

Rep: Reputation: 18
Quote:
Originally Posted by Alien Bob View Post
Why don't you tell what you did not like about those packages and what was the pain?
I have used them and found them quite OK (apart from the obvious beta quality of KDE 4.0).

Eric
I used the kde4 packages on a Slackware 12. I had to remove qt and kde3 that came with the distro because they had issues with the kde4 packages (as it was told in a README file). And kde4 didn't work, altough a i have installed all the packages correctly (it was about a month ago).

The pain is that i had to remove the kde3, instead of running kde3 and kde4 togheter on the same system. With the compiled kde4, i have no problem

Don't get me wrong. I appreciate robby's effort the packages, i thank him for his contribution, but until the kde3 and kde4 packages can co-exist on Slack, i will still compile the latest sources from the KDE svn.
 
Old 05-26-2008, 03:05 AM   #8
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by LordAnta View Post
I didn't like those packages. A big pain .
I got the sources from the KDE svn + Qt 4.4 from kde, got their little script to do the compile, and after about 6-7 hours on my laptop, I compiled and ran KDE4 on my slack and on a debian 4.0 etch. It runs smooth, full of bugs of course, but it is very nice IMHO.

...
...
...


I used the kde4 packages on a Slackware 12. I had to remove qt and kde3 that came with the distro because they had issues with the kde4 packages (as it was told in a README file). And kde4 didn't work, altough a i have installed all the packages correctly (it was about a month ago).

The pain is that i had to remove the kde3, instead of running kde3 and kde4 togheter on the same system. With the compiled kde4, i have no problem

Don't get me wrong. I appreciate robby's effort the packages, i thank him for his contribution, but until the kde3 and kde4 packages can co-exist on Slack, i will still compile the latest sources from the KDE svn.

Could you please give us more informations? I mean about scripts, slackbuilds, or whatever you used and it worked.
 
Old 05-26-2008, 06:02 AM   #9
LordAnta
Member
 
Registered: Apr 2008
Location: Munich, Germany
Distribution: Slackware current
Posts: 128

Rep: Reputation: 18
First, i checkout from their svn, everything i need:

Code:
svn co svn://anonsvn.kde.org/home/kde/trunk/KDE/
cd KDE
svn co svn://anonsvn.kde.org/home/kde/trunk/qt-copy
svn co svn://anonsvn.kde.org/home/kde/trunk/extragear
svn co svn://anonsvn.kde.org/home/kde/trunk/playground
svn co svn://anonsvn.kde.org/home/kde/trunk/kdesupport
svn co svn://anonsvn.kde.org/home/kde/trunk/koffice
Checkout qt-copy only if you don't have qt 4.4 installed already.

Next, i use their script:
http://kdesvn-build.kde.org/releases...ld-1.6.tar.bz2
The archive contains 2 files:
  • .kdesvn-build.rc : this is the configuration file. Modify it after your own needs. It must be copied in your home directory
  • kdesvn-build: this is the script that takes care of the compilation.

I ussual run it:
Code:
  ./kdesvn-build --no-svn
Notice: the space ocuppied by the svn checkout is about 4.5 Gb.
After compilation, another 18-19GB is ocuppied by the build directory + almost 4 GB kde4 + qt.

On my laptop it takes about 6 hours to fully compile. Make a separate user, don't run as root: their was a bug that used to delete things .

I usually make weekly checkouts and compile the code over night.
This way i can have both kde3 and kde4 on the same box, with no conflicts. For now, IMO, it is the only way to have them both on the same box.

Also read:
http://techbase.kde.org/Getting_Star...KDE_4_sessions
and
http://techbase.kde.org/Getting_Star...E4_development

For any other questions, I am right here.

Last edited by LordAnta; 05-26-2008 at 06:07 AM.
 
Old 05-26-2008, 06:32 AM   #10
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 284

Original Poster
Rep: Reputation: 30
Great!
Thank you very much. It looks to be the right way to compile KDE, like PAT's slackbuild and KDE-options script in KDE source tree.
So, I think it is going to take me a long time...
I hope I will write you from my KDE 4 next time. ;-)
 
  


Reply



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
Trying to compile kde 3.4.2 on Etch. Problem: kde-config program not found Yury Debian 4 03-30-2010 04:32 PM
KDE 3.2.2 Won't Compile AFI_Flame Linux - Software 13 05-23-2004 06:51 AM
kde 3.2.2 compile jxn Linux - Newbie 2 04-24-2004 10:58 AM
Cannot Get KDE to compile raid517 Linux - Software 4 06-19-2003 08:37 AM
Before I compile KDE 3.1... cmckay Linux - Software 1 01-29-2003 07:08 PM

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

All times are GMT -5. The time now is 02:03 PM.

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