Changeset 3826 for trunk/pois/INSTALL
- Timestamp:
- May 2, 2005, 10:47:23 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/pois/INSTALL (modified) (2 diffs)
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 5 Setup $HOME/.jhbuildrc to install in (say) $HOME/JHB 6 7 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 8 9 I found that I needed to say 10 11 $ jhbuild boostrap 12 13 in order to get my autoconf macros recognised 14 15 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 16 17 $ jhbuild build pslib 18 19 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 20 21 Install 22 ac_pkg_swig.m4 ac_python_devel.m4 23 into 24 $HOME/JHB/share/aclocal 25 26 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- 27 28 To build/use the code, you'll have to source some script such as: 29 30 export JHTREE=$HOME/JHB/Linux 31 export PYTHONPATH=$HOME/Python:$HOME/Pan-STARRS/Pois/python:$HOME/Pan-STARRS/Pois/swig:$JHTREE/lib 32 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$JHTREE/lib 33 export PATH=$JHTREE/bin:$(echo $PATH | perl -pe "s|$JHTREE/bin||") 34 export PKG_CONFIG_PATH=$JHTREE/lib/pkgconfig:$PKG_CONFIG_PATH 35 hash -r 4 36 5 37 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- … … 7 39 To build from scratch: 8 40 9 ./autogen.sh --prefix=$ HOME/JHB/Tree41 ./autogen.sh --prefix=$JHTREE 10 42 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) 27 44 28 45 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Note:
See TracChangeset
for help on using the changeset viewer.
