3 <TITLE>fGIS installation instruction</TITLE>
8 <H1>fGIS installation instructions</H1>
9 <B>Before compiling and installing fGIS you should have working
10 installation of Tcl/Tk 8.0</B>
12 Pre-alpha snapshots of fGIS source tree do not include correct
13 install target in makefile.
15 So, you must install it by hand. Source tree is organized such way that
16 fGIS can be loaded directly from compilation directory.
18 fGIS library directory should reside somewhere Tcl can find its packages
19 i.e. as subdirectory of one of directories in tcl_pkgPath.
21 Directory tree should have following structure:
34 | +-color palettes (*.clr)
38 +-- symbol files (*.sym)
42 fGIS initialization code uses some heuristics to find where its support
43 files are located, but sureest method is to set Tcl variable
44 fGIS_HOME to the top of fGIS library directory before loading dynamic
47 your pkgIndex.tcl can look as
49 package ifneeded Fgis 1.0 {set fGIS_HOME /usr/local/lib/fgis; load /usr/local/lib/fgis/fgis.so}
52 Directory tcl in fgis source tree contain two executable scripts -
53 <CODE>mapview</CODE> and <CODE>hypermap</CODE>. They are sample fGIS
54 applications. In Unix they can be easily moved to any directory in your
55 PATH - with correctly set up pkgIndex.tcl they'll find support files
56 anywhere. On windows they should be renamed to <CODE>mapview.tcl</CODE> and
57 <CODE>hypermap.tcl</CODE> so they could be started with double click.