1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
#
# $Id: INSTALL,v f112d1865eab 2009/09/11 16:26:32 nieves $
#
- Requirements
The following are required and must be installed:
Tcllib
- Installing from Packages
Binary packages exist for FreeBSD (tbz), CentOS (rpm) and Debian (deb).
Since tclmetar is written entirely in tcl and no compilation is involved,
the rpm packages should work anywhere rpm is the package management tool,
and similarly with deb packages.
The packages are available from the software section in
http://www.noaaport.net
which can be installed with the native package management tools
(e.g., rpm, pkg_add, dpkg).
- Installation using the Makefile
This boils down to executing
./configure.sh
make install-dirs
make install
inside the ``tclmetar'' distribution directory.
- Manual installation
Tclmetar is written entirely in tcl, so there is no compilation
involved. The package consists of a single file ``metar.tcl''
and the accompanying index file ``pkgIndex.tcl''.
Perhaps the best option is to create a directory ``tclmetar'' at the same
as the tcllib directory, and put both of the above files in that
directory.
The files can be saved anywhere, for example
/usr/local/lib/tcl_site
A script that will use the package can then add the line
lappend auto_path "/usr/local/lib/tcl_site"
before the ``package require metar'' and it will be found.
-
|