PREV UP NEXT The Ftape Tools Manual - Installation


2.2: Building and installing the programs

Please refer to the file `INSTALL' in the top level directory of the ftape-tools distribution. If you have autoconf installed on your system, then there is probably also an INFO manual that documents the general procedure how to compile and install a package with a GNU autoconf generated configuration script. See Running `configure' scripts (info file autoconf).

The following is a quotation from the `INSTALL' file:

  1. `cd' to the directory containing the package's source code and type `./configure' to configure the package for your system. If you're using `csh' on an old version of System V, you might need to type `sh ./configure' instead to prevent `csh' from trying to execute `configure' itself. Running `configure' takes awhile. While running, it prints some messages telling which features it is checking for.
  2. Type `make' to compile the package.
  3. Optionally, type `make check' to run any self-tests that come with the package.
  4. Type `make install' to install the programs and any data files and documentation.
  5. You can remove the program binaries and object files from the source code directory by typing `make clean'. To also remove the files that `configure' created (so you can compile the package for a different kind of computer), type `make distclean'. There is also a `make maintainer-clean' target, but that is intended mainly for the package's developers. If you use it, you may have to get all sorts of other programs in order to regenerate files that came with the distribution.

Another most notable make target is the uninstall target. Running

make uninstall

in either the top level directory of the distribution of one of its subdirectories will either uninstall the entire package or the part of it contained in that subdirectory.

However, it just doesn't work to re-configure the package to use different installation paths and then try to use make uninstall to de-install the package already installed under the old installation paths.

So, if you indeed configured something wrongly and accidentally called make install, then please run make uninstall first before you run configure again with modified installation paths.


ftape logo Use these buttons to jump to the top menu

TOP (previous node) TOP (parent node) TOP (next node) TOP (this node)