1
<?xml version="1.0" encoding="UTF-8"?>
2
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
"DTD/xhtml1-transitional.dtd">
4
<html xmlns="http://www.w3.org/1999/xhtml">
5
<!-- XML file produced from file: GPSManSHP.tex
6
using Hyperlatex v 2.6 (c) Otfried Cheong
7
on Emacs 21.3.1, Fri Jul 9 11:01:39 2004 -->
9
<title>gpsmanshp Home Page -- Downloading and Installation</title>
11
<style type="text/css">
12
.maketitle { align : center }
13
div.abstract { margin-left: 20%; margin-right: 10%; }
14
h3.abstract { align : center }
15
div.verse, div.quote, div.quotation {
23
<body background="backgr.gif">
24
<table width="100%" cellpadding=0 cellspacing=2><tr>
25
<td bgcolor="#99ccff"><a href="GPSManSHP_3.html"><img border="0" alt="Recent Changes" src="next.gif"></a></td><td bgcolor="#99ccff"><a href="GPSManSHP.html"><img border="0" alt="Top" src="up.gif"></a></td><td bgcolor="#99ccff"><a href="GPSManSHP_1.html"><img border="0" alt="Tcl Commands Implemented" src="previous.gif"></a></td><td align="center" bgcolor="#99ccff" width="100%"><b>Downloading and Installation</b></td></tr></table>
26
<h1>Downloading and Installation</h1>
27
<p>This package has been tested only under a Linux system. It is required
28
that <tt>shapelib</tt> (version 1.2.10 was the one used) is installed,
29
otherwise it cannot be compiled.
30
<p><tt>gpsmanshp</tt> and <tt>gpstr2shp.c</tt> are distributed under the
31
<a href="GPL.txt">GNU Public License</a> with absolutely no warranties.
33
<h2><a name="id1">Downloading</a></h2>
35
<tt>gpsmanshp</tt> can be downloaded as
37
<ul><li>a <a href="gpsmanshp_1.2.tgz">tar gzip archive</a>,
38
<li>a <a href="gpsmanshp_1.2.zip">zip archive</a>.
41
<ul><li>a <a href="gpsmanshp_1.1.tgz">tar gzip archive</a>,
42
<li>a <a href="gpsmanshp_1.1.zip">zip archive</a>.
43
<li>a <a href="gpsmanshp_1.1-1_i386.deb">Debian Linux package</a> for
44
use in PC platforms with <b>Tcl/Tk 8.4</b>,
45
<li>RPM packages for use in Red Hat and Mandrake Linux (check also
46
<a href="http://erizo.ucdavis.edu/~dmk/software/RPMS">David Kaplan's
48
RPMs for the <tt>shapelibe</tt> are available)
49
<ul><li><a href="gpsmanshp-1.1-0.fdr.1.i386.rpm">binary package</a> for
50
use in PC platforms with <b>Tcl/Tk 8.3</b>,
51
<li><a href="gpsmanshp-1.1-0.fdr.1.src.rpm">source package</a>
55
<p>Also available is <a href="gpstr2shp.c"><tt>gpstr2shp.c</tt></a>, a
56
program that translates GPStrans data files into Shapefile ones.
59
<h2><a name="id2">Installation</a></h2>
60
<p>The enclosed <a href="Makefile"><tt>Makefile</tt></a> defines <tt>TCLVERSION</tt>
62
<ul><li><tt>tclsh</tt> is called as <code>tclsh$(TCLVERSION)</code>,
63
<li>the Tcl include directory is
64
<code>/usr/include/tcl$(TCLVERSION)</code>,
65
<li>the Tcl library is <code>libtcl$(TCLVERSION)</code> and the <tt>shapelib</tt> library is <code>libshp</code>,
66
<li><code>/usr/lib/tcl$(TCLVERSION)</code> is in the Tcl pre-defined
67
list <code>$auto_path</code> (so that packages in this directory and its
68
sub-directories are visible from Tcl) and that this package will
71
<p>Using <tt>make</tt> will (in a Unix/Linux system) create the library
72
<code>gpsmanshp.so</code>, while <tt>make install</tt> creates the
73
corresponding Tcl index <code>pkgIndex.tcl</code> and copies these 2 files to
74
the installation directory, and <tt>make clean</tt> removes the binary
75
files and the index file.
76
<p><b>Warning for users of Tcl8.4</b> There is a bug in Tcl8.4.4 that
77
prevents the creation of the Tcl index <code>pkgIndex.tcl</code>. To avoid
80
the following <a href="tmp/package-8.3.tcl"><tt>package-8.3.tcl</tt></a> file (from
81
Tcl8.3) is needed, and should be used with this <a href="tmp/Makefile"><tt>Makefile</tt></a>.
83
<hr /><address>GPSManSHP WWW pages<br />©<a href="http://www.ncc.up.pt/~mig">Miguel
85
<code>mig_at_ncc.up.pt</code>, DCC-FC & LIACC,
86
Universidade do Porto, 2004</address><br />
87
<table width="100%" cellpadding=0 cellspacing=2><tr>
88
<td bgcolor="#99ccff"><a href="GPSManSHP_3.html"><img border="0" alt="Recent Changes" src="next.gif"></a></td><td bgcolor="#99ccff"><a href="GPSManSHP.html"><img border="0" alt="Top" src="up.gif"></a></td><td bgcolor="#99ccff"><a href="GPSManSHP_1.html"><img border="0" alt="Tcl Commands Implemented" src="previous.gif"></a></td><td align="center" bgcolor="#99ccff" width="100%"><b>Downloading and Installation</b></td></tr></table></body></html>