User Tools

Site Tools


skycat

This is an old revision of the document!


Downloads

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

Then install required libraries:

user@host:~$ wget http://archive.eso.org/cms/tools-documentation/skycat-download/skycat-3.0.2.src.tar.gz
user@host:~$ sudo apt-get install tcl8.4-dev tk8.4-dev blt-dev itcl3.1-dev itk3.1-dev tclx8.4

Patching

user@host:~$ cd skycat-<version>/
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:

    BLT_LIBNAME=libBLT24${SHLIB_SUFFIX}
    BLT_LIBFLAG=-lBLT24

with

    BLT_LIBNAME=libBLT.2.4${SHLIB_SUFFIX}.8.4
    BLT_LIBFLAG=-lBLT

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

Make

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

Troubleshooting

Please write to petr@iaa.es, and attach error description.

skycat.1226589486.txt.gz · Last modified: 2008/11/13 00:00 (external edit)