You may have to update
    ac_pkg_swig.m4      ac_python_devel.m4  
from Pan-STARRS GHQ.

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

To build from scratch:

./autogen.sh --prefix=$HOME/JHB/Tree

(or wherever you requested jhbuild to install things)

N.b. As configured, autogen requires that a binary "autoconf-2.59" be present,
and even if your autoconf is 2.59, that's not good enough.  autogen has a
similar problem.  Fix:
    perl -pi -e 's/(autoconf|autoheader)-2\.59/$1/' autogen.sh

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

To use the code, you'll have to source some script such as:

export PYTHONPATH=$HOME/Python:$HOME/Pan-STARRS/Pois/python:$HOME/Pan-STARRS/Pois/swig:$HOME/JHB/Tree/lib
jhbin=$HOME/JHB/Tree/bin
export PATH=$jhbin:$(echo $PATH | perl -pe "s|$jhbin||")
hash -r
unset jhbin

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

To be able to display images, ensure that ds9 and xpans are in your path (xpans
is a utility used to communicate with ds9)

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

When all is setup, say:

$ python
>>> import pois
>>> help(pois.run)
>>> pois.run(fileDir="data", verbose=3, display={'stamps':1, 'reference':1, 'subtracted':1})
