1 Installation on UNIX systems 1.1 Direct installation from source 1.2 Installation via RPM 2 Installation on Windows systems 1 Installation on UNIX systems ============================== 1.1 Direct installation from source ----------------------------------- After unpacking the software change into the source directory and run ./configure make make install The following non-standard options are available for the configure script: --with-default-math-conversion=yes (default) --with-default-math-conversion=no For some data type conversions (i.e. from double to integer types and vice versa) you can choose to use either the builtin routines selected for typecasts by the compiler or fallback routines provided by the dk3ma module. Normally the default conversions using typecasts are the better choice. --with-ieee754-double=yes (default) --with-ieee754-double=no If the memory representation of double values is as described by IEEE 754 we can specify the maximum double value more precise than using the approximation 1.7e308. With this option enabled the configure script attempts to run a test program comparing some double values against their IEEE 754 conforming representation. --with-fallback-string-functions=no (default) --with-fallback-string-functions=yes For some functions from the dk3str module (i.e. dk3str_c8_cmp) we can use either the system function strcmp if available or a fallback function dk3str_c8_cmp_fb provided by the module. Normally the use of the system functions is the better choice. --with-lp-user=name --with-lp-group=name If you plan to use printqd and friends, these daemons should run under the same account as the LPRng print system itself. --with-rescue-only=yes --with-gui=no --with-gui=yes (default) You can restrict the build process to build and install only programs useful on a live system, or only the command line programs, or the full set of programs. The options --with-rescue-only and --with-gui are mutually exclusive. 1.2 Installation via RPM ------------------------ The archive contains *.spec files for Scientific Linux (should work on other Enterprise Linux clones too) and Fedora core. Copy the *.spec file to ~/rpmbuild/SPECS and the dktools-*.zip file to ~/rpmbuild/SOURCES. Change into the ~/rpmbuild/SPECS directory and run rpmbuild -ba dktools.spec You must be root to install the *.rpm file, change into the rpmbuild/RPMS/ directory and run rpm --force -Uhv dktools--.rpm dktools-debuginfo-.rpm 2 Installation on Windows systems ================================= Windows users should obtain dktools-win32-*.exe or dktools-win64-*.exe from the dktools project at SourceForge, see http://sourceforge.net/projects/dktools for the download. Run the installer and follow the instructions. See http://dktools.sourceforge.net/install.html for details about the installation process.