Here are the steps that you will need to take in order to install GNU Finger.
cshon an old version of System V, you might need to type `sh ./configure' instead to prevent
cshfrom trying to execute
configureshell script attempts to guess correct values for various system-dependent variables used during compilation, and creates the Makefile(s) (one in each subdirectory of the source directory). In some packages it creates a C header file containing system-dependent definitions. It also creates a file `config.status' that you can run in the future to recreate the current configuration. Running
configuretakes a minute or two. While it is running, it prints some messages that tell what it is doing. If you don't want to see the messages, run
configurewith its standard output redirected to `/dev/null'; for example, `./configure >/dev/null'. To compile the package in a different directory from the one containing the source code, you must use a version of make that supports the VPATH variable, such as GNU make. `cd' to the directory where you want the object files and executables to go and run
configureautomatically checks for the source code in the directory that
configureis in and in `..'. If for some reason
configureis not in the source code directory that you are configuring, then it will report that it can't find the source code. In that case, run
configurewith the option `--srcdir=DIR', where DIR is the directory that contains the source code. You can tell `configure' to figure out the configuration for your system, and record it in `config.status', without actually configuring the package (creating `Makefile' and perhaps a configuration header file). To do this, give
configurethe `--no-create' option. Later, you can run
./config.statusto actually configure the package for a particular host. This option is useful mainly in `Makefile' rules for updating `config.status' and `Makefile'. You can also give `config.status' the `--recheck' option, which makes it re-run
configurewith the same arguments you used before. This is useful if you change
configure. `configure' ignores any other arguments that you give it. If you want to install the GNU Finger configuration files somewhere other than `/usr/local/etc/fingerdir', then you should edit the files `./config.h' and `include/fingerpaths.h' now. You need to specify the alternate locations of where the configuration files will be kept. If you want to include the unsupported code for mugshots, then you should now also choose one of the face formats, as well as edit `lib/Makefile.in', `lib/site/Makefile.in', and `src/Makefile.in' to compile and link in the files necessary. If your system requires unusual options for compilation or linking that
configuredoesn't know about, you can give
configureinitial values for some variables by setting them in the environment. In Bourne-compatible shells, you can do that on the command line like this:
CC='gcc -traditional' DEFS=-D_POSIX_SOURCE ./configureThe `make' variables that you might want to override with environment variables when running
configureare: (For these variables, any value given in the environment overrides the value that `configure' would choose:)
in.cfingerd, as well as
fingerdon the server. If you want to, you can override the `make' variables
make CFLAGS=-O2 LDFLAGS=-s
in.cfingerd(port 2003) and
in.fingerd(port 79). If port 2003 is already used by something else, then read the section on Configuration Files for details on how to specify a port other than 2003 in the `/usr/local/etc/fingerdir/clients' file. A good name for the service is `cfinger'.
in.fingerdneeds to be run with UID
root. Consult your system documentation for details on how to do this.
in.cfingerdshould be run with UID
rooton System V derivatives.
fingerd. You should arrange to have
fingerdstarted every time the server host is rebooted. For exact details on how to do this, please refer to the server host's system documentation.
finger --face email@example.com
Now you're all set! You might like to read through the section on Configuration Files.
Go to the first, previous, next, last section, table of contents.