$Header: /cvsroot/arsperl/ARSperl/INSTALLATION,v 1.10 2008/09/24 13:03:06 tstapff Exp $

    ARSperl - An ARS v2 - v5 / Perl5 Integration Kit

    Copyright (C) 1995-2008
	Joel Murphy, jmurphy@acsu.buffalo.edu
        Jeff Murphy, jcmurphy@acsu.buffalo.edu

    This program is free software; you can redistribute it and/or modify
    it under the terms as Perl itself. 
    
    Refer to the file called "Artistic" that accompanies the source distribution 
    of ARSperl (or the one that accompanies the source distribution of Perl
    itself) for a full description.
 
    Comments to:  arsperl@arsperl.org
                  (this is a *mailing list* and you must be
                   a subscriber before posting)

    Home Page: http://www.arsperl.org

---------------------------------------------------------------------------

This is a perl extension for Remedy's Action Request System. Remedy
Corporation, Action Request System, and AR System are trademarks of Remedy 
Corporation.

This extension is offered completely for free and without support
of any kind. Use at you own risk!  

PREPARATION

You will need to have these already installed: 

   o  ARS 5.x, 6.x or 7.x API libraries and includes (header files).
   o  Perl 5.x with the dynamic loading option compiled in.

TESTED OS'S

This extension has been successfully built and used under the following 
OS versions:

   o  Solaris 2.4 - 8
   o  Irix 6.2
   o  HPUX*
   o  WindowsNT, 2000, XP (But NOT win95)
   o  Linux (RH 7.3, 8.0)

Users of other OS's might encounted problems with compiling. We'd be 
interested in hearing about your experiences and if you got it working
under a new OS. 

BUILDING

To build the extension, change into the root directory of the distribution
and edit the Makefile.PL file. Change the following lines in it to point to
the location of your ARS API directory (e.g. /u/remedy/api/lib)

$ARSAPI = "/usr/ars/api";

Under Sunos 4.1.x, you will also need to add -lntc to $ARS_LIBS.
Under Irix 6.2, you will need to remove the -lnsl option from $ARS_LIBS.
Under HP-UX, you will need to build it statically into Perl.
Under WindowsNT you will need to insert the appropriate libraries
(arapi.lib and nts.lib) from the API kit included with NT Server, 
and the path to the include files, into Makefile.pl (or the resulting
Makfile).  

then execute the following comands:

> perl Makefile.PL
> make
> make install

The first command will construct a Makefile. 
The second comand will compile the source files.
The third command might require special (i.e. root) access if your
perl distribution is not owned by your userid.


