File: verification.html

package info (click to toggle)
erlang-doc-html 1%3A11.b.2-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 23,284 kB
  • ctags: 10,724
  • sloc: erlang: 505; ansic: 323; makefile: 62; perl: 61; sh: 45
file content (158 lines) | stat: -rw-r--r-- 2,558 bytes parent folder | download
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- This document was generated using DocBuilder 3.3.3 -->
<HTML>
<HEAD>
  <TITLE>Installation Verification</TITLE>
  <SCRIPT type="text/javascript" src="../../doc/erlresolvelinks.js">
</SCRIPT>
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000" LINK="#0000FF" VLINK="#FF00FF"
      ALINK="#FF0000">
<CENTER>
<A HREF="http://www.erlang.se"><IMG BORDER=0 ALT="[Ericsson AB]" SRC="min_head.gif"></A>
</CENTER>
<A NAME="2"><!-- Empty --></A>
<H2>2 Installation Verification</H2>

<P>This chapter is about verifying your installation by performing
a few simple tests to see that your system is properly installed.
<A NAME="2.1"><!-- Empty --></A>
<H3>2.1 UNIX</H3>

<P>
<UL>

<LI>
 Start Erlang/OTP from the command line,
<BR>

<PRE>
  unix&#62; erl
  
</PRE>

Expect the following output:
<BR>

<PRE>
  Erlang (BEAM) emulator version 5.0.1 [threads]

  Eshell V5.0.1  (abort with ^G)
  1&#62;
  
</PRE>


</LI>


<LI>
 Start the GS-based toolbar from the Erlang shell, 
<BR>
<BR>

<PRE>
  1&#62; toolbar:start().
  2&#62;
  
</PRE>

and check that the toolbar window pops up.

<BR>
<STRONG>Note:</STRONG> The trailing full stop (<CODE>&#34;.&#34;</CODE>) is an end marker
for all commands in the Erlang shell, and must be entered for a 
command to begin execution.
<BR>

</LI>


<LI>
 Exit by entering the command <CODE>halt()</CODE>,
<BR>

<PRE>
  2&#62; halt().
  
</PRE>

which should end both the toolbar window and the command line window. 
<BR>

</LI>


</UL>
<A NAME="2.2"><!-- Empty --></A>
<H3>2.2 Windows</H3>

<P>
<UL>

<LI>
 Start Erlang/OTP by double-clicking on the Erlang shortcut icon on the
desktop.
<BR>
Expect a command line window to pop up with the following output,
<BR>

<PRE>
  Erlang (BEAM) emulator version 5.0.1 [threads]

  Eshell V5.0.1  (abort with ^G)
  1&#62;
  
</PRE>


</LI>


<LI>
 Start the GS-based toolbar from the Erlang shell, 
<BR>
<BR>

<PRE>
  1&#62; toolbar:start().
  2&#62;
  
</PRE>

and check that the toolbar window pops up.

<BR>
<STRONG>Note:</STRONG> The trailing full stop (<CODE>&#34;.&#34;</CODE>) is an end marker
for all commands in the Erlang shell, and must be entered for a 
command to begin execution.
<BR>

</LI>


<LI>
 Exit by entering the command <CODE>halt()</CODE>,
<BR>

<PRE>
  2&#62; halt().
  
</PRE>

which should end both the toolbar window and the command line window. 
<BR>

</LI>


</UL>
<CENTER>
<HR>
<SMALL>
Copyright &copy; 1991-2006
<A HREF="http://www.erlang.se">Ericsson AB</A><BR>
</SMALL>
</CENTER>
</BODY>
</HTML>