Contents|Index|Previous|Next

Installing send-pr by itself

Install send-pr by using the following steps (you may need root access in order to change the ‘aliases’ file and to install send-pr).

- Unpack the distribution into a directory which we refer to as srcdir.
- Edit the file ‘Makefile’ to reflect local conventions. Specifically, you should edit the variable, ‘prefix’, to alter the installation location. The default is ‘/usr/local’. All files are installed under ‘prefix’ (see the following paragraphs and examples).
- Run, using the following command.

    make all install [ info ] [ install-info ] [ clean ]

The targets mean the following:

- all builds send-pr and install-sid
- install installs the following:

- install-sid send-pr into ‘prefix/bin’
- send-pr. into ‘prefix/man/man1’
- site, the list of valid categories for the Support Site from which you received send-pr, installed as ‘prefix/lib/prms/site’
- send-pr.el into ‘ prefix/lib/emacs/lisp’

- info (optional) builds ‘send-pr.info’ from ‘send-pr.texi’ (‘send-pr.info’ is included with this release)
- install-info (optional) installs ‘send-pr.info’ into ‘ prefix/info’
- clean (optional) removes all intermediary build files that can be rebuilt from source code

- Run, using the following command.

    install-sid your-sid

your-sid is the identification code you received with send-pr.

send-pr automatically inserts this value into the template field, ‘>Submitter-Id:’. If you’ve downloaded send-pr from the Net, use ‘net’ for this value.

- Place the following line in your path pointing to ‘prefix/lib/emacs/lisp/default.el’, or instruct your users to place the following line in their ‘.emacs’ files:

    (autoload 'send-pr "send-pr" "Submit a Problem Report." t)

- Create a mail alias for the Support Site from which you received send-pr, and for every site with which you wish to use send-pr to communicate.

Each alias must have a suffix of ‘-prms’.

The Support Site(s) will provide the correct addresses where these aliases should point. For instance, edit your mail aliases file to contain something like the following lines.

    # support sites; for use with send-pr
    cygnus-prms:     bugs@cygnus.com           # Cygnus Solutions
    bumblebee-prms:  bumblebugs@bumblebee.com # Bumblebee Inc.
    mycompany-prms:  bugs@my.company.com (if you use prms locally)

send-pr automatically searches for these aliases when you use the following input.

    send-pr cygnus send-pr bumblebee send-pr site...

send-pr also uses site to determine the categories of problems accepted by the site in question by looking in the following location.

    prefix/lib/prms/site