Autoconf based installation

From CARMA
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
We have started to implement an autoconf based installation for Miriad. Briefly, after the source is in place, the install proceeds as follows:
+
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)
 
     setenv LIBTOOLIZE glibtoolize      (only needed on MacOSX)
     ./autogen.sh
+
     ./autogen.sh                       (only needed if you didn't get a tar ball with configure and Makefile.ac)
 
     ./configure --prefix=`pwd`/build    (this prefix is a suggested way of using it)
 
     ./configure --prefix=`pwd`/build    (this prefix is a suggested way of using it)
     make
+
     make                               (might need an extra -i flag if certain build options fail)
     make install
+
     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
 
after this, users can add Miriad to their shell by using
  
     source build/lib/miriad/automiriad.csh  
+
     source automiriad.csh
 +
 
 +
or using the backwards compatible
 +
 
 +
    source miriad_start.csh
  
 
though we will also maintain this via the old-style
 
though we will also maintain this via the old-style
  
 
     source /path/to/miriad/miriad_start.csh
 
     source /path/to/miriad/miriad_start.csh
 +
 +
  
 
For more information see also the file $MIR/install.MIR
 
For more information see also the file $MIR/install.MIR
 +
 +
A few things are currently not working yet:
 +
* WIP
 +
* RAD
 +
* some issues with (latex based) building of the manuals

Revision as of 12:40, 1 June 2008

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 a 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

   source miriad_start.csh

though we will also maintain this via the old-style

   source /path/to/miriad/miriad_start.csh


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

A few things are currently not working yet:

* WIP
* RAD
* some issues with (latex based) building of the manuals
Personal tools