Compiling and Installation |
docs.kde.org Search |
While binaries for several different platforms are available, the source is available to those who are interested. A benefit of compiling this program yourself is that you can optimize it for your own personal use.
To compile the source in the provided source tarball (fung-calc-x.x.x.tar.gz) first, untar it on the command line by typing: tar -zxf fung-calc-x.x.x.tar.gz
Then, go into the newly created directory, fung-calc-x.x.x, by typing: cd fung-calc-x.x.x
Now we need to prepare the build environment by executing the configure script. This is where you will disable or enable certain features.
If you want to build the Fung-Calc without 3D support, pass “--disable-glgraph” to configure. This also removes the dependencies on Mesa, GLU, and GLUT libraries.
To build Fung-Calc without KDE (Qt only), pass “--disable-kde-app” to configure. This removes the requirement of KDE.
Configure with no arguments will build the Fung-Calc with all features enabled.
./configure
The configure script will check for several required packages and set the environment to actually compile the software. When configure finishes with a message that it was successful, go on to compile the software by typing make.
If you are using a verison of Qt prior to 3.1 (or KDE prior to 3.1) type make clean before make This is caused by changes made to the UI files of Qt in version 3.1
Finally, if all went well, type make install as the root user.
If you have any problems with any part of this process, please email me at <mizunoami44@users.sourceforge.net> and include the version of the Fung-Calc you are using, what version of Qt or KDE you are using, the options passed to configure (if any), or any other information you feel appropriate in helping to solve the problem.