| 1 |
Installation |
| 2 |
------------ |
| 3 |
|
| 4 |
Last update to this file: Apr 10th 2006 |
| 5 |
|
| 6 |
1) First you must compile and install the pgplot graphics libraries: |
| 7 |
|
| 8 |
The source can be obtained from the ftp site astro.caltech.edu |
| 9 |
in directory /pub/pgplot. Alternatively see the home ftp sites |
| 10 |
above. To build pgplot you need a FORTRAN compiler - the free |
| 11 |
compiler GNU-77 (or the newer GFORTRAN) works just fine. There |
| 12 |
is a PGPLOT Home Page at: http://astro.caltech.edu/~tjp/pgplot/ |
| 13 |
|
| 14 |
2) Download and unpack the module. Then follow the standard Perl build |
| 15 |
procedure: |
| 16 |
|
| 17 |
perl Makefile.PL |
| 18 |
|
| 19 |
If you want to install somewhere other than the standard perl |
| 20 |
location (e.g. in your home directory) replace this line with |
| 21 |
something like: |
| 22 |
|
| 23 |
perl Makefile.PL PREFIX=/home/me |
| 24 |
|
| 25 |
make |
| 26 |
make test |
| 27 |
|
| 28 |
[When you run 'make test' you will be prompted for a graphics device. |
| 29 |
Try /XSERVE for a X11 display.] |
| 30 |
|
| 31 |
If something goes wrong read the file HELP, if everything works: |
| 32 |
|
| 33 |
make install |
| 34 |
|
| 35 |
If you want to install in the standard perl location you will need to |
| 36 |
do this as root. (e.g. 'sudo make install') |
| 37 |
|
| 38 |
If you used PREFIX above the files will install themselves |
| 39 |
in /home/me/lib/perl5/site_perl/... |
| 40 |
|
| 41 |
Then to use them you will need to set the environment variable PERL5LIB |
| 42 |
to point to this, e.g. for csh users: |
| 43 |
|
| 44 |
setenv PERL5LIB /home/me/lib/perl5/site_perl |
| 45 |
|
| 46 |
------------ |
| 47 |
|
| 48 |
See the file HELP for problem solutions. |
| 49 |
|
| 50 |
See the file INSTALL-Win32 for installation on Windows systems. |
| 51 |
|
| 52 |
See the file INSTALL-MacOSX for some Mac hints. |
| 53 |
|
| 54 |
|
| 55 |
|