File: INSTALL

package info (click to toggle)
espresso 6.7-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 311,068 kB
  • sloc: f90: 447,429; ansic: 52,566; sh: 40,631; xml: 37,561; tcl: 20,077; lisp: 5,923; makefile: 4,503; python: 4,379; perl: 1,219; cpp: 761; fortran: 618; java: 568; awk: 128
file content (105 lines) | stat: -rw-r--r-- 3,231 bytes parent folder | download | duplicates (3)
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105

________________________________________________________________________

*** INSTALLATION instructions for PWgui ***
________________________________________________________________________


The PWgui package comes in two flavors: 

   (i)  STANDALONE EXECUTABLE, which runs out of the box (but works
	only on the platform for which it has been built)

   (ii) SOURCE PACKAGE

N.B.: for the usage of repository version of PWgui see file INSTALL.repository

________________________________________________________________________

(i) Installation instructions for STANDALONE EXECUTABLE
________________________________________________________________________

For zipped pwgui-xxx.zip package do:
	
	* unzip pwgui-xxx.zip

whereas for tar-gzipped pwgui-xxx.tgz package do either:

	* tar zxvf pwgui-xxx.tgz 
or: 
	* gunzip -c pwgui-xxx.tgz | tar xvf -

To launch the program type either: 
     
        * ./pwgui
or 
        * pwgui


The standalone executable is always available for Linux platform, and
occasionally also for Mac and Windows.


________________________________________________________________________

(ii) Installation instructions for SOURCE PACKAGE
________________________________________________________________________


To use the source package you need required Tcl software, in
particular Tcl + Tk + Itcl + Itk + Iwidgets. PWgui requires the Tcl/Tk
version 8.4 or later. You may install the software from your OS
distribution. 

For example, for GNU/Linux Debian-based distributions, execute as root
(or sudo):

   * apt-get update; apt-get install iwidgets4 

(this will install also tcl/tk/itcl/itk, because iwidgets depend on them).
On RedHat-based distributions, the analogous command is "yum". Hence:

   * yum install iwidgets

As for the Archlinux consider the following installation instructions
(due to Gonzalo Aguirre): neither itk nor iwidgets are in the official
repositories, so they should be obtained from the AUR using the
following recipe:

   * yaourt -S itk-cvs 
   * yaourt -S iwidgets

If an issue arises during the iwidgets installation, check where the
itk-cvs is installed (pacman -Ql itk-cvs) and specify the directory
explicitly while building the iwidgets package (e.g.:
--with-itk=/usr/lib/itk3.4)


Alternatively you may install ActiveTcl8.4 (which has all the required
software built-in) from:

   http://www.activestate.com/activetcl/downloads/

BEWARE: do not install the newer 8.5 or 8.6 version of ActiveTcl,
        because they do not contain all the needed software. The
        version 8.4 is mandatory !!!


Once your computer has all the needed software, your source package is
ready to run. You only need to untar the PWgui source tarball, i.e.:

   * gunzip -c PWgui-<version>.tgz | tar xvf -
or
   * tar zxvf  PWgui-<version>.tgz

where <version> stands for version number. To launch the PWgui
program, type: pwgui. 

You may add the PWgui root directory to your PATH. 

If you would like to copy "pwgui" launcher to some common place, such
as /usr/local/bin, then you need either to define PWGUI environmental
variable so that "pwgui" will be able to locate its root directory
(i.e. source files) or alternatively hardcode it into pwgui lanucher
itself.