Update for Linux documentation

33 views
Skip to first unread message

Josh Veitch-Michaelis

unread,
Jul 18, 2013, 9:19:31 PM7/18/13
to astro...@googlegroups.com
The current wiki says you need:

sudo apt-get install libcairo2-dev libnetpbm10-dev netpbm \
                       libpng12-dev libjpeg-dev python-numpy \
                       python-pyfits python-dev zlib1g-dev

However, on a bare Ubuntu install this will fail in two areas: you also need the cfitsio-dev and swig packages.  Once these are installed, you're cooking with charcoal.  I think it may help a few people if these are included in the apt-get list, i.e.

sudo apt-get install libcairo2-dev libnetpbm10-dev netpbm \
                       libpng12-dev libjpeg-dev python-numpy \
                       python-pyfits python-dev zlib1g-dev \
swig cfitsio-dev


Cheers,
Josh            

Dustin Lang

unread,
Jul 19, 2013, 9:42:00 AM7/19/13
to astro...@googlegroups.com

Thanks, updated!  I thought that when making releases I ran swig so that it wasn't required to build, but other have also reported that the makefiles try to re-run swig.  Argh.

--dstn

Reply all
Reply to author
Forward
0 new messages