The K Desktop Environment

Next Previous Table of Contents

2. Installation

2.1 How to obtain KCalc

KCalc is part of the KDE project http://www.kde.org. KCalc can be found on ftp://ftp.kde.org/pub/kde/, the main ftp site of the KDE project. It's home site is http://math.cornell.edu/~wuebben/kde.html

2.2 Requirements

In order to successfully compile KCalc, you need the latest versions of libkdecore and libkdeui. All required libraries as well as KCalc itself can be found on ftp://ftp.kde.org/pub/kde/.

2.3 Compilation and installation

The usual:

% ./configure
% make
% make install

IMPORTANT: On a number of systems, including Linux systems using certain version of gcc (gcc-2.7.3 RedHat 5.0 for example) will not get a working version of kcalc unless you undefine the preprosessor symbol FABSL in

../config.h

that is change the line

#define FABSL

to

/*#define FABLS*/

However, this will give you greatly reduced precision; kcalc's fundamental data type will be double instead of long double. Complain to the gnu people or to your distribution and ask them to ship a working version of gcc.

Should you run into problems please report them to me.

Next Previous Table of Contents