skycat
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
Previous revisionNext revision | |||
— | skycat [2009/05/11 02:04] – pkubanek | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Introduction ====== | ||
+ | |||
+ | This document is ment as a simple howto for installing [[http:// | ||
+ | |||
+ | The original version from Petr Kubanek was only for Ubuntu (08.10 and 09.04), now it's extended to Debian 4.0 Etch. | ||
+ | |||
+ | ====== Downloads ====== | ||
+ | |||
+ | From [[http:// | ||
+ | |||
+ | Then install required libraries: | ||
+ | |||
+ | * Ubuntu <= 08.10: | ||
+ | <code bash> | ||
+ | user@host: | ||
+ | user@host: | ||
+ | </ | ||
+ | |||
+ | * Ubuntu 09.04: | ||
+ | <code bash> | ||
+ | user@host: | ||
+ | user@host: | ||
+ | </ | ||
+ | * Debian: | ||
+ | <code bash> | ||
+ | user@host: | ||
+ | user@host: | ||
+ | </ | ||
+ | |||
+ | ====== Patching ====== | ||
+ | |||
+ | * Ubuntu & Debian: | ||
+ | <code bash> | ||
+ | user@host: | ||
+ | user@host: | ||
+ | user@host: | ||
+ | </ | ||
+ | |||
+ | You will get error (libBLT24), which is expected. Now edit // | ||
+ | |||
+ | < | ||
+ | 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 /// | ||
+ | |||
+ | * Seems as case only for Ubuntu 09.04 | ||
+ | |||
+ | You need to edit // | ||
+ | |||
+ | <code c++> | ||
+ | #include < | ||
+ | #include < | ||
+ | #include " | ||
+ | </ | ||
+ | |||
+ | Also edit // | ||
+ | |||
+ | <code c++> | ||
+ | // reverse the effect of bzero and bscale | ||
+ | double unScaleValue(double d) const {return (d-bzero_)/ | ||
+ | |||
+ | // return the size in bytes of a raw image pixel | ||
+ | int pixelSize() const {return abs((float) bitpix_)/ | ||
+ | |||
+ | // 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 ' | ||
+ | to | ||
+ | system=MP-RAS-`awk ' | ||
+ | (redundant single quote mark). | ||
+ | |||
+ | |||
+ | ====== Make ====== | ||
+ | |||
+ | * Debian, Ubuntu <= 08.10: | ||
+ | <code bash> | ||
+ | user@host: | ||
+ | user@host: | ||
+ | user@host: | ||
+ | </ | ||
+ | |||
+ | * Ubuntu 09.04: | ||
+ | <code bash> | ||
+ | user@host: | ||
+ | user@host: | ||
+ | user@host: | ||
+ | user@host: | ||
+ | </ | ||
+ | |||
+ | ====== Troubleshooting ====== | ||
+ | |||
+ | Please write to [[petr@iaa.es]], | ||
+ | |||
skycat.txt · Last modified: 2010/03/26 00:00 (external edit)