| 1 |
Installation on Mac OS X |
| 2 |
------------------------ |
| 3 |
|
| 4 |
Last update to this file: Apr 10th 2006 |
| 5 |
|
| 6 |
Should be the same as for generic UNIX if libcpgplot and libpgplot are installed in |
| 7 |
'the usual places' |
| 8 |
|
| 9 |
i.e. |
| 10 |
|
| 11 |
perl Makefile.PL PREFIX=/home/me |
| 12 |
make |
| 13 |
make test |
| 14 |
sudo make install |
| 15 |
|
| 16 |
This will then be installed in to something like /Library/Perl/5.8.6/... |
| 17 |
|
| 18 |
I compile the pgplot libs with gfortran 4.0 and everything worked smoothly (except for some |
| 19 |
device drivers I didn't need) after some fiddling. |
| 20 |
|
| 21 |
Note if pgplot includes the Aquaterm driver you will need to add the following by hand |
| 22 |
to the link step in the Makefile generated by Makefile.PL - |
| 23 |
|
| 24 |
-lpng -laquaterm -Wl,-framework -Wl,Foundation |
| 25 |
|
| 26 |
Sorry! One day maybe I can figure out how to autodetect this cleanly. |
| 27 |
|
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
|