Поиск |
[software] [catdoc] [tcl] [geography] [old things] | |||||||||||||||||
fGIS installation instructionsBefore compiling and installing fGIS you should have working installation of Tcl/Tk 8.0Pre-alpha snapshots of fGIS source tree do not include correct install target in makefile. So, you must install it by hand. Source tree is organized such way that fGIS can be loaded directly from compilation directory. fGIS library directory should reside somewhere Tcl can find its packages i.e. as subdirectory of one of directories in tcl_pkgPath. Directory tree should have following structure: fgis | +-pkgIndex.tcl +-fgis.so (fgis.dll) +-fgis.rc +-tcl/ | | | +- various scripts | +--colors/ | | | +-color palettes (*.clr) | +--symbols/ | +-- symbol files (*.sym)fGIS initialization code uses some heuristics to find where its support files are located, but sureest method is to set Tcl variable fGIS_HOME to the top of fGIS library directory before loading dynamic library. your pkgIndex.tcl can look as package ifneeded Fgis 1.0 {set fGIS_HOME /usr/local/lib/fgis; load /usr/local/lib/fgis/fgis.so}
Directory tcl in fgis source tree contain two executable scripts -
More to follow soon.. |