Next: , Previous: Configure and make, Up: Installation



3.2 Installing the utilities

The following steps are necessary for a complete installation. You may need root access for these.

  1. Install the utilities by invoking
              make install install-info
         

    These targets indicate:

    install
    Installs all programs into their configured locations (see Where gnats lives).
    install-info
    Installs info files into their configured locations (see Where gnats lives).

    After you have installed gnats, you can remove the object files with

              make clean
         

  2. If you do not have Emacs installed on your gnats server, this step should be skipped.

    Place the following lines in the file default.el in your Emacs lisp library, or instruct your local responsible parties to place the lines in their .emacs:

              (autoload 'send-pr "gnats"
                 "Command to create and send a problem report." t)
              (autoload 'edit-pr "gnats"
                 "Command to edit a problem report." t)
              (autoload 'view-pr "gnats"
                 "Command to view a problem report." t)
              (autoload 'query-pr "gnats"
                 "Command to query information about problem reports." t)
              (autoload 'unlock-pr "gnats"
                 "Unlock a problem report." t)
              (autoload 'gnats-dbconfig-mode "gnats"
                "Major mode for editing the `dbconfig' GNATS configuration file." t)
              (add-to-list 'auto-mode-alist '("\\<dbconfig$" . gnats-dbconfig-mode))
         

  3. If you want people who are logged into the gnats server itself to be able to use the send-pr tool to submit problem reports, you need to create a configuration file for send-pr on the server. See The send-pr.conf configuration file.