User Tools

Site Tools


This is an old revision of the document!


This document is ment as a simple howto for installing ESO SkyCat Tool on Debian and Ubuntu systems. It surely is not comprehensive or authoritative, it's rather the simple description of “how we did it”. But it still may come in handy ;-).

The original version from Petr Kubanek was only for Ubuntu (08.10 and 09.04), now it's extended to Debian 4.0 Etch.


From Skycat download get skycat sources. As TclTk sources are included in Debian, you don't need them!

Then install required libraries:

  • Ubuntu ⇐ 08.10:
user@host:~$ wget
user@host:~$ sudo apt-get install tcl8.4-dev tk8.4-dev blt-dev itcl3.1-dev itk3.1-dev tclx8.4
  • Ubuntu 09.04:
user@host:~$ wget
user@host:~$ sudo apt-get install tcl8.5-dev tk8.5-dev blt-dev itcl3-dev itk3-dev
  • Debian:
user@host:~$ wget
user@host:~$ sudo apt-get install tcl8.4-dev tk8.4-dev blt-dev itcl3-dev itk3-dev tclx8.4 iwidgets4


  • Ubuntu & Debian:
user@host:~$ tar -xzf skycat-3.0.2.src.tar.gz
user@host:~$ cd skycat-3.0.2/
user@host:~$ ./configure --with-tcl=/usr/lib/tcl8.4/ --with-tk=/usr/lib/tk8.4/ --with-tkinclude=/usr/include/tcl8.4/  --with-blt=/usr/lib

You will get error (libBLT24), which is expected. Now edit tclutil/configure, find libBLT24 and replace this line:




in case you have /usr/lib/ If you have some different version, please use it.

  • Seems as case only for Ubuntu 09.04

You need to edit cat/generic/AstroQuery.h and put #include <string.h> to it, right after #include <cstdio>

#include <cstdio>
#include <string.h>
#include "WorldOrImageCoords.h"

Also edit astrotcl/generic/ImageIO.h, around line 307 should be:

    // reverse the effect of bzero and bscale
    double unScaleValue(double d) const {return (d-bzero_)/bscale_;}
    // return the size in bytes of a raw image pixel 
    int pixelSize() const {return abs((float) bitpix_)/8;}
    // member access
  • Debian (seems to be not a problem in ubuntu?):

There is one more problem, you have to edit these files:


There is an error in those files, you have to change the line

system=MP-RAS-`awk '{print }' /etc/.relid'`


system=MP-RAS-`awk '{print }' /etc/.relid`

(redundant single quote mark).


user@host:~$ ./configure --with-tcl=/usr/lib/tcl8.4/ --with-tk=/usr/lib/tk8.4/ --with-tkinclude=/usr/include/tcl8.4/  --with-blt=/usr/lib
user@host:~$ make all
user@host:~$ sudo make install


Please write to, and attach error description.

skycat.1242000065.txt.gz · Last modified: 2009/05/11 00:00 (external edit)