Re: KDE 4.2 for Centos 5

George Galt <[email protected]> Thu, 29 Jan 2009 11:00:59 -0500
Newsgroups gmane.linux.kde.redhat.user
Message-ID <[email protected]>
On Thu, Jan 29, 2009 at 8:55 AM, Rex Dieter <[email protected]> wrote:
> Chris Kolik wrote:
>> thanks a lot for the work, but one small question, when will KDE 4.2 be
>> available for Centos 5.2?
>
> I'm aware of no one that is currently working on it, nor anyone's
> immediate plans to do so = no eta.
>
> I've been wanting to work on this for quite awhile, but haven't had the
> time or energy to do so.  There have been an enterprising person or two
> in the past who've gotten previous kde4 builds going on their el5 boxen,
> but those efforts haven't yielded anything that's consumable by other
> users or any kde-redhat repos yet.  I'd welcome any further news of
> progress on this.
>
> -- Rex
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> kde-redhat-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/kde-redhat-users
>


Chris:

I did some messing around with this on an old laptop with CentOS 5 and
KDE 4.0.2.  Here are my notes that I sent to Rex a while back.  It's
not for the faint of heart, but it can be done.

Also note that I built it in userland, it should actually be easier if
you install it as root.  I would also recommend doing it first on a
system that you don't care about (or have fully backed up).  FYI, some
of the "yum install-ed" dependencies listed below may no longer be
necessary.  Also, note that the instructions I followed (and have the
link to below) state that one has to compile a new kernel.  I did not
find this to be the case and the stock kernel worked fine (it was
supposed to be an issue with NetworkManager, IIRC), but take this with
a grain of salt.

Good luck.

George


> Rex:
>
> I worked off of this page for the most part:
> http://www.go2linux.org/forums/installing-kde-4-on-centos-t-7.html,
> but I ignored the first poster's instruction as he had little success.
>  Instead, I used the instructions provided by the second poster
> ("newuser" ).  I initially downloaded and compiled a new kernel, but I
> didn't install it figuring I would try with the latest CentOS kernel
> (2.6.18-53.1.21.el5 is what I'm running).  I set up a user and
> environment to build kde as described here:
> http://techbase.kde.org/index.php?title=Getting_Started/Build/KDE4, in
> particular, the .bashrc modification listed here:
> http://techbase.kde.org/Getting_Started/Increased_Productivity_in_KDE4_with_Scripts/.bashrc.
>  I made a few of the changes suggested by "newuser" in the go2linux
> forum post (above).
>
> Next, I compiled and installed Qt4.4 from Trolltech per their
> instructions.  Nothing unusual here.
>
> I then installed the suggested rpms via yum: yum install
> clucene-core-devel libxml-devel libxslt-devel \
> dbus-devel boost-devel bzip2-devel openssl-devel alsa-lib-devel \
> redland-devel rasqal-devel raptor-devel hspell-devel aspell-devel \
> cups-devel xine-lib-devel avahi-devel gamin-devel OpenEXR-devel \
> enchant-devel jasper-devel ilmbase-devel pcre-devel gpgme-devel \
> libxklavier-devel glib-devel libusb-devel libsmbclient-devel \
> libxcb-devel NetworkManager-devel lm_sensors-devel libraw1394-devel \
> bluez-libs-devel gcc-c++ libXext-devel cmake subversion giflib-devel \
> libpng-devel libXdamage-devel libXcomposite-devel libXrender-devel \
> fontconfig-devel libXft-devel libXcursor-devel libXfixes-devel \
> ruby-devel libXScrnSaver-devel libkdcraw-devel exiv2-devel \
> lcms-devel libtiff-devel sqlite-devel libxkbfile-devel \
> imlib2-devel patch gstreamer-plugins-base-devel
>
> Next, I installed clucene from Sourceforge:
> http://sourceforge.net/projects/clucene/ (FYI, the above yum command
> included clucene, but it isn't available).
> Then Strigi from Sourceforge: http://sourceforge.net/projects/strigi/
> Finally qimageblitz from Sourceforge:
> http://sourceforge.net/projects/qimageblitz/
>
> Then, I downloaded kdelibs, kdepimlibs and kdebase from the 4.0.4
> branches subversion server (FYI, strigi and qimageblitz also appear to
> be available in kdesupport, which I did not build)
> svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdelibs
> svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdepimlibs
> svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdebase
>
> compiled and installed in user land (not as root).  It seems to work
> well, though I'm missing several menu items (the most painful being
> for System Settings, but I can simply run it from the command line,
> I'll look into rebuilding the menus later).
>
> I'll try reinstalling as root, though it doesn't seem to be necessary
> at this stage.
>
> So far, no real issues, though I haven't really pushed the system
> much.  I'll play with it for a few days and let you know if anything
> unusual comes up.
>
> Please let me know if you have any questions.
>
> George
>

Rex:

Sorry to reply to myself, but this is just to let you know that I
finished installing the rest of KDE 4.0.4 today.  The files installed
were:

svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdeutils
svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdenetwork
svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdeadmin
svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdeartwork
svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdebindings
svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdeedu
svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdegames
svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdegraphics
svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdemultimedia
svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdetoys
svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdewebdev
svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdesdk
svn checkout svn://anonsvn.kde.org/home/kde/branches/KDE/4.0/kdeaccessibility

The only hitch was that kdebindings had to be installed as root
because it wanted to write some files to the directory where python is
located (I believe /usr/lib/python2.4).  There were several modules
that stated that some functionality was not being installed due to
missing files (things like libraries to handle a wider range of
archive files), but nothing that prohibited a successful compile and
install.  If you want me to go back and try to recreate what optional
files were missed, I can do that -- sorry I didn't catch it the first
time around.

G

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword