IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 17404


Ignore:
Timestamp:
Apr 8, 2008, 11:01:55 AM (18 years ago)
Author:
eugene
Message:

update to reflect current build suite

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/INSTALL

    r12926 r17404  
    77installed versions or to recompile subsets of the IPP tree.
    88
    9 1. Set up the psconfig system.
    10 1.1 csh users
     90. Choose a target installation directory.
    1110
    12 To use the psconfig system, place the following line in your ~/.cshrc
    13 file:
    14 
    15 alias psconfig "source PATH/psconfig.csh"
    16 
    17 where PATH is the path to the file psconfig.csh in this directory
    18 (ipp/psconfig/psconfig.csh).
    19 
    20 The psconfig system places the installed binary files by default in
    21 directories below ~/psconfig.  To use a different location, place the
    22 following line in ~/.psconfigrc (otherwise not needed):
     11Choose a location to store the installed software and configuration
     12files.  The psconfig system places the installed binary files by
     13default in directories below ~/psconfig.  There will be one directory
     14for each version of the installation for a given hardware
     15architecture.  To use a different location, place the following line
     16in ~/.psconfigrc (otherwise, this is not needed):
    2317
    2418set PSCONFDIR = INSTALL_PATH
     
    2721installations.
    2822
    29 1.2 bash users
     231. Set up the psconfig system.
    3024
    31 Add the following line to your ~/.bashrc file:
     25If you have not previously installed the IPP suite, and do not the
     26psconfig scripts installed, you need to generate the scripts for your
     27install directory.  Run the following command in this directory
     28(ipp/psconfig):
    3229
    33 alias psconfig="source PATH/psconfig.bash"
     30psbuild -bootstrap INSTALL_PATH
    3431
    35 it is also necessary to edit the file psconfig.bash to set the
    36 PSCONFIG_DIR variable to this directory as well.
     32where INSTALL_PATH is the top-level directory for all binary
     33installations.  Then, follow the instructions supplied by that
     34command:
     35
     36** if you use csh, tcsh or equivalent as your shell, add the following to your .cshrc
     37    if (-e /home/kiawe/eugene/psconfig/psconfig.csh) then
     38      alias  psconfig        "source /home/kiawe/eugene/psconfig/psconfig.csh"
     39    else
     40      alias  psconfig        "echo psconfig not available"
     41    endif
     42    psconfig default
     43
     44** if you use sh, bash or equivalent as your shell, add the following to your .bashrc
     45    if [ -f /home/kiawe/eugene/psconfig/psconfig.csh ]; then
     46      alias psconfig='source /home/kiawe/eugene/psconfig/psconfig.bash'
     47    else
     48      alias psconfig='echo psconfig not available'
     49    fi
     50    psconfig default
     51
     52Though, in your case, "/home/kiawe/eugene/psconfig/" will be replaced
     53by the value of INSTALL_PATH.  After you have set up this alias, you
     54will need to source the .cshrc / .bashrc, or open a new shell, to have
     55these aliases available.
    3756
    38572. Using psconfig to set / examine your install system:
     
    55743. Dependencies
    5675
     76NOTE: It is possible to use the tools discussed below to manually check on the
     77external dependencies.  However, the psbuild system now allows you to
     78build the full suite including dependencies in a single pass.  To use
     79this method, skip to section 5.
     80
    57813.1. External C libraries
    5882
     
    6488at:
    6589
    66 http://pan-starrs.ifa.hawaii.edu/project/IPP/software/ext
     90http://pan-starrs.ifa.hawaii.edu/project/IPP/software/extlibs-2.5.tgz
     91http://pan-starrs.ifa.hawaii.edu/project/IPP/software/extperl-2.5.tgz
    6792
    6893These should be installed so they will be available in the user's
     
    78103Perl modules, and can be used to install them in the appropriate user
    79104location in the psconfig system.  The command defaults to the latest
    80 perl installation table (eg, tagsets/ipp-1.2.perl).
     105perl installation table (eg, tagsets/ipp-2.5.perl).
    81106
    82107pscheckperl
     
    98123
    99124To build the full IPP tree using the psconfig system, run 'psbuild' in
    100 this directory, and provide a distribution name.  The distributions
    101 define the set of IPP libraries and programs versions which go
    102 together.  NOTE: If we provide a tarball, it is appropriate to a
    103 specific version.  this should be automatically set as the default!
     125this directory:
    104126
    105 psbuild ipp-1.2
     127psbuild
     128
     129For additional information on using psbuild, see the listing of
     130options below (or type psbuild -help)
     131
     1325. Single-Pass Build with External Dependencies
     133
     134If you have not already done so, download the tarball with the
     135external libraries and perl modules from:
     136
     137http://pan-starrs.ifa.hawaii.edu/project/IPP/software/extlibs-2.5.tgz
     138http://pan-starrs.ifa.hawaii.edu/project/IPP/software/extperl-2.5.tgz
     139
     140It should be possible to build the full IPP installation by issuing
     141the single command in this directory (ipp/psconfig):
     142
     143psbuild -extbuild
    106144
    107145------
     146
     147More options for psbuild:
     148
     149USAGE: psbuild [options] (distribution)
     150     : -version (version) : specify alternate psconfig installation version
     151     : -verbose           : give additional information
     152     : -extlibs (tarball) : specify the location of the extlibs tarball
     153     : -extperl (tarball) : specify the location of the extlibs tarball
     154     : -extcheck          : check (but do not build) the external dependencies
     155     : -extbuild          : check and build (if needed) the external dependencies
     156     : -clean             : clean the source directories before building
     157     : -rebuild           : run 'configure (and autogen for developer)' (C code)
     158     : -optimize          : set flags for optimized code
     159     : -only (module)     : only build the specified module
     160     : -start (module)    : begin build at specified module
     161     : -stop (module)     : stop build after specified module
     162
     163     : -dev               : build modules not distributed in tarball
     164
     165     : psbuild -bootstrap : generate the psconfig scripts
     166     : psbuild -list      : list the available distributions
     167     : psbuild -h         : this help listing
     168     : psbuild -help      : this help listing
     169     : psbuild --help     : this help listing
    108170
    109171Summary of psconfig operations:
Note: See TracChangeset for help on using the changeset viewer.