Autoconf based installation

From CARMA
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
     setenv LIBTOOLIZE glibtoolize      (only needed on MacOSX)
 
     setenv LIBTOOLIZE glibtoolize      (only needed on MacOSX)
 
     ./autogen.sh                        (only needed if you didn't get a tar ball with configure and Makefile.ac)
 
     ./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 the suggested way of using it)
 
     make                                (might need an extra -i flag if certain build options fail)
 
     make                                (might need an extra -i flag if certain build options fail)
 
     make install                        (might also need the -i flag again)
 
     make install                        (might also need the -i flag again)
Line 12: Line 12:
 
     source automiriad.csh  
 
     source automiriad.csh  
  
or using the backwards compatible
+
or using the backwards compatible (created by make_miriad_starts)
  
 
     source miriad_start.csh
 
     source miriad_start.csh
 
though we will also maintain this via the old-style
 
 
    source /path/to/miriad/miriad_start.csh
 
 
  
  

Revision as of 19:58, 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 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
* some issues with (latex based) building of the manuals
Personal tools