Tcl-shp Code
Status: Beta
Brought to you by:
djeyre
| File | Date | Author | Commit |
|---|---|---|---|
| shapelib | 2006-10-04 | djeyre | [r1] Initial upload. |
| testdata | 2006-10-04 | djeyre | [r1] Initial upload. |
| LICENSE.LGPL | 2006-10-04 | djeyre | [r1] Initial upload. |
| README | 2006-10-04 | djeyre | [r1] Initial upload. |
| compile.sh | 2006-10-04 | djeyre | [r1] Initial upload. |
| install.sh | 2006-10-04 | djeyre | [r1] Initial upload. |
| pkgIndex.tcl | 2006-10-04 | djeyre | [r1] Initial upload. |
| tclshp.c | 2006-10-04 | djeyre | [r1] Initial upload. |
| tclshp.tcl | 2006-10-04 | djeyre | [r1] Initial upload. |
| test.tcl | 2006-10-04 | djeyre | [r1] Initial upload. |
| testdbf.tcl | 2006-10-04 | djeyre | [r1] Initial upload. |
| testshp.tcl | 2006-10-04 | djeyre | [r1] Initial upload. |
Building on Unix ---------------- 1) Build shapelib (see shapelib/README). You should just have to set a few variables, edit the Makefile, and run 'make'. For building on Solaris/x86 I would recommend using either the Sun Studio compiler or gcc and gld from /usr/sfw/bin. 2) Edit "compile.sh" file, and set CFLAGS, LD, and CC macros as required for the target system. Often the defaults will work fine. For building on Solaris/x86 I would recommend using either the Sun Studio compiler or gcc and gld from /usr/sfw/bin. 2) Run "sh compile.sh" 3) To test Tclshp.so, run: "tclsh test.tcl" 4) To install, edit install.sh to put in the correct install directory ($PREFIX), then run install.sh as a user that has permission to write to the directory you want it installed to.