IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 3826


Ignore:
Timestamp:
May 2, 2005, 10:47:23 AM (21 years ago)
Author:
rhl
Message:

More thoughts

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pois/INSTALL

    r3813 r3826  
    1 You may have to update
    2     ac_pkg_swig.m4      ac_python_devel.m4 
    3 from Pan-STARRS GHQ.
     1$ cvs co jhbuild
     2
     3-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     4
     5Setup $HOME/.jhbuildrc to install in (say) $HOME/JHB
     6
     7-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     8
     9I found that I needed to say
     10
     11$ jhbuild boostrap
     12
     13in order to get my autoconf macros recognised
     14
     15-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     16
     17$ jhbuild build pslib
     18
     19-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     20
     21Install
     22        ac_pkg_swig.m4      ac_python_devel.m4
     23into
     24        $HOME/JHB/share/aclocal
     25
     26-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     27
     28To build/use the code, you'll have to source some script such as:
     29
     30export JHTREE=$HOME/JHB/Linux
     31export PYTHONPATH=$HOME/Python:$HOME/Pan-STARRS/Pois/python:$HOME/Pan-STARRS/Pois/swig:$JHTREE/lib
     32export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JHTREE/lib
     33export PATH=$JHTREE/bin:$(echo $PATH | perl -pe "s|$JHTREE/bin||")
     34export PKG_CONFIG_PATH=$JHTREE/lib/pkgconfig:$PKG_CONFIG_PATH
     35hash -r
    436
    537-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
     
    739To build from scratch:
    840
    9 ./autogen.sh --prefix=$HOME/JHB/Tree
     41./autogen.sh --prefix=$JHTREE
    1042
    11 (or wherever you requested jhbuild to install things)
    12 
    13 N.b. As configured, autogen requires that a binary "autoconf-2.59" be present,
    14 and even if your autoconf is 2.59, that's not good enough.  autogen has a
    15 similar problem.  Fix:
    16     perl -pi -e 's/(autoconf|autoheader)-2\.59/$1/' autogen.sh
    17 
    18 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    19 
    20 To use the code, you'll have to source some script such as:
    21 
    22 export PYTHONPATH=$HOME/Python:$HOME/Pan-STARRS/Pois/python:$HOME/Pan-STARRS/Pois/swig:$HOME/JHB/Tree/lib
    23 jhbin=$HOME/JHB/Tree/bin
    24 export PATH=$jhbin:$(echo $PATH | perl -pe "s|$jhbin||")
    25 hash -r
    26 unset jhbin
     43(note that you set JHTREE above)
    2744
    2845-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Note: See TracChangeset for help on using the changeset viewer.