| 1 |
Prerequistes: |
| 2 |
------------- |
| 3 |
|
| 4 |
Astro::FITS::CFITSIO requires CFITSIO library version 4.3.0 or later. |
| 5 |
|
| 6 |
You do not need to install CFITSIO yourself. Astro::FITS::CFITSIO |
| 7 |
uses the Alien::CFITSIO module (avaliable on CPAN) to locate or |
| 8 |
install the CFITSIO library. |
| 9 |
|
| 10 |
Installation of Alien::CFITSIO ensures that CFITSIO is available, |
| 11 |
either by locating a locally installed version, or by automatically |
| 12 |
downloading and installing CFITSIO into a location private to |
| 13 |
Perl modules (it won't contaminate your environment). |
| 14 |
|
| 15 |
Installation Via A CPAN Client: |
| 16 |
------------------------------- |
| 17 |
|
| 18 |
Install as you would any other module, e.g. |
| 19 |
|
| 20 |
$cpan Astro::FITS::CFITSIO |
| 21 |
|
| 22 |
where $cpan may be cpan, cpanm, or cpm. |
| 23 |
|
| 24 |
Manual Installation: |
| 25 |
-------------------- |
| 26 |
|
| 27 |
1. Install Alien::CFITSIO from CPAN. |
| 28 |
|
| 29 |
2. perl Makefile.PL |
| 30 |
|
| 31 |
3. make |
| 32 |
|
| 33 |
4. make test |
| 34 |
|
| 35 |
5. If you want, compare the output of the testprog/testprog*.pl |
| 36 |
scripts to cfitsio's testprog.c. There is a small shell script - |
| 37 |
"runtests" - included to make this easier. |
| 38 |
|
| 39 |
6. make install |