IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 12157


Ignore:
Timestamp:
Mar 1, 2007, 2:46:14 PM (19 years ago)
Author:
eugene
Message:

adding instruction, updating psconfig.bash

Location:
trunk/psconfig
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/psconfig/INSTALL

    r11611 r12157  
    77different installed versions or to recompile subsets of the IPP tree.
    88
    9 NOTE: the psconfig.sh script uses the csh / tcsh shell. A bash version
    10 is not currently available. 
    11 
    12 ---
    13 
    14 Install Locations
     91. Set up the psconfig system.
     101.1 csh users
    1511
    1612To use the psconfig system, place the following line in your ~/.cshrc
     
    3127installations.
    3228
    33 Using psconfig to set / examine your install system:
     291.2 bash users
    3430
    35 psconfig: set or show the current pslib configuration information
    36 USAGE: psconfig (version) : set configuration to specified version
    37        psconfig --bin     : return the current path
    38        psconfig --libs    : return the current library path
    39        psconfig --list    : list currently availabe configuration versions
    40        psconfig --help    : this listing
     31Add the following line to your ~/.bashrc file:
    4132
    42 ---
     33alias psconfig="source PATH/psconfig.bash"
    4334
    44 Building
     35it is also necessary to edit the file psconfig.bash to set the INSTALL
     36variable to this directory as well.
     37
     382. Using psconfig to set / examine your install system:
     39
     40Before running or compiling the IPP, it is necessary to use psconfig
     41to set the installation version:
     42
     43psconfig (version)
     44
     45This command sets aliases and environment variables for the current
     46shell to point at the IPP installation labeled with the given version
     47name and hardware architecture.  For example:
     48
     49psconfig default
     50
     51will set the PATH to include ~/psconfig/default.linux/bin on a 32-bit
     52linux system, and the other paths to point at the corresponding
     53installation directories.
     54
     553. Dependencies
     56
     573.1. External C libraries
     58
     59The program 'pschecklibs' in this directory will check for required
     60system libraries and headers.  It examines the system libraries,
     61libraries defined by LD_LIBRARY_PATH, and the installation library
     62defined by psconfig.  Any missing dependencies will be listed.
     63Tarballs for these libraries may be found on the Pan-STARRS web site
     64at:
     65
     66http://pan-starrs.ifa.hawaii.edu/project/IPP/software/ext
     67
     68These should be installed so they will be available in the user's
     69path.  The psconfig commands can be used to install these libraries in
     70the psconfig location:
     71
     72'psautogen' replaces autogen.sh
     73'psconfigure' replaces configure
     74
     753.2 External Perl Modules
     76
     77The program 'pscheckperl' in this directory will check for required
     78Perl modules, and can be used to install them in the appropriate user
     79location in the psconfig system.  The command requires the name of an
     80IPP distribution, eg:
     81
     82pscheckperl ipp-1.0
     83
     84will test for the perl modules specified for the ipp 1.0 release.
     85if any modules are missing, they can be download from the Pan-STARRS
     86web site:
     87
     88http://pan-starrs.ifa.hawaii.edu/project/IPP/software/extperl
     89
     90The tarballs should be placed in a directory extperl parallel to the
     91ipp directory (two levels up from this directory).  If the tarballs
     92are in the correct location, they can be built by supplying the -build
     93flag to pscheckperl:
     94
     95pscheckperl ipp-1.0 -build
     96
     974. Building
    4598
    4699To build the full IPP tree using the psconfig system, run 'psbuild' in
    47 this directory, and provide a release version.  (NOTE: if you are
    48 building from a checked-out tarball, the CVS tags are not used, and
    49 you will not be able to use the update.
     100this directory, and provide a distribution name.  The distributions
     101define the set of IPP libraries and programs versions which go
     102together.  NOTE: If we provide a tarball, it is appropriate to a
     103specific version.  this should be automatically set as the default!
    50104
     105psbuild ipp-1.0
     106
  • trunk/psconfig/psconfig.bash

    r12150 r12157  
    1414
    1515version=$1
    16 #psconfigure=`/bin/csh $INSTALL/psconfig.sh --psconfigure $version`
    17 #psautogen=`/bin/csh $INSTALL/psconfig.sh --psautogen $version`
    18 #psperlbuild=`/bin/csh $INSTALL/psconfig.sh --psperlbuild $version`
    19 #alias psconfigure=$psconfigure
    20 #alias psautogen=$psautogen
    21 #alias psperlbuild=$psperlbuild
     16psconfigure=`/bin/csh $INSTALL/psconfig.sh --psconfigure $version`
     17psautogen=`/bin/csh $INSTALL/psconfig.sh --psautogen $version`
     18psperlbuild=`/bin/csh $INSTALL/psconfig.sh --psperlbuild $version`
     19alias psconfigure=$psconfigure
     20alias psautogen=$psautogen
     21alias psperlbuild=$psperlbuild
    2222
    2323# psconfig env variables
  • trunk/psconfig/tagsets/ipp-1.1.dist

    r12151 r12157  
    4242  YYYY  ippScripts      rel-1-0          -0
    4343  YYYY  glueforge       rel-1-0          -0
    44   NYYY  dbconfig        rel-1-1          -13
     44  NYYY  dbconfig        rel-1_1          _13
    4545  NYNN  ippdb.src                             
    4646  YYYY  ippconfig       rel-1-0          -0
    47   NYYY  ippTools        rel-1-1          -13
     47  NYYY  ippTools        rel-1_1          _13
    4848  YYYY  ippTasks        rel-1-0          -0
    4949  YYYY  simtest         rel-0-8          -0
Note: See TracChangeset for help on using the changeset viewer.