Autoconf based installation

From CARMA
Revision as of 09:04, 18 March 2011 by Teuben (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

We have started to implement an autoconf based installation for Miriad. We refer to this as the new build style. Briefly, after the source is in place, the install proceeds as follows:

   setenv LIBTOOLIZE glibtoolize       (only needed on MacOSX)
   ./autogen.sh                        (only needed if you didn't get a tar ball with configure and Makefile.ac)
   ./configure --prefix=`pwd`/build    (this prefix is the suggested way of using it)
   make                                (might need an extra -i flag if certain build options fail)
   make install                        (might also need the -i flag again)
   install/make_miriad_starts          (this creates a backwards compatible set of miriad_start scripts in $MIR)

after this, users can add Miriad to their shell by using

   source automiriad.csh 

or using the backwards compatible (created by make_miriad_starts)

   source miriad_start.csh


For more information see also the file $MIR/install.MIR

A few things are currently not working yet:

* WIP
* RAD
* hkmiriad/zeno
* some issues with (latex based) building of the manuals

WIP might work as follows:

 cd $MIR/borrow/wip
 ./makewip -lib $MIRLIB -bin $MIRBIN -fc gfortran -pgplot $MIRLIB -copts -I$MIRINC/../pgplot-miriad-remix
Personal tools