next up previous
Next: CVS Update Up: Installation of Miriad 4 Previous: BINARY INSTALLATION FOR LINUX

MAC OS X

For Mac OS X 10.4.* (tiger), a few things might be needed before running script install.miriad. Assuming that both X11 and X11SDK exist in the system, the following compilers might need to be installed prior compiling the Miriad codes:
1. gcc-3.* installed from Xcode (Developer package) and make
   a symbolic link /usr/bin/gcc to /usr/bin/gcc-3.*

2. g77 extracted from g77v3.4-bin.tar.gz.tar which can be downloaded from
   http://hpc.sourceforge.net/

3. make a symbolic link libcc_dynamic.a:
   /usr/lib/libcc_dynamic.a -> 
   /Developer/SDKs/MacOSX10.3.9.sdk/usr/lib/gcc/darwin/2.95.2/libcc_dynamic.a

4. add the following dynamic links to $MIR/src/sys/bin/compile.darwin:
   setenv Flinklib  "-lmir -llinpack -lpgplot -lX11 -lcc_dynamic -lm"
   setenv Clinklib  "-lmir -llinpack -lpgplot -lX11 -lf2c -lcc_dynamic -lm"

5. run the installation script with options
   install.miriad gfortran=1 telescope=sma
The installation works for the entire Miriad package including the SMA components.

Other useful web links for installing Miriad on a Mac OS X are:

http://cfa-www.harvard.edu/~rrao/miriad-osx/miriad-osx.html
http://www.astro.umd.edu/~teuben/miriad/macosx.html



Jun-Hui Zhao
2007-11-28