Mercurial > hg > minc-tools
diff INSTALL.minc @ 2421:ba548427bede
* updated all my email addresses
* removed a (very) outdated TODO file
author | rotor <rotor> |
---|---|
date | Fri, 11 Jan 2008 04:24:16 +0000 |
parents | a5c29657c9dc |
children | 26b834cf2953 |
line wrap: on
line diff
--- a/INSTALL.minc +++ b/INSTALL.minc @@ -1,24 +1,17 @@ See INSTALL for generic installation instructions. - Shared or Static libraries? - --------------------------- - +Shared or Static libraries? +--------------------------- By default, only a static version (i.e. libminc.a) will be produced. A shared version of the library may be enabled using the configure flag "--enabled-shared". See also "--disable-static". - Finding NetCDF/HDF5 - ------------------- - -The NetCDF library - - http://www.unidata.ucar.edu/packages/netcdf/ - -must be built and installed before you can build MINC. - -Teaching MINC to find the NetCDF library depends on where -the latter is installed. There are two +Finding NetCDF/HDF5 +------------------- +The NetCDF and HDF libraries must be built and installed before you +can build MINC. Teaching MINC to find the NetCDF library depends on where +the latter is installed. There are two possibilities here: 1. NetCDF may be installed in a location where the compiler can find it. If so, you have nothing to do. @@ -27,32 +20,24 @@ live in /usr/local/include and the library file lives in /usr/local/include. The prefix may be something else; "/opt" is common, too. If this is the case, you should pass the argument -"--with-build-path=/usr/local" (substitute appropriate prefix) to -configure. +"--with-build-path=/usr/local" to configure. - Running configure - ----------------- - +Running configure +----------------- We not also need to tell configure that we want the build a MINC2 version of MINC so we need to add the --enable-minc2 argument to the configure line as below. If you dont use this option the HDF5 back-end of MINC will not be built and you will be left with what will essentially be a MINC 1.X build. -Now run configure with the arguments you have deduced above, if you -are a csh user you should type: - - sh ./configure --enable-minc2 <other options> - -If you are an educated bash/sh user, then you can just type: +Now run configure with the arguments you have deduced above ./configure --enable-minc2 <options> - compiling - --------- - +Compiling +--------- Now that things are configured all you need to do is run: make @@ -62,4 +47,9 @@ make install +Building against the MINC2 library +---------------------------------- +From here on in if you wish to build against the MINC2 library with +other packages you will have to use the --with-minc2 configure flag +