2010: Debian Lenny, MeqTrees 1.1
On Lenny, just proceed as per Ubuntu 8.10: BuildingTimba/UbuntuLinuxNotes.
Pre-2010 versions (Debian Etch, MeqTrees prior to 1.1)
This information is badly out of date, kept here for historical purposes only:
* Under Debian etch, virtually everything is available via apt, except aips++ (and blitz++, under amd64). This page was originally written when sarge (3.1) was the Debian stable. As of April 2007, etch has been released as stable, so there's little point in running sarge anymore, so I really recommend installing the etch packages,
* As of revision 4338 (20/12/2006), libtool versions restrictions have been lifted! (Prior to rev. 4338, you needed to install libtool-1.5.6 from stable, since newer libtools didn't work right. This has now been fixed, and you can install any version of libtool.)
Packages can come from sarge or etch as you prefer, though try not to mix them (e.g. I have found that "testing" autoconf is not compatible with "stable" m4, etc.). Since etch has been promoted to stable as of April 2007, I see no reason to use sarge anymore. Install the following packages.
make subversion g++-3.4 m4 autoconf automake1.9 libtool libcfitsio3-dev fftw3-dev blitz++ libqdbm-dev. You can also try g++-4.1 (as of revision 4338).
if running under amd64, skip the installation of blitz++ -- the Debian package is built without -fPIC, which makes it useless on amd64. Build your own blitz from source, it's easy: ./RequiredSoftware/BlitzBuildNotes.
python2.3-dev or python2.4-dev. Timba will work with either; if you're using Debian etch then I recommend 2.4.
- You need the lapack/blas libraries. These come in various flavours so things can get confusing, especially since both aips++ and python-numarray seem to require them.
for starters, install atlas3-base-dev atlas3-sse2-dev lapack3-dev and try to build aips++/Timba.
if that doesn't work, try lapack3 lapack3-dev refblas3 refblas3-dev.
For Python & co., you have a choice between the sarge and etch releases. The etch packages are more complete and consistent, and include PyQwt. The sarge branch still has a somewhat kludgy combination of packages, with a dependency on an older Qt lib. Now that etch has been promoted to stable, you should probably be using it by default.
So, if you're setting up a new system, install from etch: python-qwt4 python-qtext python-numarray-ext. This will bring in all required dependencies, including python-numarray python-numeric python-numpy python-qt3 python-sip4 python-sip4-dev libqwt4, etc.
- If you're sticking to the sarge branch for whatever reason, install:
python2.3-numarray python2.3-numarray-ext python2.3-numeric python2.3-qt3 python2.3-sip4-dev python2.3-sip4-qt3 sip4 libqwt4
but then you also have to download and build PyQwt from source.
Other recommended packages
ccache and distcc will really speed up your builds.
