skycat
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| skycat [2009/05/11 00:48] – pkubanek | skycat [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| This document is ment as a simple howto for installing [[http:// | This document is ment as a simple howto for installing [[http:// | ||
| - | The original version from Petr Kubanek was only for Ubuntu 08.10, now it's extended to Debian 4.0 Etch and Ubuntu 09.04. | + | The original version from Petr Kubanek was only for Ubuntu 08.10, now it's extended to Debian 4.0 Etch, Debian 5.0 Lenny and Ubuntu 09.04. |
| ====== Downloads ====== | ====== Downloads ====== | ||
| Line 25: | Line 25: | ||
| <code bash> | <code bash> | ||
| user@host: | user@host: | ||
| - | user@host: | + | user@host: |
| </ | </ | ||
| Line 31: | Line 31: | ||
| * Ubuntu & Debian: | * Ubuntu & Debian: | ||
| + | If you installed tcl8.4: | ||
| <code bash> | <code bash> | ||
| user@host: | user@host: | ||
| user@host: | user@host: | ||
| user@host: | user@host: | ||
| + | </ | ||
| + | |||
| + | If you installed tcl8.5: | ||
| + | <code bash> | ||
| + | user@host: | ||
| + | user@host: | ||
| + | user@host: | ||
| </ | </ | ||
| Line 47: | Line 55: | ||
| < | < | ||
| - | BLT_LIBNAME=libBLT.2.4${SHLIB_SUFFIX}.8.4 | + | BLT_LIBNAME=libBLT${SHLIB_SUFFIX} |
| BLT_LIBFLAG=-lBLT | BLT_LIBFLAG=-lBLT | ||
| </ | </ | ||
| - | in case you have /// | + | Also if you installed tcl8.5, change 8.4 to 8.5 in //skycat/ |
| - | | + | <code bash> |
| + | exec wish8.5 $SKYCAT_BASE/ | ||
| + | </ | ||
| + | |||
| + | | ||
| You need to edit // | You need to edit // | ||
| Line 63: | Line 75: | ||
| </ | </ | ||
| - | Also edit // | + | Also edit // |
| <code c++> | <code c++> | ||
| Line 73: | Line 85: | ||
| // member access | // member access | ||
| + | </ | ||
| + | |||
| + | and in // | ||
| + | |||
| + | <code c++> | ||
| + | // Fix for Tk clipping coordinates to short range: See CanvasWindowCoordsNoClip() below. | ||
| + | #ifdef HAVE_TKCANVAS_H | ||
| + | #include " | ||
| + | #else | ||
| + | // The structure we need hasn't changed for a long time, so just include a local copy. | ||
| + | #include " | ||
| + | #define HAVE_TKCANVAS_H | ||
| + | #endif | ||
| + | </ | ||
| + | |||
| + | becomes | ||
| + | |||
| + | <code c++> | ||
| + | #ifndef MODULE_SCOPE | ||
| + | #define MODULE_SCOPE extern | ||
| + | #endif | ||
| + | |||
| + | // Fix for Tk clipping coordinates to short range: See CanvasWindowCoordsNoClip() below. | ||
| + | #ifdef HAVE_TKCANVAS_H | ||
| + | #include " | ||
| + | #else | ||
| + | // The structure we need hasn't changed for a long time, so just include a local copy. | ||
| + | #include " | ||
| + | #define HAVE_TKCANVAS_H | ||
| </ | </ | ||
| * Debian (seems to be not a problem in ubuntu?): | * Debian (seems to be not a problem in ubuntu?): | ||
| - | There is one more problem, you have to edit these files: | + | There is one more problem |
| ./ | ./ | ||
| ./ | ./ | ||
| Line 83: | Line 124: | ||
| ./ | ./ | ||
| - | There is an error in those files, you have to change | + | It is the redundant single quote mark (' |
| system=MP-RAS-`awk ' | system=MP-RAS-`awk ' | ||
| - | to | ||
| - | system=MP-RAS-`awk ' | ||
| - | (redundant single quote mark). | ||
| + | You can use this simple pipeline to repair it all: | ||
| + | <code bash> | ||
| + | for i in ./ | ||
| + | </ | ||
| ====== Make ====== | ====== Make ====== | ||
skycat.1242002929.txt.gz · Last modified: 2009/05/10 22:00 (external edit)