How-to compile KDE 4 - LinuxQuestions.org
LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Thread Tools
Old 05-24-2008, 11:46 AM   #1
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 283
How-to compile KDE 4


[Log in to get rid of this advertisement]
Does anybody compiled it?
How?
Could you link me to any kind of informations about compiling it?
Is it possible to modify PAT Slackbuild?
Harp00 is offline     Reply With Quote
Old 05-24-2008, 12:11 PM   #2
willysr
Member
 
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 579
http://kde4.rlworkman.net/
willysr is offline     Reply With Quote
Old 05-24-2008, 02:32 PM   #3
LordAnta
Member
 
Registered: Apr 2008
Distribution: Slackware 12.1, Slackware 12, Debian 4.0r2 Etch
Posts: 100
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.
LordAnta is offline     Reply With Quote
Old 05-24-2008, 02:54 PM   #4
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 2,271
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
Alien Bob is offline     Reply With Quote
Old 05-24-2008, 03:19 PM   #5
AceofSpades19
Danshell Admin
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: good ol' Slackware, CentOS 5.1
Posts: 2,008
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
AceofSpades19 is offline     Reply With Quote
Old 05-24-2008, 05:07 PM   #6
tuubaaku
Member
 
Registered: Oct 2004
Distribution: Slackware 12.0, some Ubuntu
Posts: 72
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...
tuubaaku is offline     Reply With Quote
Old 05-24-2008, 05:16 PM   #7
LordAnta
Member
 
Registered: Apr 2008
Distribution: Slackware 12.1, Slackware 12, Debian 4.0r2 Etch
Posts: 100
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.
LordAnta is offline     Reply With Quote
Old 05-26-2008, 04:05 AM   #8
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 283
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.
Harp00 is offline     Reply With Quote
Old 05-26-2008, 07:02 AM   #9
LordAnta
Member
 
Registered: Apr 2008
Distribution: Slackware 12.1, Slackware 12, Debian 4.0r2 Etch
Posts: 100
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 07:07 AM..
LordAnta is offline     Reply With Quote
Old 05-26-2008, 07:32 AM   #10
Harp00
Member
 
Registered: Jun 2003
Location: Venice Italy
Distribution: Slackware 12.0 kernel 2.6.21.5
Posts: 283
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. ;-)
Harp00 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 3 10-03-2007 02:31 AM
KDE 3.2.2 Won't Compile AFI_Flame Linux - Software 13 05-23-2004 07:51 AM
kde 3.2.2 compile jxn Linux - Newbie 2 04-24-2004 11:58 AM
Cannot Get KDE to compile raid517 Linux - Software 4 06-19-2003 09:37 AM
Before I compile KDE 3.1... cmckay Linux - Software 1 01-29-2003 08:08 PM


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

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Open Source Consulting | Domain Registration