KDE 3.1rc6: The Final Candidate?

KDE 3.1rc6, which most likely will be the final KDE 3.1 release candidate (where have I heard that before?), is now
available for
. It incorporates all of the
security fixes from the security audit that delayed the release
of KDE 3.1
. KDE 3.1 is scheduled for packaging on January 13th, so
your mission, if you choose to accept it, is to run this release through
its paces to find any show-stoppers. To help compile it you might check
out Konstruct, a build system
which helps you to install KDE releases - it has been updated today for
the rc6 release. While its compiling you might hop
over to the draft
KDE 3.1 Requirements
page and notify me of any omissions or mistakes.

Dot Categories: 


by nate (not verified)

I am getting this same message on my FreeBSD 4.7 install.
I have read that LD_LIBRARY_PATH is a bad thing and im not
sure if i want it set on my system (yet).

Is there another way to run konstruct without setting
the LD_LIBRARY_PATH variable?

Again, here's my issue with konstruct:

$make install
"../../gar.conf.mk", line 66: Need an operator
"../../gar.conf.mk", line 74: Need an operator
Variable LD_LIBRARY_PATH is recursive.


by Anonymous (not verified)

Is that with or without GNU make? And if you're root, change /etc/ld.so.conf and run ldconfig (don't know what matches on FreeBSD) instead of setting LD_LIBRARY_PATH.

by nate (not verified)

Well, I'm following the Konstruct instructions as follows:



$ cd ~/dwnlds/konstruct
$ cd meta/everything; make install

I also tried to use GNU make.

$ cd ~/dwnlds/konstruct
$ cd meta/everything; gmake install

after I run gmake for over 4 hours, it gives me compiling errors, but I don't know where to look for the errors. Any ideas?

Is there a gmake log file somewhere that might enlighten me?


by James Richard Tyrer (not verified)

I note that if you get the current version of Java from Sun that it includes JSSE.

I would suggest that you should get at least GhostScript 7.0.5 (8.0 is available but it insn't GNU). Does KDE require: "libgs.so.x" and/or does it require an application named: "gs"?

I didn't see anything about FontConfig or Xft[2] -- the FCPackage.

Does anybody know about: "dnotify"? Can you use this? Does it do any good.?

by Stijn Buys (not verified)

dnotify is a linux 2.4.x kernel API for informing processes of reads/writes
to files. I compiled my kdelibs with this option and it seems it
makes konqueror hold a lock on directories you open with it.

As a result you can't umount /mnt/cdrom while having it open in a

Don't use it, install libfam and no such things will trouble you :)

by Rex Dieter (not verified)

I experienced exactly the opposite. In my case, it was fam that held locks on directories... and in the case of removable media (floppies, cdroms), I sometimes had to manually kill the fam process before I could unmount them.

The easier workaround (when I stuck to using fam) was to change konqueror to a different directory before closing it's window.

On a side note, I'm not sure if dnotify and fam are mutually exclusive, or even if these options even serve the same purpose (I *think* they are at least similar).

-- Rex

by not me (not verified)

Hey, has nobody noticed the second-to-last link in the article? (http://promo.kde.org/kde31_reqs.php) It is the often-requested list of every single library or external program that KDE needs or can use at compile time, complete with an explanation of the features enabled when KDE finds it! Thanks a lot Dre!

by Johan Veenstra (not verified)

I noticed it, it was mentioned a while ago in an other article. The only thing that is not clear to me about those 'requirements' is wether they are compile-time requirements or a mix of compile-time and run-time requirements.

If it's a mix, the page should show which ones are compile-time and which ones are run-time.

by Max Inglis (not verified)

That page seems to be broken... is there an updated link? I'm trying to build via konstruct, getting some errors, want to be sure of my libs etc...

max inglis

by Gralbe Able (not verified)

I've just compiled arts, libs, base and the one thing I notice is that it feels much faster than rc5 (I do *not* think rc5 was slow, btw).

Has anyone else noticed this or is it just the palcebo effect?

by socialEcologist (not verified)

I found it very quick too.
I have compiled KDE with specific gcc flags :
-fomit-frame-pointer -falign-functions=4 -fancy-math=387 -mcpu-i686 as recommended in konstruct and there is a big difference in speed with all previsous
So far everything is very stable using these flags...

Does someone know if I can safely compile QT with those options ?

by Muyfeo (not verified)


thanks for this RC. I only have the following problem.
Kdvi tends to freeze when reading a .dvi file. At the end, it does the job, but it takes too much time and in the meantime the machine is useless. Even the clock freezes.
The only message i get when running Kdvi it from the konsole is:

QObject::connect: No such slot infoDialog::setFontInfo(fontPool*)
QObject::connect: (sender name: 'Font Pool')
QObject::connect: (receiver name: 'Document Info')
QMetaObject::findSignal:KDVIMultiPage: Conflict with KMultiPage::numberOfPages(int)
kdecore (KAction): WARNING: KAction::insertKAccel( kaccel = 0x814de28 ): KAccel object already contains an action name "help_whats_this"
QMetaObject::findSignal:KViewPart: Conflict with KParts::Part::setStatusBarText(const QString&)

I'm using texstar's rpms of RC6, on a box with Mandrake 9.0

Thanks again for the excelent work!.
I hope this helps.


by obi (not verified)

the rpms are not texstars, although he links to them. They are build by lmontel.

by Caspian (not verified)

After compiling RC6 on my Slackware-current installation none of my screen-savers work anymore. Has anyone else had this problem?

The x-screen-saver collection is still installed in /usr/X11R6/lib/xscreensaver/... which isn't in my path, but why did it break just from upgrading to RC6 (from RC5)?

Aside from that thanks to all the developers! I love KDE and it seems like it keeps getting more useful every few weeks.

by Nick Sella (not verified)

I would like to get the screen savers from the gnome desktop to run on the KDE environment. Is that possible??

Thank you!

by Bill Kendrick (not verified)

I've been putting together a Debian box with KDE 3.0.5, trying to set it up as a kiosk system. (A public terminal to be available at a newspaper/magazine store here in Davis, California; once it's up, they've asked for another for a local Co-Op grocery store. In both cases, they're replacing older Windows/Netscape systems)

I've been eagerly awaiting 3.1, since everyone's been telling me the kiosk framework is much more polished. Yay! I hope this does it for me! :^)

Bill Kendrick
Linux Users' Group of Davis

by JC (not verified)

There are packages for slackware-8.1 on the ftp if some people didn't notice it yet.

by jhollett (not verified)

many thanks to whoever packages these kde packages for slackware...

on another note, the cut & paste functionality of kde3.1RC6 seems to be less reliable than the 3.0 series. i never know what's going to be pasted when i Ctrl-V. it usually isn't what is listed as the newest copy on klipper. also, with 3.0.x the cut & paste in regards to konsole was good. with 3.1RC6 it's somewhat out of control.

i've been using linux as my desktop exclusivly for 2+ years and i've never gotten a handle on the cut and paste usability.

still, kde rocks & many thanks to all who contribute....

by Ilan Finci (not verified)

I've tried using Konstruct (the tar konstruct-20030106.tar.bz2), and in the process of downloading things, two patches where not found (kdelibs's do-not-fail-fast-malloc.diff, and qt's auto-license.diff).
Are those diffs needed? If not - they should be removed from the Makefiles of Konstruct.

Other then this - this is a greate tool :)


by Anonymous (not verified)

They are in the files/ subdirectories of kdelibs and qt. You didn't delete the files/ directories yourself?

by Ilan Finci (not verified)

My mistake - I commented out the last line in gar.conf.mk, that added the local files (where the diffs are). I had some problems yesterday I thought where caused by it.

Working now.


by trenton (not verified)

Thanks, i made the same mistake. Your post saved me _a_lot_ of time.


by Simon (not verified)

I've hit the same problem, but I don't understand your explanation.

I downloaded all the .tar.bz2 source files to /usr/local/src/kde then added the line FILEDIR=/usr/local/src/kde to gar.conf.mk

When I build konstruct/kde I just get loads of errors along the lines of:

Location: ftp://kde.uk.themoes.org/pub/kde/stable/3.1.2/src/do-not-fail-fast-mallo... [following]
--20:55:12-- ftp://kde.uk.themoes.org/pub/kde/stable/3.1.2/src/do-not-fail-fast-mallo...
=> `download/do-not-fail-fast-malloc.diff'
Resolving kde.uk.themoes.org... done.
Connecting to kde.uk.themoes.org[]:21... connected.
Logging in as anonymous ... Logged in!
==> SYST ... done. ==> PWD ... done.
==> TYPE I ... done. ==> CWD /pub/kde/stable/3.1.2/src ... done.
==> PORT ... done. ==> RETR do-not-fail-fast-malloc.diff ...
No such file `do-not-fail-fast-malloc.diff'.

make[3]: *** [http//download.kde.org/stable/3.1.2/src/do-not-fail-fast-malloc.diff] Error 1
make[3]: Leaving directory `/usr/local/src/kde/konstruct/kde/kdelibs'
*** GAR GAR GAR! Failed to download download/do-not-fail-fast-malloc.diff! GAR GAR GAR! ***
make[2]: *** [download/do-not-fail-fast-malloc.diff] Error 1
make[2]: Leaving directory `/usr/local/src/kde/konstruct/kde/kdelibs'
make[1]: *** [dep-../../kde/kdelibs] Error 2
make[1]: Leaving directory `/usr/local/src/kde/konstruct/kde/kdeutils'
make: *** [build] Error 2

I've not deleted anything, whats going on.

by Anonymous (not verified)

Don't mess with FILEDIR! Read the README and *add* your source path to FILE_SITES.

by Simon Bazley (not verified)

Ah ok, that makes sense. However the README file doesn't say to add entries to the FILE_SITES. It implies you should replace the FILE_SITES variable all together (so I thought I was being clever only using the bit that appeared unused).

Thanks, perhaps the README should be made a bit clearer on this, I can't be the only person to have made this mistake.

by Anonymous (not verified)

> However the README file doesn't say to add entries to the FILE_SITES.

"FILE_SITES If you have already downloaded source tarballs add the path here."

> It implies you should replace the FILE_SITES variable all together.

Definitive not.

by Christian (not verified)

I had problem also with do-not-fail-fast-malloc.diff, it was because the program was not able to create a symlink on the file, probably because I unzipped and run konstruct on a fat32 partition.

by Jelio (not verified)

Starting from fat32 partition has generated the same error for me!
I moved the folder to ext3 and it skips the error!
Thank you for your help gays!

by Jelio (not verified)

I ment GUYS!
Really SORRY!

by Ross (not verified)

I also seem to have a problem with the do-not-fail-fast-malloc.diff file.

The FILE_SITES variable points to the correct directory and the file does exist on my drive. This is the o/p when I try to use konstruct to build kdelibs-3.1.4:

[===== NOW BUILDING: kdelibs-3.1.4 =====]
install -d download
==> Grabbing download/kdelibs-3.1.4.tar.bz2
==> Trying file//files/kdelibs-3.1.4.tar.bz2
make[3]: Entering directory `/konstruct/kde/kdelibs'
make[3]: *** [file//files/kdelibs-3.1.4.tar.bz2] Error 1
make[3]: Leaving directory `/konstruct/kde/kdelibs'
==> Trying file///home/crawford/kde3.1.4-sources/kdelibs-3.1.4.tar.bz2
make[3]: Entering directory `/konstruct/kde/kdelibs'
make[3]: Leaving directory `/konstruct/kde/kdelibs'
==> Grabbing download/do-not-fail-fast-malloc.diff
==> Trying file//files/do-not-fail-fast-malloc.diff
make[3]: Entering directory `/konstruct/kde/kdelibs'
make[3]: Leaving directory `/konstruct/kde/kdelibs'
[fetch] complete for kdelibs.
install -d cookies
==> Running checksum on kdelibs-3.1.4.tar.bz2
82c265de78d53c7060a09c5cb1a78942 download/kdelibs-3.1.4.tar.bz2
file kdelibs-3.1.4.tar.bz2 passes checksum test!
==> Running checksum on do-not-fail-fast-malloc.diff
9ec7379a27efa6bc738a1ddad0b92f4e download/do-not-fail-fast-malloc.diff
file do-not-fail-fast-malloc.diff passes checksum test!
[checksum] complete for kdelibs.
install -d work
==> Extracting download/kdelibs-3.1.4.tar.bz2
[extract] complete for kdelibs.
==> Applying patch download/do-not-fail-fast-malloc.diff
patch: not found
make[2]: *** [normal-patch-do-not-fail-fast-malloc.diff] Error 127
make[2]: Leaving directory `/konstruct/kde/kdelibs'
make[1]: *** [dep-../../kde/kdelibs] Error 2
make[1]: Leaving directory `/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2

"patch: not found" is reported above but its in the download/ directory!

Any ideas?

by Anonymous (not verified)

You're not missing not the patch file but the "patch" binary (usually /usr/bin/patch). Install the package of your distribution which contains it (likely called "patch") and you should be fine.

by Ross (not verified)

Hey thanks for your help :) but I'm still a bit confused.

I downloaded the patches from ftp://ftp.mirror.ac.uk/sites/ftp.kde.org/pub/kde/stable/3.1.4/src/ and the one which is having a problem is kdelibs-3.1.4.tar.bz2. Are you saying there should be a separate binary file for the .diff file and if so I can't find that?



by Anonymous (not verified)

Try "which patch", what does it tell? If it doesn't tell you a path you're missing the required program, called "patch", to apply patches.

by Ross (not verified)

ah ok. Thanks :)

I'm a bit further now...

While trying to configure Qt/X11 it falls over because it cannot find the qt_windows.h header file. Tried a google search for this file but couldn't get my hands on it.

Got a copy?

by Anonymous (not verified)

Qt/X11 doesn't need qt_windows.h. You didn't post the error and drew a wrong conclusion.

by Ross (not verified)

Sorry, here is the o/p:

[Crawford [email protected]]/konstruct/meta/kde:{55}:$ make install
[===== NOW BUILDING: kde-1 =====]
[fetch] complete for kde.
[checksum] complete for kde.
[extract] complete for kde.
[patch] complete for kde.
==> Building kde/kdebase as a dependency
make[1]: Entering directory `/konstruct/kde/kdebase'
[===== NOW BUILDING: kdebase-3.1.4 =====]
[fetch] complete for kdebase.
[checksum] complete for kdebase.
[extract] complete for kdebase.
[patch] complete for kdebase.
==> Building kde/kdelibs as a dependency
make[2]: Entering directory `/konstruct/kde/kdelibs'
[===== NOW BUILDING: kdelibs-3.1.4 =====]
[fetch] complete for kdelibs.
[checksum] complete for kdelibs.
[extract] complete for kdelibs.
[patch] complete for kdelibs.
==> Building libs/arts as a dependency
make[3]: Entering directory `/konstruct/libs/arts'
[===== NOW BUILDING: arts-1.1.4 =====]
[fetch] complete for arts.
[checksum] complete for arts.
[extract] complete for arts.
[patch] complete for arts.
==> Building libs/qt-x11-free as a dependency
make[4]: Entering directory `/konstruct/libs/qt-x11-free'
[===== NOW BUILDING: qt-x11-free-3.1.2 =====]
[fetch] complete for qt-x11-free.
[checksum] complete for qt-x11-free.
[extract] complete for qt-x11-free.
[patch] complete for qt-x11-free.
==> Running configure in work/qt-x11-free-3.1.2

This is the Qt/X11 Free Edition.

You are licensed to use this software under the terms of either
the Q Public License (QPL) or the GNU General Public License (GPL).

Type 'Q' to view the Q Public License.
Type 'G' to view the GNU General Public License.
Type 'yes' to accept this license offer.
Type 'no' to decline this license offer.

Do you accept the terms of either license?
Creating qmake. Please wait...
make[5]: Entering directory `/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/
g++ -c -o qglobal.o -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igene
rators/mac -I/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/include/qmake -I
/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/include -I/konstruct/libs/qt-
x11-free/work/qt-x11-free-3.1.2/include -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES
-DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/konstruct/libs/qt-x11-free/wor
k/qt-x11-free-3.1.2/mkspecs/cygwin-g++ /konstruct/libs/qt-x11-free/work/qt-x11-f
qt_windows.h: No such file or directory
/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/src/tools/qglobal.cpp: In
function `int qWinVersion()':
/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/src/tools/qglobal.cpp:190: er
ror: `
Qt' undeclared (first use this function)
/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/src/tools/qglobal.cpp:190: er
ror: (Each
undeclared identifier is reported only once for each function it appears
/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/src/tools/qglobal.cpp:190: er
ror: parse
error before `::' token
/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/src/tools/qglobal.cpp:205: er
ror: parse
error before `::' token
/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/src/tools/qglobal.cpp:210: er
ror: parse
error before `::' token
/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/src/tools/qglobal.cpp:216: er
ror: parse
error before `::' token
/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/src/tools/qglobal.cpp:218: er
ror: parse
error before `::' token
/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/src/tools/qglobal.cpp:220: er
ror: parse
error before `::' token
/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/src/tools/qglobal.cpp: At
global scope:
/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/src/tools/qglobal.cpp:235: er
ror: syntax
error before `::' token
make[5]: *** [qglobal.o] Error 1
make[5]: Leaving directory `/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/q
qmake failed to build. Aborting.
make[4]: *** [configure-work/qt-x11-free-3.1.2/configure] Error 2
make[4]: Leaving directory `/konstruct/libs/qt-x11-free'
make[3]: *** [dep-../../libs/qt-x11-free] Error 2
make[3]: Leaving directory `/konstruct/libs/arts'
make[2]: *** [dep-../../libs/arts] Error 2
make[2]: Leaving directory `/konstruct/kde/kdelibs'
make[1]: *** [dep-../../kde/kdelibs] Error 2
make[1]: Leaving directory `/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2

The reason I thought this was because of:

qt_windows.h: No such file or directory

which appears to be the first error above. The qglobal file at line 176 has a #include for qt_windows.h which isn't on my system.

Apologies for any confusion.

by Anonymous (not verified)

> -I/konstruct/libs/qt-x11-free/work/qt-x11-free-3.1.2/mkspecs/cygwin-g++

Qt's configure detects that it's running on CygWin. You don't try to do that, or? You didn't say anything about your system yet.

by Anonymous (not verified)

I have the exact same problem. I'm trying to install the free qt on windows XP, and it cant find qt_windows.h

by andout (not verified)

I have a same problem:
/cygdrive/c/cygwin/qt/qt-embedded/src/tools/qglobal.cpp:263:24: qt_windows.h: No
such file or directory.And I don't no to fix that.Can you help me?

by Moe Bigsley (not verified)

qt_windows.h can be found in any of the snapshots here:
Add it to your qt-x11-free-3.3.4/include directory

by Prabal (not verified)

I get a slightly different variant of the above problem :
(I'm installing KDE-3.2 on solaris8)

install -d work/kdelibs-3.2.0
==> Applying patch download/do-not-fail-fast-malloc.diff
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|--- work/kdelibs-3.2.0/configure 2003-11-30 14:18:30.000000000 +0100
|+++ tmp/kdelibs-3.2.0/configure 2003-12-01 20:18:09.000000000 +0100
File to patch:

% /usr/local/bin/patch -v
patch 2.5.4

Any clue on what's wrong ?


there is a problem with konstruct & that is it get's stuck while making kmail. i'm attaching the o/p for the review.it doesn't moves ahead of the last line. any suggestions for that ....

No reply!!!!!!!!!!!

Hello guyz i am having the same problem.

Doesn't any one have the solution to it?

Comeon man i want to compile kde 3.4 on my fedora...

by Rex Dieter (not verified)

KDE 3.1rc6 RedHat 7.3 RPMS are available.

for details.


-- Rex

by Ilan Finci (not verified)

I've compiled and run KDE 3.1RC6 (using kostruct, which is just greate), and I have one small problem:

When logging out, there is no option to save the session.

I've seen in the control panel the options for the session manager, but it seems to to change:

1. When I have the default, to start with previous session, some of the application I've started do not restart.
2. When having the option to start with a manully saved session, I don't see how I save the session I want to start with.

What do I miss?


by Anonymous (not verified)

The second option enables a "Save Session" in the K menu right beside "Lock Screen".

by Amit Shah (not verified)

I want the session manager to save a session by default while logging off... but still want to be able to manually save a session. How do I do this? Is there a command-line thing I can do to save a session?

by Anonymous (not verified)

dcop ksmserver default saveCurrentSession

by Anonymous (not verified)

On Solaris 9 :

# dcop ksmserver default saveCurrentSession

call failed


by dan tan (not verified)

Hi, Did you ever find the answer to your question? I am facing with the same problem. Thanks!